Skip to content
Prev 20993 / 63424 Next

Environment variable MAKE not defined on Windows

Duncan Murdoch <murdoch at stats.uwo.ca> writes:
I guess on non-Windows systems MAKE gets defined when R is
built. Perhaps a similar thing should happen when I build my own R on
Windows, because then I must have a working make?

I realize that the windows R is distributed in binary form; perhaps
these could be configured not to include MAKE and other environmental
variables? For instance, I notice some unlikely-to-be-generally-useful
variables like PERL5LIB and TEXINPUTS hard-coded in

R_HOME/src/gnuwin32/front-ends/rcmdfn.c

Also, the documentation ?Startup is not correct, at least if 'factory
fresh' means newly built -- there does not appear to be an
etc/Renviron.site on Windows.

Description:

   The name of the site file is the one pointed to by the environment
   variable 'R_ENVIRON'; if this is unset or empty,
   '$R_HOME/etc/Renviron.site' is used (if it exists, which it does
   not in a "factory-fresh" installation except on Windows). 

Finally, the buildVignettes() code might be modified to more
forcefully notify the user of the inadequacies of their system.

Martin