[Rd] ActiveState Perl, cygwin and R (was: cygwin tar?)

Gorjanc Gregor Gregor.Gorjanc at bfro.uni-lj.si
Mon Jul 11 14:30:25 CEST 2005


Hello!

I have just read mails in thread

<http://tolstoy.newcastle.edu.au/R/devel/04a/0583.html>

about problems with Cygwin and Rtools. I had the same problems and kept 
just the newest cygwin1.dll and things seem OK now. However I
currently hit the problem with Perl (I have ActiveState and Cygwin Perl
installed). When I tried to work with 'Rdconv' in Cygwin I get the following:

$ R CMD Rdconv --help
Can't locate R/Rdconv.pm in @INC (@INC contains:
c \Programs\R\rw2011beta\share\perl; /usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8 .) at c:\Programs\R\rw2011beta/bin/Rdconv
line 25.
BEGIN failed--compilation aborted at c:\Programs\R\rw2011beta/bin/Rdconv line 25.

As far as I understand there is a problem since Cygwins perl does not
have things properly setup. I did not touch anything yet. But I can see the
problem in first entry of @INC. There should be /cygdrive/c/.. or c:/ (I do
not know if the last one actually works with Cygwins perl) and therefore
things are broken.

If I modified PATH such that ActiveState Perl was before Cygwins Perl, 
everyting was as expected. 

Is there a way to overcome this with Cygwins Perl?

Thanks!

Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.



More information about the R-devel mailing list