I'd like to insert (for example) the current datetime into a comment so
it goes into the history.

I can of course cut and paste the results of date() into a comment line,


but it would be easier and more powerful to be able to type something
like

> hstamp()

and have it go into the history.

More generally, I would like to put any expression to be evaluated into
this function.

For example,

> hstamp(memory.size(TRUE))

would insert a comment like

# 12279808

after the hstamp command into the history.

Probably one should avoid any expressions with assignment effects or
large amounts of output.

 

Maybe I'm thinking about this all wrong, so please enlighten me if so.

I searched all the help and archives as well as I could.

 

--------------

> version

         _              

platform i386-pc-mingw32

arch     i386           

os       mingw32        

system   i386, mingw32  

status   Patched        

major    2              

minor    0.0            

year     2004           

month    10             

day      18             

language R         

 

Thanks!

David L. Reiner

 

Rho Trading

440 S. LaSalle St -- Suite 620

Chicago  IL  60605

 

312-362-4963 (voice)

312-362-4941 (fax)

 

 


	[[alternative HTML version deleted]]


