Re: [R] warning In fun(...) : no DISPLAY variable so Tk is not available
Nevil Amos wrote: I am getting the above warning following loading of Geneland 3.1.5 on unix , while a simple plot sends output to the pdf file ( see attached code) no output results from Geneland functions, resulting in empty pdf files That message is saying it can't find an X11 server for Tcltk to use. If you do have X11 available, then just set the DISPLAY environment variable in the normal way; if you don't, then you're not going to be able to use that package on Unix. (The Windows implementation is self-contained, so it should work there.) I am having the same error message for Geneland, but I am implementing on a Windows machine. -- View this message in context: http://r.789695.n4.nabble.com/warning-In-fun-no-DISPLAY-variable-so-Tk-is-not-available-tp2235656p4331992.html Sent from the R help mailing list archive at Nabble.com. __ R-help@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.
[R] warning In fun(...) : no DISPLAY variable so Tk is not available
I am getting the above warning following loading of Geneland 3.1.5 on unix , while a simple plot sends output to the pdf file ( see attached code) no output results from Geneland functions, resulting in empty pdf files library (Geneland) Loading required package: RandomFields Loading required package: fields Loading required package: spam Package 'spam' is loaded. Spam version 0.21-0 (2010-03-13). Type demo( spam) for some demos, help( Spam) for an overview of this package. Help for individual functions is optained by adding the suffix '.spam' to the function name, e.g. 'help(chol.spam)'. Attaching package: 'spam' The following object(s) are masked from 'package:base': backsolve, forwardsolve, norm Try help(fields) for an overview of this library fields web: http://www.image.ucar.edu/Software/Fields Loading required package: mapproj Loading required package: maps Loading required package: snow Loading required package: tcltk Loading Tcl/Tk interface ... done ooo oGeneland is loaded o o o o* Please * o o o oRegister on o ohttp://folk.uio.no/gillesg/Geneland/register.php o o o oSee manual ono ohttp://folk.uio.no/gillesg/Geneland/Geneland.htmlo o o oThis is Geneland-3.1.5 o o o ooo Warning message: In fun(...) : no DISPLAY variable so Tk is not available pdf(test.pdf) plot(1:10,1:10) dev.off() null device __ R-help@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.
Re: [R] warning In fun(...) : no DISPLAY variable so Tk is not available
Nevil Amos wrote: I am getting the above warning following loading of Geneland 3.1.5 on unix , while a simple plot sends output to the pdf file ( see attached code) no output results from Geneland functions, resulting in empty pdf files That message is saying it can't find an X11 server for Tcltk to use. If you do have X11 available, then just set the DISPLAY environment variable in the normal way; if you don't, then you're not going to be able to use that package on Unix. (The Windows implementation is self-contained, so it should work there.) Duncan Murdoch library (Geneland) Loading required package: RandomFields Loading required package: fields Loading required package: spam Package 'spam' is loaded. Spam version 0.21-0 (2010-03-13). Type demo( spam) for some demos, help( Spam) for an overview of this package. Help for individual functions is optained by adding the suffix '.spam' to the function name, e.g. 'help(chol.spam)'. Attaching package: 'spam' The following object(s) are masked from 'package:base': backsolve, forwardsolve, norm Try help(fields) for an overview of this library fields web: http://www.image.ucar.edu/Software/Fields Loading required package: mapproj Loading required package: maps Loading required package: snow Loading required package: tcltk Loading Tcl/Tk interface ... done ooo oGeneland is loaded o o o o* Please * o o o oRegister on o ohttp://folk.uio.no/gillesg/Geneland/register.php o o o oSee manual ono ohttp://folk.uio.no/gillesg/Geneland/Geneland.htmlo o o oThis is Geneland-3.1.5 o o o ooo Warning message: In fun(...) : no DISPLAY variable so Tk is not available pdf(test.pdf) plot(1:10,1:10) dev.off() null device __ R-help@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. __ R-help@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.