[R] can't get rcmd to work on windows2k....

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed May 15 07:04:31 CEST 2002


On Tue, 14 May 2002, Jeff D. Hamann wrote:

> I'm trying to make sure my R package will install properly (build help
> files, etc) and when I try to run the rcmd check (or any rcmd option) I get
> the following error. Does dcf.pm stand for perl module? If not, why do I get
> this message?

R/dcf.pm is indeed a Perl module.

You have ignored the instructions (readme.packages, INSTALL) which say:

    The Windows port of perl5, available via
    http://www.activestate.com/Products/ActivePerl/.

Cygwin is a completely different port of Perl, and as you can see, it is
not interpreting Windows paths correctly.

Note that you seem also to have ignored

   BEWARE: Don't expect this to work if the path to R_HOME contains spaces.

although on some older versions of Windows you may be able to get away
with that.

We could explicitly say that the Cygwin port of Perl does not work, but
there would be no point in putting that in instructions that people don't
bother to read, would there?


> C:\systemfit\r_code>rcmd check --help
> Can't locate R/Dcf.pm in @INC (@INC contains: c
> \PROGRA~1\r\rw1041\share\perl; /usr/lib/perl5/5.6.1/cygwin-multi
> /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi /u
> sr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
> c:\PROGRA~1\r\rw1041/bin/check line 32.
> BEGIN failed--compilation aborted at c:\PROGRA~1\r\rw1041/bin/check line 32.
>
> Thanks,
> Jeff.
>
> Jeff D. Hamann
> Hamann, Donald & Associates, Inc.
> PO Box 1421
> Corvallis, Oregon USA 97339-1421
> Bus. 541-753-7333
> Cell. 541-740-5988
> jeff_hamann at hamanndonald.com
> www.hamanndonald.com
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list