[R] Two Questions

David Winsemius dwinsemius at comcast.net
Wed Apr 20 15:32:03 CEST 2011


On Apr 20, 2011, at 9:23 AM, Stephen P Molnar wrote:

> Sorry for the somewhat nondescript subject line, but I have two  
> questions:
>
>
>
> 1.        What is a really good book on R for a nonprogrammer?
>
> 2.       How do I open more than one R Graphics: Device 2(ACTIVE).   
> That
> what is the R command that I can use to keep more than one plot open.

You can have more than one device available, but you need to address  
them serially. Only one device can receive input at a time.

?Devices
?dev.set

>  I am
> running a script from a book on Chemometrics that results in more  
> than one
> graph during the execution, but it seems that R deletes each graph  
> when the
> script calls for the next plot.

More likely you are seeing one graph displayed at a time on the screen  
device. On my screen device the cmd-left-arrow will bring up prior  
plots to a depth of 15 earlier results.

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list