Re: [R] convert RData to txt

2009-10-06 Thread Henrique Dallazuanna
The file don't load in my computer, this give me a fatal error message.

On Tue, Oct 6, 2009 at 1:09 AM, Ilyas .  wrote:
> thank you for your reply,,
> i tried your commands but its not working,,i have attached the RData
> file,,which i want to convert into txt..
>
> Ilyas
> On Mon, Oct 5, 2009 at 9:27 PM, Henrique Dallazuanna 
> wrote:
>>
>> You can try something about like this:
>>
>> lapply(ls(), function(obj)cat("\n", obj, "<-",
>> paste(deparse(get(obj)), collapse = "\n"), file = 'RData.txt', append
>> = TRUE))
>> source('RData.txt')
>>
>>
>> On Mon, Oct 5, 2009 at 4:00 AM,   wrote:
>> > hello all,
>> > will you plz tell me how can i convert RData files to txt,,,
>> >
>> > __
>> > R-help@r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-help
>> > PLEASE do read the posting guide
>> > http://www.R-project.org/posting-guide.html
>> > and provide commented, minimal, self-contained, reproducible code.
>> >
>>
>>
>>
>> --
>> Henrique Dallazuanna
>> Curitiba-Paraná-Brasil
>> 25° 25' 40" S 49° 16' 22" O
>
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] convert RData to txt

2009-10-05 Thread Ilyas .
thank you for your reply,,
i tried your commands but its not working,,i have attached the RData
file,,which i want to convert into txt..

Ilyas
On Mon, Oct 5, 2009 at 9:27 PM, Henrique Dallazuanna wrote:

> You can try something about like this:
>
> lapply(ls(), function(obj)cat("\n", obj, "<-",
> paste(deparse(get(obj)), collapse = "\n"), file = 'RData.txt', append
> = TRUE))
> source('RData.txt')
>
>
> On Mon, Oct 5, 2009 at 4:00 AM,   wrote:
> > hello all,
> > will you plz tell me how can i convert RData files to txt,,,
> >
> > __
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
>
>
> --
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O
>
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] convert RData to txt

2009-10-05 Thread David Winsemius


On Oct 5, 2009, at 3:00 AM, mykh...@gmail.com wrote:


hello all,
will you plz tell me how can i convert RData files to txt,,,


?load
?write.csv
?cat



--


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] convert RData to txt

2009-10-05 Thread Henrique Dallazuanna
You can try something about like this:

lapply(ls(), function(obj)cat("\n", obj, "<-",
paste(deparse(get(obj)), collapse = "\n"), file = 'RData.txt', append
= TRUE))
source('RData.txt')


On Mon, Oct 5, 2009 at 4:00 AM,   wrote:
> hello all,
> will you plz tell me how can i convert RData files to txt,,,
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] convert RData to txt

2009-10-05 Thread Paul Hiemstra

mykh...@gmail.com wrote:
hello all, 
will you plz tell me how can i convert RData files to txt,,,


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  

Hi,

Depends on what is in the RData files, which can be any R object. So 
there is no single answer as long as you don't provide more information. 
So please read the posting guide for more information.


In general you can use the load() command to the RData file, and if it 
is for example a csv file you can use write.csv to write it to ascii.


cheers
Paul

--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] convert RData to txt

2009-10-05 Thread mykhwab
hello all, 
will you plz tell me how can i convert RData files to txt,,,

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.