Re: R-alpha: memory size

Peter Dalgaard BSA (p.dalgaard@kubism.ku.dk)
27 Mar 1997 15:30:26 +0100


To: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Subject: Re: R-alpha: memory size
From: Peter Dalgaard BSA <p.dalgaard@kubism.ku.dk>
Date: 27 Mar 1997 15:30:26 +0100
In-Reply-To: Ross Ihaka's message of Thu, 27 Mar 1997 21:00:33 +1200 (NZST)
Message-Id: <x2pvwlquf1.fsf@bush.kubism.ku.dk>

Ross Ihaka <ihaka@stat.auckland.ac.nz> writes:

> 
> I have also tried this under 16.1 and had no problems.  One thought
> does spring to mind though.  Have you replaced the old shell-script
> front-end with a current one?

Yes, this is a rather obvious pitfall. You compile R once, then copy
the script to say /usr/local/bin and then you don't really need to do
that again since the old script works (or *almost* works) with newer
versions, as long as they are installed to the same directory. Yet
another reason to change the distribution so as to use the
untar-to-R-0.50.0 convention. 

Maybe one should even "booby-trap" the install and put

R_VERSION=0.50.0 R.binary $*

in the shell script and something to the effect of

if (strcmp(getenv("R_VERSION"),"0.50.0")!=0) 
	crash("Startup script and binary versions differ\n");

at the start of the main program?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers 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-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-