[R] How to import file from excle?

Chuck Cleland ccleland at optonline.net
Tue May 11 11:22:26 CEST 2004


may nongmay wrote:
> ...
> I learn R program from The Basics of S and S-plus book because it's basic,
> and then when I use command is attact(geyser) [follow from book] but I 
> can't .
> Because it's command only S (i think some command can't use in R???)

   In R, you need library(MASS) as a first step.  Also, I believe 
you want attach(geyser), not attact(geyser).
   You could have found the geyser dataset with 
help.search("geyser").

hope this helps

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list