Package: m2r 1.0.2

David Kahle

m2r: Interface to 'Macaulay2'

Persistent interface to 'Macaulay2' <http://www.math.uiuc.edu/Macaulay2/> and front-end tools facilitating its use in the 'R' ecosystem. For details see Kahle et. al. (2020) <doi:10.18637/jss.v093.i09>.

Authors:David Kahle [aut, cph, cre], Christopher O'Neill [aut, cph], Jeff Sommars [aut, cph]

m2r_1.0.2.tar.gz
m2r_1.0.2.zip(r-4.5)m2r_1.0.2.zip(r-4.4)m2r_1.0.2.zip(r-4.3)
m2r_1.0.2.tgz(r-4.4-x86_64)m2r_1.0.2.tgz(r-4.4-arm64)m2r_1.0.2.tgz(r-4.3-x86_64)m2r_1.0.2.tgz(r-4.3-arm64)
m2r_1.0.2.tar.gz(r-4.5-noble)m2r_1.0.2.tar.gz(r-4.4-noble)
m2r_1.0.2.tgz(r-4.4-emscripten)m2r_1.0.2.tgz(r-4.3-emscripten)
m2r.pdf |m2r.html
m2r/json (API)
NEWS

# Install 'm2r' in R:
install.packages('m2r', repos = c('https://coneill-math.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/coneill-math/m2r/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

5.23 score 5 stars 34 scripts 165 downloads 88 exports 72 dependencies

Last updated 4 years agofrom:9bd066c03e. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64NOTENov 06 2024
R-4.5-linux-x86_64NOTENov 06 2024
R-4.4-win-x86_64OKNov 06 2024
R-4.4-mac-x86_64OKNov 06 2024
R-4.4-mac-aarch64OKNov 06 2024
R-4.3-win-x86_64OKNov 06 2024
R-4.3-mac-x86_64OKNov 06 2024
R-4.3-mac-aarch64OKNov 06 2024

Exports:dimensionedit_r_environenter_m2factor_nfactor_n.factor_polyfactor_poly.gbgb_gb_.gb.get_m2_conget_m2_connectionget_m2_gmpget_m2_pathget_m2_portget_m2_procidhas_m2_connectionidealideal_ideal_.ideal.is.m2is.m2_arrayis.m2_grobner_basisis.m2_idealis.m2_ideal_listis.m2_ideal_list_pointeris.m2_ideal_pointeris.m2_listis.m2_matrixis.m2_matrix_pointeris.m2_moduleis.m2_optionis.m2_pointeris.m2_polynomialringis.m2_polynomialring_pointeris.m2_sequenceis.ringLLLLLL.m2m2_coefringsm2_existsm2_getwdm2_kernelm2_kernel.m2_lengthm2_lsm2_matrixm2_matrix.m2_metam2_meta<-m2_namem2_name<-m2_numcolsm2_numrowsm2_parsem2_rmm2_structurem2_termordersm2_toggle_gmpm2.m2r_cloud_urlm2r_version_numbermixed_volumeprimary_decompositionprimary_decomposition.quotientquotient.radicalradical.reset_m2ringring_ring_.ring.saturatesaturate.set_m2_pathsnfsnf.solve_systemsolve_system.start_m2stop_m2str_m2use_ring

Dependencies:askpasscachemclicliprcolorspacecpp11crayoncredentialscurldescdplyrfansifarverfastmapfsgenericsgertggplot2ghgitcredsgluegmpgtablehttr2iniisobandjsonlitelabelinglatticelifecyclemagrittrMASSmathjaxrMatrixmemoisemgcvmpolymunsellnlmeopensslorthopolynompartitionspillarpkgconfigplyrpolynompurrrR6rappdirsrbibutilsRColorBrewerRcppRdpackrlangrprojrootrstudioapiscalessetsstringistringrsystibbletidyrtidyselectusethisutf8vctrsviridisLitewhiskerwithryamlzip

A computer algebra system for R: Macaulay2 and the m2r package

Rendered fromm2r.pdf.asisusingR.rsp::asison Nov 06 2024.

Last update: 2019-02-19
Started: 2018-08-22

Readme and manuals

Help Manual

Help pageTopics
Enter a Macaulay2 sessionenter_m2
Factor an integer into primesfactor_n factor_n.
Factor a polynomialfactor_poly factor_poly.
Compute a Grobner basis with Macaulay2gb gb. gb_ gb_.
Create a new ideal in Macaulay2*.m2_ideal +.m2_ideal ==.m2_ideal dimension ideal ideal. ideal_ ideal_. primary_decomposition primary_decomposition. print.m2_ideal print.m2_ideal_list quotient quotient. radical radical. saturate saturate. ^.m2_ideal
Macaulay2 object testsis is.m2 is.m2_array is.m2_grobner_basis is.m2_ideal is.m2_ideal_list is.m2_ideal_list_pointer is.m2_ideal_pointer is.m2_list is.m2_matrix is.m2_matrix_pointer is.m2_module is.m2_option is.m2_pointer is.m2_polynomialring is.m2_polynomialring_pointer is.m2_sequence is.ring
LLL algorithmLLL LLL.
Call and reset a Macaulay2 processhas_m2_connection m2 m2. m2r_cloud_url m2r_version_number m2_call print.m2_pointer reset_m2 start_m2 stop_m2
Create a new matrix in Macaulay2m2_kernel m2_kernel. m2_length m2_matrix m2_matrix. m2_numcols m2_numrows print.m2_image print.m2_matrix
Convert a M2 object into an R objectget_m2_gmp m2_parse m2_parser m2_toggle_gmp print.m2_array print.m2_boolean print.m2_complex print.m2_float print.m2_hashtable print.m2_integer print.m2_list print.m2_module print.m2_option print.m2_sequence print.m2_string print.m2_symbol
Set path to Macaulay2 (M2)get_m2_con get_m2_connection get_m2_path get_m2_port get_m2_procid m2_path set_m2_path
Utility tools for M2m2_exists m2_getwd m2_ls m2_meta m2_meta<- m2_name m2_name<- m2_rm m2_structure m2_utility
Macaulay2 in Rm2r package-m2r
PHCpackmixed_volume phc solve_system solve_system.
Create a new ring in Macaulay2m2_coefrings m2_termorders print.m2_polynomialring ring ring. ring_ ring_.
Smith normal formsnf snf.
Give the structure of a Macaulay2 ringstr_m2
Set Macaulay2 ringuse_ring