Skip to content
Prev 38775 / 63424 Next

problem building R 2.12.1 64-bit on Windows 7

Hello,

It seems the problem was as elementary as me mis-interpreting the
instructions in 3.1.3 of the R Installation and Administration manual:

"Look at ?MkRules.dist? and if settings need to be altered, copy it to
?MkRules.local? and edit the settings there."

I took that to mean that you only copy the settings that need to be
altered to a new local file, so the majority of required settings
weren't passed to MkRules itself. "Copy it" means copy the file, not
just the setting/s - a poor reading on my part, and easily checked by
seeing the resulting MkRules file.

make all recommended ran to completion without error, and with
Kaspersky in full operation.

Thanks again for the patience, I've added my updated notes below.

Cheers, Mike.

----------------------------------
Context
----------------------------------

Using Rtools212.exe, with MiKTeX, no static HTML help, and no
installer build.

Everything installed is Run As Administrator, including the command
prompt used to build R.

-----------------------------------
Environment Variables
-----------------------------------

These environment variables are set:

PATH

Rtools and MiKTeX installed, with the following at the start of PATH:

c:\inst\R\Rtools\bin;c:\inst\R\Rtools\perl\bin;c:\inst\R\Rtools\MinGW\bin;c:\inst\R\Rtools\MinGW64\bin;C:\inst\MiKTeX\miktex\bin;

TAR_OPTIONS

Options to avoid messages when extracting sources:

--no-same-owner --no-same-permissions

TMPDIR

I can write to this directory:

G:\systemTEMP

--------------------------------
Build steps
--------------------------------


1) Extract from the archive

tar -xf R-patched_2010-12-27_r53886.tar.gz

2) Copy Rsrc "src/" and "Tcl/" into R-patched/ from the relevant 64
bit Rtools source

3) Copy [R_HOME]/src/gnuwin32/MkRules.dist as MkRules.local and make
the following changes (the jpeg setting is not required I think, I
just want to report exactly what I did)

diff MkRules.dist MkRules.local

< WIN = 32
---
64c64
< # JPEGDIR = jpeg-8a
---
4) Make

cd R-patched/src/gnuwin32
make all recommended
On Fri, Dec 31, 2010 at 10:53 AM, Michael Sumner <mdsumner at gmail.com> wrote: