[R] How to specify R CMD INSTALL arguments

Patrick Connolly p_connolly at slingshot.co.nz
Fri Feb 19 11:03:01 CET 2010


I've become a bit rusty using R CMD INSTALL from the shell prompt
since the install.packages normally works so well.

One of the arguments to R CMD INSTALL is --configure-args=ARGS

>From looking at the rsprng package's configure file, it would seem
that I need to be able to get this line to work:
SPRNG_INCLUDE="-I${SPRNG_ROOT}/include"

My sprng.h is in /usr/local/sprng2.0/include/, so I think I need to
know how I specify what SPRNG_ROOT is with --configure-args.  I
couldn't work out where braces, quotes and $ characters are used in
this context.

Or do I have to specify SPRNG_ROOT as an environment variable?


TIA


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list