[R] error: compiling R package

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jun 25 10:19:36 CEST 2009


On Thu, 25 Jun 2009, Stein, Luba (AIM SE) wrote:

> Hello,
>
> I tried to build an own R package on Windows XP but get an error which I can't solve.
> I called my package "pack". It works to creat the file "pack" with package.skeleton().
>
> But when I try to compile it with Rcmd build --binary pack I obtain the following error:

Hmm, at least use Rcmd INSTALL first, and Rcmd build --binary is never 
preferred to Rcmd INSTALL --build on Windows.

> IO::Seekable::seek missing at C:/R/R-2.9.0/share/perl/FileHandle.pm line 59.

That's an error message from Perl.
You need to mend your broken Perl installation.

> Compilation failed in require at C:/R/R-2.9.0/share/perl/R/Dcf.pm line 49.
> BEGIN failed--compilation aborted at C:/R/R-2.9.0/share/perl/R/Dcf.pm line 49.
> Compilation failed in require at C:\R\R-2.9.0/bin/build line 28.
> BEGIN failed--compilation aborted at C:\R\R-2.9.0/bin/build line 28.
>
> So if someone could help me on this I would be very greatful.
>
> Best,
>
> Luba Stein

-- 
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




More information about the R-help mailing list