Re: [R] how to explore contents of R data file from command line?

From: Vladimir Eremeev <wl2776_at_gmail.com>
Date: Mon 29 Jan 2007 - 12:51:17 GMT

Thank you, I have used this way already. I would like to avoid copying files, as I have asked before.

I have found one more solution in Windows.

Just typing inflow.RData (the file name) in command line and pressing enter runs Rgui, and it loads the file.
Then ls() and str() will give the insight of the file contents. When exiting from R, one needs to say "No" to the R's question about saving workspace image, as answering "Yes" deletes older .RData (default workspace image).

Henrique Dallazuanna wrote:

> 
> You can try copy the file into another location and in the R:
> 
> load(file.choose())
> ls()
> 
> choose the file .RData
> 
> On 29/01/07, Vladimir Eremeev <wl2776@gmail.com> wrote:

>> Dear all,
>>
>> I have a directory with my research project, containing files
>> .RData
>> and
>> inflow.RData
>>
>> I am just curious, is there any way to explore contents of
>> inflow.RDatafrom
>> command line without affecting .RData and
>> without copying inflow.RData to
>> another location?
>> I can see names and character attributes (of something in the file) in a
>> 3rd
>> party raw file viewer.
> Henrique Dallazuanna
>
-- 
View this message in context: http://www.nabble.com/how-to-explore-contents-of-R-data-file-from-command-line--tf3135483.html#a8688767
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Mon Jan 29 23:54:18 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 29 Jan 2007 - 14:00:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.