read.fwf, perl on win

Prof Brian D Ripley ripley@stats.ox.ac.uk
Tue, 28 Sep 1999 18:19:54 +0100 (BST)


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