R-0.90.1 buglet in R shell (PR#375)

About this list Date view Thread view Subject view Author view Other groups

Subject: R-0.90.1 buglet in R shell (PR#375)
William.Venables@cmis.CSIRO.AU
Date: Thu 16 Dec 1999 - 11:20:44 EST


Message-Id: <199912160120.CAA10945@pubhealth.ku.dk>

I recently took "." off my PATH for security reasons and now find
that R does not work in my home directory where the .Renviron
file resides.

The fix is simple. In the R shell startup section replace
". .Renviron" by ". ./.Renviron". The relevant section is:

# Startup
if ${USE_R_ENVIRON}; then # use the one in current dir, or default
  if [ -r .Renviron ]
  then . ./.Renviron # <<-- change
  else [ -r ${R_ENVIRON} ] && . ${R_ENVIRON}
  fi
fi

-- 
-----------------------------------------------------------------
Bill Venables, Statistician, CMIS Environmetrics Project.

Physical address: Postal address: CSIRO Marine Laboratories, PO Box 120, 233 Middle St, Cleveland, Queensland Cleveland, Qld, 4163 AUSTRALIA AUSTRALIA

Telephone: +61 7 3826 7251 Email: Bill.Venables@cmis.csiro.au Fax: +61 7 3826 7304

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST