Displaying 20 results from an estimated 30000 matches similar to: "managing .RData"
2001 May 11
1
Managing R objects with 'make'
I frequently use Makefiles to manage routine data manipulations
and repeated analyses where the "raw" data tend to change
with time. With S/Splus, this has worked quite naturally, as
long as I'm careful to use S object names that map directly
to Unix/Linux filenames.
For example, say I'm building a particular graphic (chart.ps)
from a data.frame in S (mydata) that comes from an
2004 Jan 20
3
Changing workspace from within an R session
Hello R-users,
is it possible to navigate from one workspace to the other from within an R
session or does one has to close R and restart it from the directory where
resides the desired workspace?
For example from Splus I have this little function, see at the end, which I
used all the time to navigate between valid Splus directories. I find this
particularly usefull when I develop new
2009 Jul 15
1
loading multiple .Rdata and preserving variable names
Dear R-users,
I need to load outputs from multiple previous calculations into one R
session for comparison and (cross-)analysis. The previous calculations are
stored in different directories in .Rdata files (I don't know if this is the
best storage for later usage, but the previous project could be recalculated
and saved into different format, if needed, potentially.)
I can load consequently
2013 Apr 25
1
Make R 3.0 open .RData files
Hello!
I have Windows 7 Enterprise and two versions of R installed: 2.15.3 and
3.0.0.
Before I had R 3.0 I made it a setting that all .RData files - when I
double-click on them - were opened by R 2.15.3.
Now I want them to be opened by R 3.0 instead of R 2.15.3 (but I don't want
to remove R 2.15.3. yet).
I right-click on some .RData file, select "Open with" - "Choose default
1999 Nov 27
1
.Rprofile results in corruption of .RData? (PR#346)
It could be that the following may be due to something wrong that I managed
to do (I cannot think what...) but I submit this report in case it is something
that you want to know about (I have solved the problem by removing .Rprofile as
I describe below).
1. After compiling/installing R 0.90 (an uneventful process), it
worked perfectly the first time, and it read .RData written by the
previous
2006 Jan 04
2
newbie where to look question
I don't want to bother anyone
with specific questions
because I am a R newbie and
I see that there is TON ( emphasis on
Ton ) of documentation
out there but could
someone just tell me the
best placed to look/read
for learning about ( for R-2-2.1 in Windows )
.Rprofile
.REnviron.
.Rdata
.First function ( analogous to the one in Splus ).
Analog of Splus Chapter
Basically, I want to
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
2005 Apr 07
2
Zipping Rdata Files
Saving Rdata files in a zip archive form can in some cases save a
considerable amount of disk space. R has the zip.file.extract function to
extract files from zip archives, but appears not to have any corresponding
function to save in zipped form. (At least I have not been able to find
anything in the help files or through searching the mail archives.) The
system function can be used to call gzip
2011 Jan 05
1
RData size
Hi, I noticed a Rdata size issue that's puzzling to me. Attached find 2 example
datasets in text file. Both are 100x5, so the sizes for both text file are the
same. However, when I read them into R, the sizes are much different:
tt<-as.matrix(read.table("tt.txt",header=T,row.names=1))
save(tt,file='tt.RData')
2012 Jul 19
2
change file name from file0.1_data.RData to file1_data.Rdata
Dear All,
I want to change file names.
I have file0.1_data.RData (I have several files whose names are
file0.x_data.Rdata)
I want to rename it to file1_data.RData
How can I do it?
Thank you for saving my time!
[[alternative HTML version deleted]]
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()
2005 Jan 30
1
S4 packages and .Rdata file.
Dear developers.
Have spend just 1 h searching for a bug in a new version of a new
version of a package.
I was getting a segfault all the time. "Funny" thing - there was no
error neither in the S nor in the C code.
To solve the problem I had to delete the .Rdata file!
What I observed. If the .Rdata file was generated while a previous
release of a package was installed in the
2010 Jul 08
2
Loading .Rdata within an R function
Colleagues:
I am having trouble loading data from within .Rdata file
within the environment of a function. That is,
the following always loads to the global environment:
f1 <- function() {
load("mydata.Rdata")
# compute with objects from mydata.Rdata.
}
I wish to load mydata.Rdata only within the function f1.
Perhaps I have misunderstood
2012 Apr 17
1
Problem accessing .Rdata objects in a loop
Hi,
I am trying to access many .Rdata objects and do some operations with them
using a loop. I can load the files but can't access them. The files' names
are stored in a character vector called "names". After loading the objects,
I can view each one using ls() and see that two objects are present for
each. I am trying to access the one with the name which is the same as the
2001 May 16
1
Reading .RData Fails
Hi,
We have a user reporting the following problem
> % R
>
> R : Copyright 2001, The R Development Core Team
> Version 1.2.3 (2001-04-26)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type `license()' or `licence()' for distribution details.
>
> R is a collaborative project
2012 Mar 07
4
add data from .RData file
I got two .RData file e.g data.2005.RData & data.2006.RData
I would like to combine these two different data set and make single RData
file.
in both file there are some NULL files are also available and I would like
to clear this NULL files also.
$ : NULL
$ : NULL
$ : num [1:43285, 1:8] -21.1 -21.1 -24.9 -24.9 -24.9 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : NULL
..
1998 Nov 09
1
help with "attach"
Hello,
I've been migrating my computing to R and have not had any major
problems running old Splus programs in R. However, the one thing
I am missing is the ability to attach directories full of general
utility functions from whereever I happen to fire up an R session.
As a consequence, I find myself making many duplicate copies of
these little general purpose functions by cutting and
2006 Oct 12
1
.RData and UNIX
Hi,
I have been using R under Windows but have started to use R (ver. 2.3.0,)
under Linux (linux-gnu).
I have been saving my workspace and I notice that I sometimes end up with 2
version of the .RData file:
.RData and .Rdata. Can someone explain what is happening? I am not sure
which one is loaded so I have ended up losing data by deleting the wrong
file. I think the saved file should be
2003 Feb 06
2
.Rprofile, .Rfirst, and .Rdata
Hi all,
After a short hiatus away from R I have found that it's changed a bit.
I used to keep a definition of .First in .Rprofile that did a couple of
things on startup (load a couple of libraries). Now, I've discovered
that when I change the definition of .First in .Rprofile it doesn't
change anything when I start up, because .First is held over in .Rdata
from the last session.