[R] Question about the xgobi package

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 26 08:00:23 CET 2007


On Thu, 25 Jan 2007, Tong Wang wrote:

> Hi,
>   When I tried an example of the xgobi function, I got the following error.  Could someone explain to me
> what is wrong ?  Thanks a lot.

1) You do not tell us your OS (presumably Windows, but what sort?)

2) There is a file called INSTALL.windows in the top-level directory of 
the installed package.  Please read it, by e.g.

> file.show(system.file("INSTALL.windows", package="xgobi"))

It says

   You will need to customize the batch files in the scripts directory
   for your installation.  The example files there work for mine.

and it seems you did not do so, and I suspect you have also not set up 
XGobi.

Using XGobi under Windows is tricky, and these days using GGobi is easier 
and stabler.

> xgobi(crabs,colors=c("SkyBlue","SlateBlue","Orange","Red")[rep(1:4,each=50)])
>
> c:/PROGRA~1/R/R-23~1.1/library/xgobi/scripts/xgobi.bat -vtitle 'crabs' -std mmx C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/Rtmp1FVirb/xgobi-crabs2c3b6032
> The system cannot find the path specified.

-- 
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



More information about the R-help mailing list