From erich.neuwirth@univie.ac.at  Tue Sep 28 21:14:09 1999
From: erich.neuwirth@univie.ac.at (Erich Neuwirth)
Date: Tue, 28 Sep 1999 22:14:09 +0200
Subject: read.fwf, perl on win
References: <Pine.GSO.4.05.9909281813250.28124-100000@auk.stats>
Message-ID: <37F12191.187930C5@univie.ac.at>

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:
> 
> On Tue, 28 Sep 1999, Erich Neuwirth wrote:
> 
> > 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.
> 
> 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.
> 
> > if anybody is collection a list of pitfalls,
> > this probably should go there.
> 
> With n packages there seem to be n^2 interactions.
> 
> --
> Brian D. Ripley,                  ripley@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

--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


read.fwf, perl on win
Erich Neuwirth