From pd@lgd @ending from gm@il@com  Fri Jan  4 01:46:44 2019
From: pd@lgd @ending from gm@il@com (Peter Dalgaard)
Date: Fri, 4 Jan 2019 01:46:44 +0100
Subject: [Rd] history of objects() and ls()
In-Reply-To: <c0420341-e400-9e7f-b110-2d970d6e7815@gmail.com>
References: <c0420341-e400-9e7f-b110-2d970d6e7815@gmail.com>
Message-ID: <307C1E66-8B39-44F4-B861-040BAFD99667@gmail.com>

As far as I remember, this comes from S-PLUS, introduced around v.3 (white book?) or maybe v.4, and due to a desire to cut some Unix ties as MS-DOS was taking over the world. However, it was long ago, in a different world, and besides, S-PLUS is dead (mostly).

- Peter 

> On 4 Jan 2019, at 00:45 , Ben Bolker <bbolker at gmail.com> wrote:
> 
> 
>  I found out today (maybe I had known sometime before??) that objects()
> is a synonym for ls().  I'm curious about the history, which seems to go
> at least back to the beginning of R.  It's been thus since SVN revision
> 2 (Sep 1997) ...
> 
> svn cat https://svn.r-project.org/R/trunk/src/library/base/R/attach at 2 |
> grep objects
> 
>  I had a quick look at the Becker & Chambers brown book (1984) and
> Becker and Wilks blue book (1988) on Google books and could find ls but
> not objects() ... ?
> 
>  Anyone happen to know?
> 
> cheers
>   Ben Bolker
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] history of objects() and ls()
Peter Dalgaard