[R] xgobi interface -- patch

Martin Maechler maechler at stat.math.ethz.ch
Tue Apr 11 19:10:49 CEST 2000


>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch> writes:

>>>>> "Kaspar" == Kaspar Pflugshaupt <pflugshaupt at geobot.umnw.ethz.ch> writes:
    Kaspar> (message from 11.4.2000 13:02 Uhr):
    >>> i just installed the xgobi interrface,
    >>> and this is what i get
    >>> when i try to run the example
    >>> things don't work
    >>> 
    >>>> xgobi(laser)
    >>> xgobi -title 'laser' -std mmx -dev 2 /tmp/unixR3e07S15fb &
    >>>> Neither the file 2 nor 2.dat exists
    >>> 
    >>> what am i doing wrong?

    Kaspar> Nothing, I guess. The same thing turned up here. It seems that
    Kaspar> xgobi does not interpret the "dev" option as it should. A quick
    Kaspar> fix is to comment out the respective line in the "xgobi" R
    Kaspar> interface function (somewhere near the beginning, forgot the
    Kaspar> actual line). Disables the "dev" functionality, of course. But
    Kaspar> then, xgobi works.

    Kaspar> Has anybody else seen this? Any hints?

    MM> {Prof Brian Ripley has already answered this to some extent}

    MM> You are using an outdated version of the R interface for Xgobi.
    MM> Please use 
    MM> update.packages(...)
    MM> (or another reasonable means)
    MM> to get the current version (1.1-8) of xgobi  
    MM> {i.e., just the R interface to it} from  CRAN.

Sorry, this was wrong.
For some extreme unlucky/unclear reasons, the version 1.1-8 of the xgobi
package on CRAN does not contain the proper line, 
even though I thought it did when I "uploaded" it there.

A new version of the xgobi package -- with at least this bug corrected
should appear on CRAN in the next few days..

Martin

---
You can hand-apply the following patch to  xgobi/R/xgobi.R :

--- wrong-xgobi/R/xgobi.R	Sat Mar 11 23:40:26 2000
+++ xgobi/R/xgobi.R		Mon Mar  6 10:04:04 2000
@@ -10,7 +10,6 @@
 		  title	     = deparse(substitute(matrx)),
 		  vgroups    = NULL,
 		  std	     = "mmx",
-                  dev        = 2,
 		  nlinkable  = NULL,
 		  subset     = NULL,
 		  display    = NULL)
@@ -27,7 +26,7 @@
 		row.names = FALSE, col.names = FALSE)
 
     ## <MM> args <- ""
-    args <- paste("-std", std, "-dev", dev)
+    args <- paste("-std", std) ##, "-dev", dev)
 
     ## Column labels ###
     if (!is.null(collab)) {
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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