You have to read the data into an object: e.g.,
mydata <- read.delim("Filename.txt", header=TRUE)
and then you can access the data with 'mydata'. If you had "test" as a
column header,then
mydata$test
will access that data.
On 7/3/07, Susie Iredale <[EMAIL PROTECTED]> wrote:
>
>
>
>
> (Repeat of previous HTML version)
>
> Hello all,
>
> I am a new R user and I have finally imported my data using
> >read.delim("Filename.txt", header=TRUE) after some difficulty, by
> changing file directories (a hint to anyone who might be stuck there).
>
> However, I am now stuck trying to use my data. When I try to use
> data.frame("filename.txt") it tells me object not found, which makes it
> difficult to use attach() or with(). How do I get R to recognize my data?
>
> Thanks,
> Susie
> PhD Student UCI
>
>
>
>
>
> ____________________________________________________________________________________
> Luggage? GPS? Comic books?
>
> ______________________________________________
> [email protected] 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.