Re: [R] how to set environment variables?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 20 Oct 2005 - 21:51:24 EST

On Thu, 20 Oct 2005, Andreas Zankl wrote:

> The help file of the R bitmap function says that I have to set the
> environment variable R_GSCMD to the path of my Ghostscript
> installation.

Actually, it does not say that. It says you _can_ specify the path to your executable (not the installation) that way. It will work without doing so if the executable 'gs' (on a Unix-alike) is on your path, which it normally is on Unix-alikes.

> How do I set this variable (either by commandline or in
> R.app for Mac)? Sorry if this sounds like a very basic question, but
> I could not find the answer anywhere else.

?Sys.putenv for how to do it from R. help.search("environment variable") got me there.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Oct 20 22:12:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:46 EST