From hb at biostat.ucsf.edu  Sat Feb 12 22:57:41 2011
From: hb at biostat.ucsf.edu (Henrik Bengtsson)
Date: Sat, 12 Feb 2011 13:57:41 -0800
Subject: [Rd] R 2.13.0 on Windows: R CMD check and '"du"' not found
Message-ID: <AANLkTinypB_0XrtxrxyK26URcCeUWuMFFFsXKzqa7G1X@mail.gmail.com>

FYI, I'm sure the following is a temporary issue, but in case it slips
through, I want to raise it here.  On Windows 7 64-bit, running Rcmd
check on R devel gives:

 * using R version 2.13.0 Under development (unstable) (2011-02-11 r54330)
* using platform: x86_64-pc-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'aroma.core/DESCRIPTION' ... OK
* this is package 'aroma.core' version '1.9.4'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking for executable files ... OK
* checking whether package 'aroma.core' can be installed ... OK
* checking installed package size ...Error in system2("du", , TRUE,
TRUE) : '"du"' not found
Execution halted

That is, the 'du' (disk usage) executable is missing.

I've verified that installing the latest Rtools
[http://www.murdoch-sutherland.com/Rtools/Rtools212.exe] does not
solve it (=it does not contain 'du').  BTW, is there a way to know
when Rtools have been updated relative to the version you already have
installed?

/Henrik

PS. Placing the 'du.exe' executable of UnxTools
(http://sourceforge.net/projects/unxutils/) in the bin/ directory of
Rtools (e.g. C:/Rtools/bin/) provides a workaround.


> sessionInfo()
R version 2.13.0 Under development (unstable) (2011-02-11 r54330)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base



[Rd] R 2.13.0 on Windows: R CMD check and '"du"' not found
Henrik Bengtsson