[R] problem with Rcmd check

M. Edward Borasky znmeb at borasky-research.com
Thu Jan 11 05:24:11 CET 2001


Perl on Win95/Win98/WinME is limited by the capabilities of the command-line
editor. There are applications that flat-out can't use it; check the Perl
Data Language (PDL) pages for the gory details. I have personally given up
on Windows ME, though for different reasons: the worst thing that happened
to me was the Visual Studio blue-screened when trying to do post-build
commands. This is probably something to do with the lame command line
interpreter. I went out the next day and spent $330 -- $300 for Windows 2000
Professional and $30 for Red Hat Linux. I am now a happy dual-booter :-).

-----Original Message-----
From: owner-r-help at stat.math.ethz.ch
[mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Prof Brian Ripley
Sent: Wednesday, January 10, 2001 9:49 AM
To: Agus Salim
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] problem with Rcmd check


Thanks to some debugging by Duncan Murdoch, it looks like this is a Perl
problem on Win98/ME at least.  As far as I can tell Perl's system command
calls command.com on that system, and at times that gets caught out by
line lengths and redirections.

So please let me know which version of Windows you have.

It's pretty unpredictable, and this did work on my Win98 mini-notebook
with a very small example (ash) but the undoc check failed there.
I was able to get it all to work by changing shell using COMSPEC, but
I cannot distribute the shell I did use.  Anyone know of a reliable
shell foo.exe for Win98 that uses `foo.exe /c commands...' ?  Otherwise
I can write a wrapper for sh.  Actually, I might be able to avoid the
shell here by using a list argument for system....

You might begin to see why Guido and I changed to NT about 2 years' ago.


On Wed, 10 Jan 2001, Agus Salim wrote:

> At 19:51 09/01/01 +0100, Peter Dalgaard BSA wrote:
> >Prof Brian D Ripley <ripley at stats.ox.ac.uk> writes:
> >
> >> On 9 Jan 2001, Peter Dalgaard BSA wrote:
> >>
> >> > Agus Salim <a.salim at ucc.ie> writes:
> >> >
> >> > > * creating meanscore-Ex.R ... ERROR
> >        ^^^^^^^^
> >
> >> > > But when I'm using the primitive command `make pkgcheck'
> >> > > from c:/rw1020/rw1020/src/gnuwin32, the meanscore-Ex.R file
> >> > > is successfully created and the output is correct.
> >> >
> >> > I think the thing to do at this point is to run something like
> >> >
> >> > rterm.exe --vanilla < meanscore-Ex.R
> >> >
> >> > (except that one or both of rterm.exe and meanscore.R probably need
to
> >> > have a full path). Then watch the output and see where the error
> >> > comes from.
> >>
> >> The error is in creating meanscore-Ex.R.  Agus Salim is asking the list
> >> what he asked me privately a while ago.  I have no idea, and him to
debug
> >> the perl on his system.  I got no reply!  The error would appear
> >> to be from Rcmd massage-Examples.sh.
> >
> >Argh! Sorry. But the strategy persists: Try doing the relevant steps
> >manually and get more clues, either in the form of error messages or
> >in pinpointing which spot in the input files triggers the error.
> >
> >A "set -x" inserted near the beginning of the massage-Examples script
> >might be helpful (um, this is Bash, right?).
>
>
> Thanks to Prof. Dalgaard and Prof. Ripley. Honestly, I'm new to Perl
> so I couldn't check the script file to locate the problem. However,
> I just managed to get an introductory book on Perl, I'll see what
> I can learn from it.
>
>
> Thanks a lot,
>
> Agus
> Agus Salim
> PhD student
> Dept. of Statistics
> University College Cork
> Ireland
> Tel:353-21-4902197
>
>
>

--
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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


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



More information about the R-help mailing list