[Rd] Environment variable MAKE not defined on Windows

Martin Morgan mtmorgan at fhcrc.org
Fri Jun 9 22:03:30 CEST 2006


On Windows,

> Sys.getenv("MAKE")
  MAKE 
"" 

when (at a DOS prompt)

X:>set MAKE
Environment variable MAKE not defined

On linux,

> Sys.getenv("MAKE")
  MAKE 
"make" 

even when (in a shell)

% echo $MAKE

returns nothing.


This has consequences, e.g., in buildVignette where

system(Sys.getenv("MAKE"))

dutifully does nothing on Windows, but evaluates the vignette Makefile
on linux.

> sessionInfo()
R version 2.4.0 Under development (unstable) (2006-06-08 r38315)
i386-pc-mingw32

> sessionInfo()
R version 2.4.0 Under development (unstable) (2006-05-25 r38197) 
x86_64-unknown-linux-gnu 


Martin
-- 
Bioconductor



More information about the R-devel mailing list