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