Re: R-beta: Two simple suggestions.

Luke Tierney (luke@stat.umn.edu)
Thu, 8 May 1997 05:57:46 -0500 (CDT)


From: Luke Tierney <luke@stat.umn.edu>
Message-Id: <9705081057.AA11083@nokomis.stat.umn.edu>
Subject: Re: R-beta: Two simple suggestions.
To: mikem@stat.cmu.edu (Mike Meyer)
Date: Thu, 8 May 1997 05:57:46 -0500 (CDT)
In-Reply-To: <199705081015.GAA00636@mikem.sp.cs.cmu.edu> from "Mike Meyer" at May 8, 97 06:15:17 am

Mike Meyer wrote:
> 
> 1) The .RData file (and S .Data area) are cputype dependent.  When R is used 
> from different types of machines (say, HP and Sun) that share a common 
> filesystem (say afs or dfs) then loading the wrong type of .RData file can 
> lead to mysterious behaviour.   In my environment, undergraduate students are 
> the most likely to log into different cputypes, and they end up being quite 
> confused.   To solve this problem in S I set up an S_WORK environment variable 
> that set the name of the .Data area, via the front end shell script.  For 
> example, on the HP I use .Data.hp.   I would like to see the same facility in 
> R.  if R_WORK is missing, then use the standard name.  If R_WORK exists, then 
> use that name as the file to save the R session in.  (Maybe S_WORK exists in 
> Splus only to please me, but it is useful :-).
> 

An alternative that may be worth considering is to make .Rdata machine
independent, perhaps by using the xdr routines -- I think these are
available on Mac and Windows as well as any unix system that does nfs.

luke
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=