| loadFile | R Documentation |
The function attempts to load a binary file, returning TRUE if
succeeded. Otherwise it returns FALSE.
loadFile(rDataFile, env = parent.frame())
rDataFile |
Character, RData file name |
env |
Environment, where should be the RData loaded into. By default it is loaded into the caller's environment. |
Logical, TRUE if the file was loaded successfully,
FALSE otherwise.
Jitao David Zhang <jitao_david.zhang@roche.com>
iofile can be used to find file from input data
directory.
rf <- tempfile()
myData <- c(3,4,5)
save(myData, file=rf)
env <- new.env()
stopifnot(loadFile(rf, env=env))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.