[Rd] ActiveState Perl, cygwin and R (was: cygwin tar?)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Jul 11 14:50:27 CEST 2005
On Mon, 11 Jul 2005, Gorjanc Gregor wrote:
> I have just read mails in thread
> 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.
The problem is earlier: the path separator is ; on Windows and : on
> 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?
No. It is very clearly documented that a Windows Perl is required.
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