Correction to ?alist (PR#8904)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Correction to ?alist (PR#8904)

François Pinard
Hi, people.  ?alist says:

     'alist' is like 'list', except in the handling of tagged arguments
     with no value.

As written, this description is misleading.  For example:

    > list(e=3+5)
    [1] 8

    > alist(e=3+5)
    3 + 5

We are not in the situation of tagged arguments with no value, and then,
clearly, 'list' and 'alist' behave differently.  The 'alist' documentation
probably needs to be amended, or clarified.

--please do not edit the information below--

 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status = Under development (unstable)
 major = 2
 minor = 4.0
 year = 2006
 month = 05
 day = 13
 svn rev = 38058
 language = R
 version.string = R version 2.4.0 Under development (unstable) (2006-05-13 r38058)


Search Path:
 .GlobalEnv, package:methods, package:stats, package:utils, package:datasets, fp.etc, package:graphics, package:grDevices, Autoloads, package:base

François Pinard

[hidden email] mailing list