[R] converting strings to expressions

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Sep 14 22:40:44 CEST 2006


On 9/14/06, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> On Thu, 14 Sep 2006, Deepayan Sarkar wrote:
>
> [...]
>
> > Ah, I'd forgotten about parse. A link from ?expression might be reasonable.
>
> But it says
>
> Details:
>
>       'Expression' here is not being used in its colloquial sense, that
>       of mathematical expressions.  Those are calls (see 'call') in R,
>       and an R expression vector is a list of calls, typically as
>       returned by 'parse'.
>
> so it already has a link.

Right, I missed that (although I remember reading the first part of
that paragraph).

Deepayan

>
> 'Expression' was often misused in the R documentation, and a couple of
> months ago I tried to move to a more careful usage.
>
> --
> 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 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>



More information about the R-help mailing list