Displaying 20 results from an estimated 30000 matches similar to: "Can you save an installed library to an .RData file?"
2008 Oct 10
2
Fatal error: unable to restore saved data in .RData
Hello,
I am unable to start an R session by double-clicking on an existing
.RData file from the Windoze file explorer.
A dialogue appears with the message
"Fatal error: unable to restore saved data in .RData",
and I notice in the R Console the last few lines are:
"Loading required package: R2HTML
NULL
error in function () : unused argument(s) (1:43)"
I tried starting
2009 Jul 25
1
Deleting .RData files
Hi all! I have accidentially saved few objects when I have closed workspace
and clicked from "save workspace image" "Yes". Now I would like to delete
the .RData files so that workspace wouldnt restore the unwanted objects
everytime I open the workspace.
I know i could delete the corresponding .RData files but the problem is that
I don't know which of the files contain the
2006 Mar 29
3
load file RData which store in zip file
Dear R users,
My situation:
(1) I have limited workspace for my work harddisk (about 10 GiB).
(2) I have a lot of data files in R workspace (*.RData) which most of
them > 200 MiB. For some reason I zip some of them, for instance
"filename.RData (250 MiB)" to "filename.zip (3MiB)". In this work I
have a lot of more space of my harddisk.
Normally, If I want to use
2005 Oct 19
2
Error in opening .RData containing a genefilter object
Hi,
I discover that when I save a workspace containing a genefilter (pkg
from Bioconductor) object I cannot open no more after. I have to
restore the .RData file from a backup to be able to start R again.
I didn't upgrade to Version 2.2 but I'm not sure that it will solve the
problem.
Did anyone have encounter the same problem?
Below is a short r session to reproduce the error:
...
2009 Nov 26
1
Save workspace with ff objects
Hi All,
My script generates a mixture of normal and ff objects. I need to run the
script for different parameter settings. Very often I would like to save the
workspace for each parameter setting, so that I can get back to it later on.
Is there an easy way to do this, instead of needing to save individual ff
objects separately? I've tried the naive way of just saving the workspace,
only to
2006 Jan 18
2
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below).
This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2009 Apr 23
1
Failing to print mer object in an RData image
Hi all
I have problems in accessing a mer object called model.01 from a
workspace that was created with R 2.8.1 and saved with save into an
.RData file (on Windows XP or Ubuntu 8.10, don't remember anymore).
Now I want to open it in R 2.9.0 on Ubuntu 8.10. I use
# load workspace
load("name.RData")
which seems to work:
ls() # all objects in there
[1] "all"
2012 Jun 01
1
getting the name of the working .Rdata file
dear all,
I do not if it is a nonsense question..
Is it possible in the R session to get the name of the current .Rdata
file that I ran?
I mean: suppose I double click the file myfile.Rdata. ls() returns the
names of the objects in the current workspace (that is saved in
myfile.Rdata). In the current R session, I would like to obtain
"myfile.Rdata". Is it possible?
Thanks in
2008 Mar 27
4
Execute R with *.RData argument
Dear R developers,
i would like to start R with a *.RData argument under Linux.
Something like R -f /home/user/workspace.RData
Is this possible?
Thanks in advance for any answers.
--
View this message in context: http://www.nabble.com/Execute-R-with-*.RData-argument-tp16323374p16323374.html
Sent from the R help mailing list archive at Nabble.com.
2017 Oct 25
1
How to save and restore a workspace
Saving your workspace means that the variables you currently have defined in your session [ everything that shows up when you type ls() ] are saved to a file, by default named ?.RData?. To restore the workspace, you use the ?Load Workspace? command and navigate to the (same) .RData file. Its default location for Windows, as far as I know, is your ?Documents? folder. So look there.
I see that you
2007 Feb 12
1
'Save Workspace' gives "recursive default argument reference" -- workaround?
When signing off R or trying to save a workspace in Windows XP pro SP2,
I receive the following error message -
save.image("C:\\Program Files\\R\\R-2.4.1\\Responses3.RData")
Error in save.image("C:\\Program Files\\R\\R-2.4.1\\Responses3.RData") :
recursive default argument reference
Everything else seems to work fine, and the only function I have written
2004 Jun 17
1
problem with restore and some .RData
Hi,
I have problem with the restore function in some .RData using R 1.9.0
Look the error:
[ronaldo at zeus RAnalise]$ R
...
Error: object 'family' not found whilst loading namespace 'MASS'
Fatal error: unable to restore saved data in .RData
But if I load this .RData with the load() function all objects are recovered.
[ronaldo at zeus RAnalise]$ R --no-restore-data
...
> ls()
2010 Jul 07
3
Large discrepancies in the same object being saved to .RData
Hi developers,
After some investigation I have found there can be large discrepancies in the same object being saved as an external "xx.RData" file. The immediate repercussion of this is the possible increased size of your .RData workspace for no apparent reason.
The function and its three scenarios below highlight these discrepancies. Note that the object being returned is exactly
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's
using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just
reporting this out of interest in case anyone else has had this happen.
Starting R caused a seg fault shortly after "[Previously saved
workspace restored]". Running "R --no-restore-data" worked fine so I
suspected a corrupted
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's
using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just
reporting this out of interest in case anyone else has had this happen.
Starting R caused a seg fault shortly after "[Previously saved
workspace restored]". Running "R --no-restore-data" worked fine so I
suspected a corrupted
2008 Jun 12
1
save workspace while running R on a cluster
Hello,
I have a question about running R in a cluster environment. The shell script
I am running looks like this:
#!/bin/bash
cd /nfs/apollo/2/c2b2/users/mb0001/Data
/nfs/apollo/1/shares/software/core_facility/local/x86_64_rocks/R/current/bin/
R --save < calculate.R >& script.out
I have used the "-save" command to save the R workspace (If, I understand it
2008 Jan 08
1
use "save.image" inside a function?
Hi, All
I'm trying to save the workspace as a Check Point for
possible future come back. The "save.image" function
works if the whole coding is in a main function:
rm(list=ls())
t = 1
t = t+1
print(paste("before",t))
# [1] "before 2"
save.image("tt.RData")
t = t+1
print(paste("after",t))
# [1] "after 3"
2010 May 31
3
How to delete the previously saved workspace restored
Dear all,
I am a new user of R, here I have a question about remove the previous
restored workspace. I saved the workspace last time, but R always
automatically load the workspace when I open it. I try to remove the
object and then close R without saving. But next time when I open R, it
always load the previous workspace. I want to delete the .RData in the
directory, but I have no clue
2011 Dec 18
1
Saving nothing with save()
Scenario: Here I am working away in R. I've got results that prove
global warming is anthropogenic and also the solution for producing
limitless carbon-neutral energy from nuclear fusion. Its been a good
day.
So, I want to save my work. I don't want to overwrite my current
.RData, so I save it to another file:
save(file="prize.RData") # just need to email this to the Nobel
2017 Oct 23
0
How to save and restore a workspace
Hi Jon,
Saving your workspace doesn't mean that everything will be rerun when
you start a new R session. I just means that persistent objects like
data frames will be there. If you type:
objects()
you will see all of those things that were there when you ended in the
last session. Things like commands will be in the "history", so you
can retrieve them just as you did at the end of