Hi, I complied the R-1.6.1 source file on my 386 debian linux system. However, I cannot get graphical output from the screen. The options(device) is set to postscript> getOption("device")[1] "postscript" After I change it to X11 ( as shown in my R 1.5.1 version on the same system) it says that X11 device is not loaded.> options(device="X11") > getOption("device")[1] "X11"> plot(rnorm(10))Error in X11() : the x11 device has not been loaded>After I quit the R session and invoke it again, the options() changes back.> getOption("device")[1] "postscript">This problem does not occur for R1.5.1 in the same machine, under the same system. Anyone has an idea to help me eliminate the problem? Best Changxuan
Look like when you compiled 1.6.1 the X11 files were not found. This option is set in the .../library/base/R/Rprofile file as if(interactive() && Sys.getenv("DISPLAY") != "") { options(device = switch(.Platform$GUI, "X11" = "X11", "GNOME" = "gtk", "postscript")) } else options(device = "postscript") and if the X11 device is available (see capabilities()) then you should get X11 unless you invoke R with R --gui="something", e.g. --gui=none or --gui=GNOME. On Thu, 9 Jan 2003, Changxuan Mao wrote:> Hi, > > I complied the R-1.6.1 source file on my 386 debian linux system. > However, I cannot get graphical output from the screen. > The options(device) is set to postscript > > > getOption("device") > [1] "postscript" > > After I change it to X11 ( as shown in my R 1.5.1 version on the same > system) it says that X11 device is not loaded. > > > options(device="X11") > > getOption("device") > [1] "X11" > > plot(rnorm(10)) > Error in X11() : the x11 device has not been loaded > > > > After I quit the R session and invoke it again, the options() changes > back. > > > > getOption("device") > [1] "postscript" > > > > > This problem does not occur for R1.5.1 in the same machine, under the same > system. Anyone has an idea to help me eliminate the problem? > > Best > > Changxuan > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Changxuan Mao <cmao at statserv.ucr.edu> writes:> I complied the R-1.6.1 source file on my 386 debian linux system.Is there a reason that you want to compile R from sources on a Debian Linux system? You can install from the Debian packages for R-1.6.1 for the stable and the testing Debian distributions that are available on the Debian archives and on CRAN. Dirk Eddelbuettel expects to have Debian packages of R-1.6.2, scheduled for release today, uploaded by tomorrow. Test builds of Debian packages for R-1.6.2 have been on the Debian archives for two weeks. The versions of R in the Debian packages have full support for the X11 device driver. A separate Debian package called r-gnome provides the gnome device driver r-doc-html - GNU R html manuals for statistical computing system r-doc-pdf - GNU R pdf manuals for statistical computing system r-base-dev - GNU R installation of auxiliary GNU R packages r-base-html - GNU R html docs for statistical computing system functions r-doc-info - GNU R info manuals statistical computing system r-gnome - GNU R Gnome gui for statistical computing system r-base - GNU R statistical computing language and environment r-base-core - GNU R core of statistical computing language and environment r-mathlib - GNU R standalone mathematics library r-base-latex - GNU R LaTeX docs for statistical computing system functions r-recommended - GNU R collection of recommended packages