Displaying 20 results from an estimated 60000 matches similar to: "converting .RData to a .TXT file"
2006 Nov 16
2
.rdata files
Help! I accidentally saved my work as an .rdata format instead of .txt
I need to somehow get it saved as a .txt file otherwise i'm really in trouble!
Does anyone know how to convert .rdata to .txt files??
I also tried re-loading the file into R to see if i can re-save it but it doesnt work!
i've attached it below...
please help me asap! i need to turn it in as a .txt file
Thanks
2010 Aug 15
1
Trouble loading "saved" Rdata
In the particular application I have I save "test.Rdata" to a sub directory
dir<-"Example"
dir.create(dir)
test<-data.frame(a=c(1,2,3),b=c(3,4,5)
full<-file.path(dir,"test.Rdata,fsep=.Platform$file.sep)
save(test,file=full)
load(full)
returns NULL
it works fine when the object is saved to the working directory, but fails
when saved to a sub directory.
The Rdata
2010 Sep 05
2
Need Help .RData in Mac OS X, Please
Hi R Users,
I was accidentally save R file when I quit R program. I try to delete but I
am not sure the R saved file was successfuly delete or not. Now everyt time
when I open the R, it always appears
[R.app GUI 1.34 (5589) i386-apple-darwin9.8.0]
[Workspace restored from /Users/ctu/.RData]
I have read google, R help and Nabble but I still can't solve this problem.
Could someone please
2009 Oct 05
3
convert RData to txt
hello all,
will you plz tell me how can i convert RData files to txt,,,
2008 May 13
0
Question about how to save a txt file in .Rdata or .rda format
Hi Everybody,
Suppose I have a *txt file*, named "proof" wich I have read it previously
using the function *read.table( ). *And suppose I have an algorithm wich
requires to load this file "proof" using the function *data ( ) *
My problem is the following: how to store the file proof in "*.Rdata"*
or.in ".*rda"* format in order to use the function data?
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')
2017 Aug 18
0
"How to convert .rdata file into .csv or something else?" [SOLVED:Corrected version2]
Dear mailing list members,
Sorry for the repeated posting, but I have to add two more things.
1) I changed the .Rdata into .rdata in the subject to avoid
misunderstanding of readers.
2) To save data in csv file;
> write.csv(WV6_Data_R, "input/ch2/WV6_Data_R_v_2016_01_01.csv")
Best regards,
Yohei Tanaka
===========the following is the copy of my last message===========
A member
2017 Aug 17
0
How to convert .Rdata file into .csv or something else?
Welcome to the forum
.Rdata may contain many different objects.
I would suggest doing a? "ls()" to see what objects you have.
then have a look at ?write.table or ?write.csvThese commands will write many types of objects to a .csv file.
For example if I have a data.frame called "dat1" I can write it to a csv (text) file like this:
write.csv(dat1, "~/Rjunk/mydata.csv")
1999 Jan 27
0
load() patch
Summary: patch to add environment parameter to load() to allow
-------- specification of destination environment.
--> Patch against R 0.63.2 appended at end of this message. <--
Story:
------
I've been running some rather long MCMC chains, which occasionally crash,
either due to an "Invalid tag in name extraction" error, or due to the
machine going down. (I'm playing
2017 Aug 18
0
"How to convert .Rdata file into .csv or something else?" [SOLVED]
Dear mailing list members,
Thank you for all members who gave me advice.
This question is solved.
I tried to create an object using the load function by analogy based on the
read.csv function like this;
> d <- load("~/docdis/input/ch2/WV6_Data_R_v_2016_01_01.rdata")
but, load function cannot be used in this way. Correct ways are;
>
2017 Aug 18
0
"How to convert .Rdata file into .csv or something else?" [SOLVED:Corrected version]
Dear mailing list members,
A member found a problem of lines of codes in my last e-mail.
I submit the correction to this mailing list as follows.
In the final part of my last e-mail message, a csv file is created.
But, I cannot open this file, so please ignore the following part.
--------------------------------------------------------------------------------------------------
If you want to
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
2009 Oct 26
0
Time variables changed after reopening a .RData file (bug?)
Hello all,
I recently opened a backup ".RData" file which contained (three) "time
variables" created in the session I had a few months ago.
Upon inspecting those variables I suddenly realized they all got an extra
hour to them.
So a variable like:
morning <- as.difftime("08:00:00")
That was defined a few months ago (and saved inside the .RData file) will
be:
2000 Sep 08
2
RData file
Hi all,
I just quit R Version 1.1.0 in the usual q() manner which resulted in a
fatal error, which seems to have wiped out all my RData file.
Now when I try to load up R it gives the message
Error: restore file corrupted -- no data loaded
Fatal error : unable to restore saved data
(remove .RData or increase memory)
How do I access the RData or what do I increase the memory size to to
retrieve
2009 Feb 28
1
problem with an old .RData file
Dear useRs,
Today I've encountered a weird unexpected behaviour. It is not a real
problem for me and I can workaround it. But I'm very curious of what
could have caused it.
Starting an R session in a directory with an old .RData my first command
was
> library(MASS)
and i got
Errore in .Call("R_lazyLoadDBfetch", key, file, compressed, hook,
PACKAGE = "base") : C
2010 Nov 28
1
.Rdata file in data subdirectory won't load
Greetings,
I wanted to add a dataset to a complete R package I am working on
(the package cleanly installs and passes the R CMD check).
The data (a matrix) was saved, and the save() image dragged to the
/data folder, and is a .Rdata file. It can be read directly using
load (see below), but now the R CMD check indicates "subdirectory data
contains no datasets" and it won't load
2017 Aug 17
3
How to convert .Rdata file into .csv or something else?
Dear mailing list members,
I am a beginner of this community.
I would like to analyze data in a .rdata file.
I ran the following code, but the object "d" remained empty.
d <- load("~/docdis/input/ch2/WV6_Data_R_v_2016_01_01.rdata")
I would like to know how to convert this file format into .csv or .txt.
I suppose this question is very basic, but I could not find solutions
2012 May 15
1
save to Rdata file and to txt
Dear all,
I am using the
save(moransI,file=saveString) to save a variable called moransI to a file.
This works well but unfortunately I have to open R every time I want to look to the contents.
Would it be also possible to have a second line that saves the contents of the moransI variable in a normal txt file?
The ideal is inside the txt file to get what you see in R's console when you
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