[R] multi-platform equivalent of x11() ?

peter dalgaard pdalgd at gmail.com
Wed Mar 7 08:32:10 CET 2012


On Mar 7, 2012, at 08:13 , Paul Johnson wrote:

> I want to write an R help example that throws up 2 graphs in separate
> windows, for comparison. In Linux I plot one, then run
> 
> x11()
> 
> to spawn a new on-screen device.
> 
> Is there some generic equivalent so I can write an example that will
> work for Windows and Mac users as well?


dev.new(), I think.

> 
> If there is none, don't you think it would be fun if there were?
> 
> pj
> 
> -- 
> Paul E. Johnson
> Professor, Political Science    Assoc. Director
> 1541 Lilac Lane, Room 504     Center for Research Methods
> University of Kansas               University of Kansas
> http://pj.freefaculty.org            http://quant.ku.edu
> 
> ______________________________________________
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list