powered by
saveas(obj, name, path=".")
path
getobj
x <- 1:10 path <- tempdir() saveas(x, "myx", path) newfile <- paste(path, "/myx", ".RData", sep="") load(newfile) # myx now loaded unlink(newfile)
Run the code above in your browser using DataLab