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. ______________________________________________ R-help@r-project.org 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.