From ripley@stats.ox.ac.uk  Tue Sep 28 18:19:54 1999
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Tue, 28 Sep 1999 18:19:54 +0100 (BST)
Subject: read.fwf, perl on win
In-Reply-To: <37F0EB7C.560D18AC@univie.ac.at>
Message-ID: <Pine.GSO.4.05.9909281813250.28124-100000@auk.stats>

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

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Prof Brian D Ripley