Correction to ?alist (PR#8904)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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)
    $e
    [1] 8

    > alist(e=3+5)
    $e
    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--

Version:
 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)

Locale:
LC_CTYPE=fr_CA.UTF-8;LC_NUMERIC=C;LC_TIME=fr_CA.UTF-8;LC_COLLATE=fr_CA.UTF-8;LC_MONETARY=fr_CA.UTF-8;LC_MESSAGES=fr_CA.UTF-8;LC_PAPER=fr_CA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=fr_CA.UTF-8;LC_IDENTIFICATION=C

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

--
François Pinard   http://pinard.progiciels-bpi.ca

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Loading...