Description Usage Arguments Value Author(s) References See Also Examples
This takes the R code as a string and evaluates it in the R session. The idea is that the code contains class and R function definitions and so we are "defining" them.
1 |
x |
a character vector or list of character vectors of R code |
where |
the environment in which the definition is to be assigned |
... |
additional parameters for methods to add |
This is used for its side effects of defining R objects and classes.
Duncan Temple Lang
The RGCCTranslationUnit pacakge.
genTUInterface
defStructClass
createRFunc
1 2 3 4 5 | tu.file = system.file("TU", "utsname", "utsname.c.001t.tu", package = "RGCCTUFFI")
code = genTUInterface(tu.file, pattern = "utsname|uname")
# now we can evaluate/load/define the code in this R session
define(code)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.