header containing (PR#2003)
grimm.heinz@rcc.ch
grimm.heinz@rcc.ch
Thu, 31 Oct 2002 16:42:36 +0100 (MET)
This is a multi-part message in MIME format.
--------------0E780EA27B8B71828A93900D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ok, I try to explain the problem better:
getHome() uses now "GetModuleFileName()" to determine
the R home-directory. "GetModuleFileName()" doesn't check
the R_HOME environment setting, instead it returns the
path of the .EXE, that started R, which is usually located in
$R_HOME/bin. If R is invoked via Java, "GetModuleFileName()"
returns $JDK_HOME/jre/bin instead of $R_HOME/bin and
the function "getRHome()" returns $JDK_HOME/jre...
My suggestion is just to rely on $R_HOME, instead of
using "GetModuleFileName()", because all "xxx calls R"
packages will have similar problems. I added in my sample
fix the check for $RHOME, since SJava does the same,
may be this is historical, just ignore it...
Heinz Grimm
--------------0E780EA27B8B71828A93900D
Content-Type: text/x-vcard; charset=us-ascii;
name="grimm.heinz.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Heinz Grimm
Content-Disposition: attachment;
filename="grimm.heinz.vcf"
begin:vcard
n:Grimm;Heinz
tel;fax:+41 61 9715 072
tel;work:+41 61 9751 109
x-mozilla-html:FALSE
url:www.rcc.ch
org:RCC Ltd.;IT
version:2.1
email;internet:grimm.heinz@rcc.ch
title:Dipl.Ing.(FH)
adr;quoted-printable:;;Zelgliweg 1=0D=0A;Itingen;BL;CH-4452;Switzerland
fn:Heinz Grimm
end:vcard
--------------0E780EA27B8B71828A93900D--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._