[Rd] bulding a package for Windows (path problem?)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Sep 30 15:57:29 CEST 2010
On Thu, 30 Sep 2010, Duncan Murdoch wrote:
> jgarcia at ija.csic.es wrote:
>> I am working on a package with several hydrological functions which
>> builds/checks/INSTALLs gracefully for a Linux box. However, for a
>> Microsoft Windows XP [Versión 5.1.2600] I have the error:
>> C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
> Are you really using version 2.9.2? If so, I think you're on your own. The
> current release is 2.11.1, and our efforts are concentrated on testing the
> alpha/beta of 2.12.0 now.
And I believe he failed to heed the warning not to use a Cygwin build
Please try R 2.12.0 alpha, which does not need any version of Perl to
build/install/check a package.
> Duncan Murdoch
>> Can't locate R/Dcf.pm in @INC (@INC contains: C
>> /ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
>> l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
>> /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
>> usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
>> /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
>> at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
>> BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build line
>> However, the content of the first mentioned folder is:
>> Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm
>> Is there a problem with the way windows abbreviates folder names for long
>> names of names withs spaces? Or the problem is elsewhere?
>> Please, could you help?
>> Thanks and best regards,
>> R-devel at r-project.org mailing list
> R-devel at r-project.org mailing list
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-devel