Macaulay2 » Documentation
Packages » RInterface » RObject » new RObject from String
next | previous | forward | backward | up | index | toc

new RObject from String -- create an R character vector from a string

Description

Converts a Macaulay2 String to an R character vector of length 1.

i1 : RObject "Hello, world!"

--error or time limit reached in conversion of output to net: type 'debugError()' to run it again; will try conversion to string

o1 = Hello, world!

o1 : RObject of type character

See also

Ways to use this method:


The source of this document is in RInterface/doc/objects.m2:276:0.