From erich.neuwirth@univie.ac.at  Thu Apr 13 12:20:57 2000
From: erich.neuwirth@univie.ac.at (Erich Neuwirth)
Date: Thu, 13 Apr 2000 13:20:57 +0200
Subject: [Rd] xgobi in R on win95
References: <200004121254.NAA22977@toucan.stats.ox.ac.uk>
Message-ID: <38F5AD99.83150CA3@univie.ac.at>

this time,
it is REALLY a bug in the r code for the xgobi interface.
on win95, at least in my configuration,
xgobi(...,multi=TRUE)
does not work.

the temp files R creates are deleted before
the xgobi process gets a chance to read the files.

the culprit is

  on.exit(file.remove(tmpfiles)) 

on windows95, this deletes the files too early.

changing it to
        if(!multi) { on.exit(file.remove(tmpfiles)) }

solves the problem, but of course has the side effect
of leaving the the temporary files on the machine.
i do not understand enough of the mechanics of the system calls 
involved (yet) to do a full repair myself.


my xgobi only questions to this list were cause by the fact
thet multi=TRUE did not work, therefore i tried to use
clone xgobi, which did not work either.
it still does not work, despice the fatc that i think i
read and followed the instructions carefully.

erich
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] xgobi in R on win95
Erich Neuwirth