[R] Xgobi under Windows

Peter Ho peter at esb.ucp.pt
Thu Oct 7 20:01:41 CEST 1999


Hi,

Firstly, I would like to thank everyone who had replied to my earlier
question of using Xgobi with R under windows. After a little messing around
with the xgobi.bat file, I can now export data from R  into Xgobi running on
the free MIX X server.
In summary here is the procedure to make Xgobi work under windows for R:

1) Download the Xgobi for windows executables from Brian Ripley's S-Liberries
at

                http://www.stats.ox.ac.uk/pub/SWin/

I used the   xgobi3-99.zip  from 03-Mar-1999 09:55. Unzip it and place in any
directory of your choice.


2) Download R interface windows compiled library, xgobi.zip from CRAN or
mirror sites and installed it in your library directory under which ever
version of R you have running.

3) Modify the xgobi.bat file found in (2) to read something like this:

@echo off
PATH=c:\windows\;
set DISPLAY=your machine name: 0.0
set XGOBID=c:/Xgobi3
c:\Xgobi3\xgobi.exe %1 %2 %3 %4 %5 %6 %7 %8 %9


Thanks very much to Martin you suggested to use the pass argument. Although
it didn't work using
%1 %2 %3 %4 %5 %6 %7 %8 %9, whihc was originally there did.
In my case my parent directory for Xgobi was Xgobi3.


4) From within R do the following.

>    library(xgobi)

then you can use the function:

> xgobi(your matrix or data.frame)


That's ll you need to do.

Thanks again

Peter

------------------------------------
Peter Ho
Escola Superior de Biotecnologia
Universidade Católica Portuguesa
Rua Dr. António Bernardino de Almeida
4200 Porto
Portugal
Tel: ++351-2-5580043

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list