Skip to content
Prev 181935 / 398513 Next

Simple.lm

On May 30, 2009, at 1:22 PM, malcolm Crouch wrote:

            
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
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