From ripley at stats.ox.ac.uk  Mon Apr 30 16:24:52 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 30 Apr 2007 15:24:52 +0100 (BST)
Subject: [Rd] Cross compiling with R250
In-Reply-To: <4635ED04.4020908@ipimar.pt>
References: <4635ED04.4020908@ipimar.pt>
Message-ID: <Pine.LNX.4.64.0704301522040.22525@gannet.stats.ox.ac.uk>

You are pretty clearly not cross-compiling 'with R 2.5.0' (sic), as R 
2.5.0 does contain Sys.setenv.

Looks like the R on Linux you are using is not R 2.5.0, and please 
cross-check the instructions.

This has been tested.

On Mon, 30 Apr 2007, ernesto wrote:

> Hi,
>
> I'm cross compiling win R in a linux Ubuntu Edgy and I'm getting an
> error with the utils package. Sys.setenv exists on my R 2.5.0 ...
>
> I'm using the tools provided for R250 in
> http://www.stats.ox.ac.uk/pub/Rtools/i586-cross-tools.tar.bz2
>
> Any ideas ?
>
> Regards
>
> EJ
>
>
> ---------- Making package utils ------------
>  adding build stamp to DESCRIPTION
>  installing NAMESPACE file and metadata
>  preparing package utils for lazy loading
> Error: could not find function "Sys.setenv"
> Execution halted
> make[5]: *** [lazyload] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [pkg-utils] Error 2
> make[2]: *** [rpackage] Error 1
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/ernesto/ipimar/devel/R/ccompile250/WinR/R-2.5.0/src/gnuwin32'
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Cross compiling with R250
Prof Brian Ripley