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
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
o        Geneland is loaded                                       o
o                                                                 o
o                * Please *                                       o
o                                                                 o
o        Register on                                              o
o        http://folk.uio.no/gillesg/Geneland/register.php         o
o                                                                 o
o        See manual on                                            o
o        http://folk.uio.no/gillesg/Geneland/Geneland.html        o
o                                                                 o
o        This is Geneland-3.1.5                                   o
o                                                                 o
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
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.

Reply via email to