Convert a M2 object into an R object
m2_parse(s)# S3 method for m2_integer
print(x, ...)
# S3 method for m2_float
print(x, ...)
# S3 method for m2_complex
print(x, ...)
# S3 method for m2_string
print(x, ...)
# S3 method for m2_boolean
print(x, ...)
# S3 method for m2_list
print(x, ...)
# S3 method for m2_array
print(x, ...)
# S3 method for m2_sequence
print(x, ...)
# S3 method for m2_symbol
print(x, ...)
# S3 method for m2_option
print(x, ...)
# S3 method for m2_hashtable
print(x, ...)
# S3 method for m2_module
print(x, ...)
m2_toggle_gmp()
get_m2_gmp()
an R object
a character(1), typically the result of running toExternalString on an M2 object
an object to be printed
...
D. Kahle, C. O'Neill, and J. Sommars (2020). "A Computer Algebra System for R: Macaulay2 and the m2r Package." Journal of Statistical Software, 93(9):1-31.