similar to: Reading .RData Fails

Displaying 20 results from an estimated 9000 matches similar to: "Reading .RData Fails"

2001 Dec 10
2
Corrupt .RData
I'm using R 1.3.1 on a Windows NT 4.0 machine. As you might guess my machine crashes on me from time to time :-| So far, forcing a reboot via the Taskmanager has worked reasonably well: any open R session would enquire politely whether to save, and do so if requested. This time, it has not worked out. I get a 'Fatal Error: unable to restore saved data in .RData' message and R
2000 Dec 10
1
seq(0.05,0.95,by=0.002) and logical error
Regardless of which version -- 1.1.1 or 1.2.0 (2000-11-27) -- with a fresh "directory" (i.e. no .RData), I am getting an extremely weird result. R : Copyright 2000, The R Development Core Team Version 1.2.0 Under development (unstable) (2000-11-27) > jj _ seq(0.05,0.95,by=0.002) > sum(jj==0.75) ## WRONG ANSWER [1] 0 > 0.05 + 350*.002 ## Double check that 0.75 is in jj [1]
2000 Apr 03
1
another save/load problem, only(?) affecting ascii = TRUE (PR#507)
On all current R versions, afaik: When using save(....., ascii = TRUE), the resulting file is not always readable by load(.). The following is executable R code exhibiting two (slightly different) examples of which I have seen even more [~/R/MISC/saveload-bug.R]: ### BUG : save(..., ascii = TRUE) produces load() - unreadable files : tstf1 <- function(n = 500) { ## Purpose: ##
2007 Dec 10
4
Reading through a group of .RData files
Hi. I have a procedure that reads a directory, loops through a set of particular .RData files, loading each one, and feeding its object(s) into a function, as follows: cvListFiles<-list.files(fnDir); for(i in grep(paste("^",pfnStub,".*\\.RData$",sep=""),cvListFiles)){ load(paste(fnDir,cvListFiles[i],sep="/")); myFunction(rliObject); rm(rliObject); };
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
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
1998 Nov 28
2
dyn.load and/or add new package (Windows 98)
Hi, I have been trying to dyn.load a library (rq.obj), which will allow me to run a quantile regression function, but so far unsuccessfully. I have tried under windows 98 and R 6.24: 1) dyn.load("d:\\...\\rq.obj") 2) dyn.load("d:\...\rq.obj") 3) 1 and 2 accounting for case sensitivity. 4) dyn.load("d:/.../rq.obj") 5) Place the files in the directory where from I
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]]
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')
2013 Feb 02
1
Reading .rdata files
Hello, I am a developer working on extracting information from .rdata files using java. I have been looking through the documentation a lot trying to figure out how to read these files, but am a bit stuck at the moment. I have generated two .RDATA files from StatTransfer and have noticed that they both begin in similar ways. *File 1* RDA2 A 2 131585 66560 1026 1 4105 10 .Traceback 254 1026 1
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
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()
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 ..
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
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.
2006 Nov 17
2
Getting R and .Rdata together again
Somehow, I've managed to have my .Rdata files become `disassociated' from the R program. I am running Windows XP Pro. I have re-installed R 2.4 in an attempt to have it re-associate itself with .Rdata files, but to no avail. .Rdata files are now associated with a file compression program or alternatively with Rgui.exe. .Rdata files are represented by the blue R, but double-clicking on
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
2004 Dec 28
3
lost association for .RData files
Somehow I have lost the correct file association for .RData files. They are now associated with a text file editor. When I right click on any .RData file and try to change the association, R is not listed as a choice of program. I browse to c:\Program Files\R\rw2001\bin\Rgui.exe and select that file to open .RData, but Windows does not then place Rgui.exe in the list of programs to use. I can
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