I suspect that loadmay be what you need, although I'm not sure. If you download data directly, there is no need to make a call for the data, as in:
mtcars2 <- mtcars
save(mtcars2, file="mtcars2.rda")
rm(mtcars2)
mtcars2
load("mtcars2.rda")
mtcars2
Now you need to use load(mtcars2.rda)from now on, and your data is there.
If you want to use data(), you may need to create a package with your data and download the package, and then use the data, although I'm not 100% sure about this.
source
share