[R] More powerful than objects() or ls()

Patrick Connolly P.Connolly at hortresearch.co.nz
Mon Mar 26 07:11:33 CEST 2001


According to Thomas Lumley:
|> 
|> On Thu, 22 Mar 2001, Patrick Connolly wrote:
|> >
|> > There are times when the date is very valuable information,
|> > particularly years later.  I would like to be able to do something
|> > similar in R but of course, the same method won't work because objects
|> > are not stored as separate unix files in a .Data directory.
|

.....
 
|> comment() does the information management you need. There isn't an
|> automatic way of doing the date information and I can't think ofa general
|> one that wouldn't be horribly slow.  You could add a date-setting function

I think it would be simple enough if I could get something in R to
work the way substitute() does in Splus.  The thinking seems to be
very different between the two dialects.  Maybe if I tinker a bit
longer, I'll get the connexion between them.

|> to your most frequnelty used object creation functions  (perhaps
|> read.table and glm in my case).

That works easily for read.table, and probably for glm, but how would
I make it work for the function function which works internally?  It's
the age of my functions that I'm most interested in -- largely
historical interest.  I've found it immensely useful in Splus.  I'm a
little surprised others aren't so interested.

Thanks Thomas for your help.

best

-- 
*************************************************************
Patrick Connolly
HortResearch                        Great minds discuss ideas;
Mt Albert                           Average minds discuss events; 
Auckland                            Small minds discuss people.
New Zealand                                                 .... Anon
Ph: +64-9 815 4200 x 7188
*************************************************************
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list