[R] ?for

Angel angel_lul at hotmail.com
Thu Nov 20 21:37:49 CET 2003


Windows 98 with R 1.7.1: ? paste("help") opens help for help in my machine.
In my linux debian with R 1.8.1 beta it opens the help for paste.
I am even more puzzled now!, is this system dependent or R-version
dependent?
----- Original Message -----
From: "Ray Brownrigg" <ray at mcs.vuw.ac.nz>
To: <angel_lul at hotmail.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Friday, November 21, 2003 3:42 AM
Subject: Re: [R] ?for


> > I thought I was getting to grips with it, until last reply from Prof
Brian
> > Ripley's. At least in my Windows and Linux boxes
>
> Actually it was my reply that suggested ?paste("help")
>
> > ? paste("help")
> > opens the help for help (!?)
>
> Not on my systems! [Solaris, NetBSD, Windows 98].  I believe it should
> open the help for paste().
>
> The point is that it requires a syntactically correct statement after
> the ? so that the command parses correctly (with ? as a unary
> operator), but the result is to provide the help for the first
> syntactic element of the parsed expression, *without* evaluating the
expression.
>
> Ray Brownrigg
>




More information about the R-help mailing list