From hb at biostat.ucsf.edu  Tue Feb 15 18:43:01 2011
From: hb at biostat.ucsf.edu (Henrik Bengtsson)
Date: Tue, 15 Feb 2011 09:43:01 -0800
Subject: [Rd] R 2.13.0 on Windows: R CMD check and '"du"' not found
In-Reply-To: <4D57DD13.9060804@gmail.com>
References: <AANLkTinypB_0XrtxrxyK26URcCeUWuMFFFsXKzqa7G1X@mail.gmail.com>
	<4D57DD13.9060804@gmail.com>
Message-ID: <AANLkTi=F4kx8+FuR7p_h7hVHKi=4qtDjw+RJEH7u+_X_@mail.gmail.com>

On Sun, Feb 13, 2011 at 5:30 AM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 11-02-12 4:57 PM, Henrik Bengtsson wrote:
>>
>> 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:
>
> I think you need version r54335 or newer to avoid this error.

Confirm (tried with r54412).  Thxs.

>
>
>>
>> ?* 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?
>
> I usually put news on the page when I update them, but I don't send out
> notices. ?Aren't there services to monitor a page and notify you of changes?

Thanks.  I don't need notices, but wanted to be sure that it is
possible to figure out when it is updated.

I guess I failed to see the following on
http://www.murdoch-sutherland.com/Rtools/ because my illiteracy and "R
2.11.1" caused me to skip the complete paragraph:

Changes since R 2.11.1:
Prior to October 18, 2010, builds of Rtools212.exe did not correctly
install the "extras" required to build R. Version 2.12.0.1892 or later
should fix this. We have now updated all of the tools to current
Cygwin versions, and have updated the compilers, and included the 64
bit compilers into Rtools. See Prof. Ripley's page for the details.
Perl is rarely needed in R since R 2.12.0, so it is by default not
installed. Rtools 2.11 has been frozen.

I see that you now add dates.  That should be enough to know if it is
needed to install the new version.  You are displaying a version
number (e.g. "2.12.0.1892").  Is it possible to check that version
number on an Rtools installation?  Not that important, but could be
useful.

Thanks

/Henrik

>
>
>>
>> /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.
>
> I'll see about adding it with the next update.
>
> Duncan Murdoch
>>
>>
>>> 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
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



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