Hi!
In those cases, I use R.utils::saveObject() and loadObject().
You would have to save each object separately though:
saveObject(x1, file="file.Rbin")
y <- loadObject(file="file.Rbin")
HTH
Ivan
--
Dr. Ivan Calandra
TraCEr, laboratory for Traceology and Controlled Experiments
MONREPOS Archaeo
Christofer Bogaso writes:
Hello
In case you have conflicting data issue when you load data, you can also do it
the other way around. Indeed you never know when a possible conflict might
occur in the future.
The following line load the data in a new environment e first then get it back
to your
Hi!
Maybe not the most elegant solution, but a workaround is to have a
function:
> save2<-function(y, ...) { save(y,...)}
> save2(x1,x2,file="test.RData")
The point is to include the variables to be "renamed" as parameters (in
my example: y). The function will use the parameter variable names wh
Hi,
Let say I have 2 objects as below
x1 = 1:3
x2 = 5:4
Now I want to save both x1 and x2 in some RData file, however x1 will be
saved with a different name e.g. y
I tried below
save(y = x1, x2, file = "file.RData")
However still they are saved in their original names i.e. x1 and x2, not y
an
4 matches
Mail list logo