Description Usage Arguments Examples
Function that either loads an Rdata file, or saves the result of a function call to the Rdata file.
1 2 |
... |
1 2 3 4 5 6 7 8 9 10 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
do.or.load('test.Rdata',function(x){
x<-1
y<-2
list('x.var'=x,'y.var'=y)
})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.