Last chance! 50% off unlimited learning
Sale ends in
## Demonstration using a temporary file
## (For real applications, use a permanent file in your own filespace)
myfile <- paste0(tempdir(), .Platform$file.sep, "mydata.rda")
reload.or.compute(myfile, {
# some very long computation ending with ..
x <- 42
y <- sqrt(x)
})
Run the code above in your browser using DataLab