Hi , I am struggling with two problems : 1. simple.lm - where do i find the package that installs that ... i have a looked on the help files and it says simple .... but when i go to cran through load.packages() it does not come up ? 2. whenever I use qq.plot through library(car) it mentions i need a graphics device ? perhaps you could me there as i loaded a graphics device and got an error ., I loaded cairo and cairo device and bot would not install ? im not to sure why ? any help would be appreciated. Regards Malcolm [[alternative HTML version deleted]]
To find simple.lm, I suggest you look in the package UsingR You may need to load the package; it is not installed by default when you load R on your computer. I regret that I can not help you with your second question. John John David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing)>>> malcolm Crouch <malcolm.croucher at gmail.com> 5/30/2009 1:22 PM >>>Hi , I am struggling with two problems : 1. simple.lm - where do i find the package that installs that ... i have a looked on the help files and it says simple .... but when i go to cran through load.packages() it does not come up ? 2. whenever I use qq.plot through library(car) it mentions i need a graphics device ? perhaps you could me there as i loaded a graphics device and got an error ., I loaded cairo and cairo device and bot would not install ? im not to sure why ? any help would be appreciated. Regards Malcolm [[alternative HTML version deleted]] ______________________________________________ R-help at 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. Confidentiality Statement: This email message, including any attachments, is for th...{{dropped:6}}
On May 30, 2009, at 1:22 PM, malcolm Crouch wrote:> Hi , > > I am struggling with two problems : > > 1. simple.lm - where do i find the package that installs that ... i > have a > looked on the help files and it says simple .... but when i go to cran > through load.packages() it does not come up ?Under the heading of "Teach a man to fish, and he will not go hungry..." Learn to use: ?help.search # and http://search.r-project.org/nmz.html> > > 2. whenever I use qq.plot through library(car) it mentions i need a > graphics device ? perhaps you could me there as i loaded a graphics > device > and got an error ., I loaded cairo and cairo device and bot would not > install ? im not to sure why ? >Graphics devices are among the most OS-specific components of R. You have not followed the Posting Guide's advice to include such information. On my machine a graphics device gets loaded by default when I issue a plot command, but it's possible that may not be true on all systems. ?device perhaps you need to issue dev.new() .... just a guess. > dev.cur() null device 1 > plot(1,1) # draws the plot > dev.cur() quartz 2 library(car) x<-rchisq(100, df=2); qq.plot(x) # draws the plot David Winsemius, MD Heritage Laboratories West Hartford, CT