[R] Learning ANOVA

David Winsemius dwinsemius at comcast.net
Fri Aug 13 06:19:35 CEST 2010


On Aug 12, 2010, at 11:34 PM, Stephen Liu wrote:

> Hi folks,
>
>
> File to be used is on;
> data(InsectSprays)
>
>
> I can't figure out where to insert it on following command;
> test01 <- read.csv(fil.choose(), header=TRUE)

Don't think that would work, even if you did spell file.choose()  
correctly.

?data

"Description
Loads specified data sets, or list the available data sets."


At the console you can just type:

  data(InsectSprays)  # and you have access to that object

If you want to make another copy I suppose you could then type

test01 <- InsectSprays

... but I don't see what you would gain by that.

--
David.



More information about the R-help mailing list