[R] building packages in Windows under R 1.2.1

John Fox jfox at mcmaster.ca
Mon Jan 22 03:23:17 CET 2001

Dear list members,

I'm experiencing difficulty in building a package in R 1.2.1 under Windows 
2000, using, as far as I can tell, the same approach that I used 
successfully in R 1.2.0.

More specifically, "rcmd build" produces the following error:

	C:\rw1021\src\library>c:\rw1021\bin\rcmd build car
	Please set TMPDIR to a valid temporary directory

It looked to me as if "rcmd build" wanted an environment variable called 
TMPDIR, so I set one, but this didn't help.

Curiously, "rcmd build" under R.1.2.0 (which is also on my system) still works:

	C:\rw1021\src\library>c:\rw1020\bin\rcmd build car
	* checking for file `car/DESCRIPTION' ... OK
	* preparing `car':
	* checking whether `INDEX' is up-to-date ... NO
	* creating new INDEX
	* checking whether `data/00Index' is up-to-date ... NO
	* creating new data/00Index
	* removing junk files
	* building `car_0.6-0.tar.gz'

After this, I can use "rcmd check" and "rcmd install" from version 1.2.1 to 
finish the job:

	C:\rw1021\src\library>c:\rw1021\bin\rcmd check car
	* checking for working latex ... OK
	* using log directory C:/rw1021/src/library/car.Rcheck

	. . .

	C:\rw1021\src\library>c:\rw1021\bin\rcmd install car

	make: Entering directory `/rw1021/src/gnuwin32'

	. . .

The package in question includes no compiled code.

Any help you might offer would be appreciated.


  John Fox
  Department of Sociology
  McMaster University
  email: jfox at McMaster.ca
  web: www.socsci.mcmaster.ca/jfox

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list