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!"

o1 = [1] "Hello, world!"

o1 : RObject of type character

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/RInterface/doc/objects.m2:276:0.