Hi Steve,

       It worked!! Thank you very much.. 

Regards,
Ambuj A Thacker

--- On Fri, 22/1/10, Steve Lianoglou <mailinglist.honeypot@gmail.com> wrote:

From: Steve Lianoglou <mailinglist.honeypot@gmail.com>
Subject: Re: [R] How to open .rda file in R
To: "AMBUJ" <ambuj_mbp@yahoo.co.in>
Cc: r-help@r-project.org
Date: Friday, 22 January, 2010, 12:30 AM

Hi,
1. Please keep replies on list -- note that you have to click "reply all", not just "reply"
2. For your new problem:

On Thu, Jan 21, 2010 at 1:22 PM, AMBUJ <ambuj_mbp@yahoo.co.in> wrote:

Hi Steve,
         Thankyou for the reply. I still did not get the data from the file.I executed the following commands:


> vars<-load('~/523/Data.rda')
> vars
[1] "seg_vegNew"
>print(seg_vegNew)
<environment: 0x10700f94> 


Am I doing some thing wrong here? Thanks in advance.

You just have to notice hat `seg_vegNew` is an environment ... it probably is holding vars in it that I guess you're interested, see ?new.env

Try to "ls(seg_vegNew)"
You should see a list of variables in it ... say "x" was one of them, one way that you can then get access to it is like so:

R> my.x <- get('x', seg_vegNew)
Now you can access 'my.x' as normal ...
Does that help?-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






      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
	[[alternative HTML version deleted]]

