[R] Cannot Build R From Source - Windows XP
Duncan Murdoch
murdoch.duncan at gmail.com
Wed Jul 14 18:56:07 CEST 2010
On 14/07/2010 12:01 PM, Steve Pederson wrote:
> Hi,
>
> I can't seem to install R from source. I've downloaded the latest
> Rtools211.exe from http://www.murdoch-sutherland.com/Rtools/ & done a
> full installation of that and Inno Setup.
>
> I have set R_HOME as C:\R (and also tried using C:\R\R-2.11.1)
>
> After successfully running 'tar xf R-2.11.1.tar.gz' the modifications I
> have made and saved as MkRules.local are:
> BUILD_HTML = YES & ISDIR=C:/Program Files/Inno Setup 5
>
> I've then run 'make all recommended' from R_HOME\src\gnuwin32 and it
> runs nicely for ages, until I get the following message:
>
>
> building package 'base'
> cannot create /tmp/R612: directory nonexistent
> mv: cannot stat '/tmp/R612': No such file or directory
>
R thinks your temporary directory is called /tmp, but there's no such
directory on your system. R looks for a temporary directory in the
environment variables
TMPDIR, TMP, TEMP. Set TMPDIR to the path to a writable directory and
you should get past this error.
Duncan Murdoch
> make[3]: ***[mkR] Error 1
> make[2]: ***[all] Error 2
> make[1]: ***[R] Error 1
> make: ***[all] Error 2
>
>
> Sometimes the number changes to /tmp/R5776, or something similar but I
> don't think that's the issue.
>
>
> My current setting for PATH are:
> c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;C:\Program Files\PC
> Connectivity Solution\;C:\Program Files\Common
> Files\ArcSoft\Bin;%GTK_BASEPATH%\bin;c:\program
> files\imagemagick-6.4.1-q16;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\dev-cpp\bin\;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
> Files\Common Files\DivX Shared\;C:\Program Files\QuickTime\QTSystem\
>
>
> FWIW, It's a 4yo Dell laptop & I've come across a few quirks with
> installing software over the years. I had also previously installed
> 2.11.1 from the windows executable, but this was uninstalled using the
> uninstall function that comes with it. I'm trying to rebuild to begin
> incorporating some calls to C I'm working on.
>
> Thanks in advance,
>
> Steve
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list