Skip to content
Prev 10379 / 398503 Next

More powerful than objects() or ls()

On Mon, 26 Mar 2001, Patrick Connolly wrote:

            
They are almost the same. (See V&R's `S Programming' for a detailed
comparison.)   There is a difference when using function arguments:
S uses the initial values, R the current ones, so in R one often needs to
substitute early or take care to work on copies.
Ah, I think most of us keep our functions in files not in objects, even in
S-PLUS. I even keep my datasets in files (or databases).  I know John
Chambers advocates an `S object is master' view in the Green book, but I
don't find it very practical given current tools.  A CVS archive of R/S
code is a very useful way of version control.

B