Skip to content

read.fwf, perl on win

3 messages · Erich Neuwirth, Brian Ripley

#
i just used read.fwf
(which calls perl)
and i noticed something.

i also have mat;lab installed on this machine,
and matlab also installs a version of perl,
but a different one.
additionally, matlab puts its bin directory in the system
path. so, if one does not canerully set the path,
r will call the matlab verion of perl,
and things won't work.

if anybody is collection a list of pitfalls,
this probably should go there.


--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 28 Sep 1999, Erich Neuwirth wrote:

            
That's horrible! There is an official current Perl, and that
works for R, so I presume that Matlab has an outdated one (Perl 4 ?)
Do you know what version Matlab uses?

One thing we can do is to put a require 5.001; or whatever in the
script.

This will apply on binary Unix distributions too, I assume.
With n packages there seem to be n^2 interactions.
#
here is the version information.
one of the problems i noticed is that
libraries seem to be different.
i had an error because
perl called 
getopt.pl,
and the library module was called
getopts.pl

since i changed my path so the official perl
from www.perl.org is found first,
things work.



-=-=-=-=-=-=-=-
This is perl, version 5.003_07

Copyright 1987-1996, Larry Wall

        + suidperl security patch
        Win32 port Copyright (c) 1995-1996 Microsoft Corporation.
                All rights reserved.
        Developed by ActiveWare Internet Corp.,
http://www.ActiveWare.com

Perl for Win32 Build 307 - Built 10:11:54 Jul 15 1997

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5.0 source
kit.
Prof Brian D Ripley wrote:
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._