[R] How to open .rda file in R
Steve Lianoglou
mailinglist.honeypot at gmail.com
Thu Jan 21 18:46:25 CET 2010
Hi,
On Thu, Jan 21, 2010 at 11:12 AM, AMBUJ <ambuj_mbp at yahoo.co.in> wrote:
> Hi,
> I have a file containing gene expressions written using the tillingArray package. I used load() and attach() to get the data into R. Both of them works fine. Now I want to see the contents of the file. How can I see the contents of the file?
Look at the help file for ?load and in particular look at the "Value"
section. You'll see that a call to load() returns (invisible) a
character vector of the names of the variables that were loaded from
the file, so:
R> vars <- load('tiling.data.rda")
And look at the names listed in vars to see what was loaded from the file:
R> vars
HTH,
-steve
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
More information about the R-help
mailing list