Macaulay2 » Documentation
Packages » RInterface » RContext » listSymbols(RObject)
next | previous | forward | backward | up | index | toc

listSymbols(RObject) -- list symbols in an R environment

Description

Returns a table of the symbols defined in an R environment. When given an RContext, the symbols in its associated environment are listed.

i1 : ctx = RContext "x <- 5L; y <- \"hello\""

o1 = ctx

o1 : RContext
i2 : listSymbols ctx

o2 = symbol  class      value
     ------  -----      -----      
     x       integer    [1] 5      
     y       character  [1] "hello"

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/context.m2:115:0.