[R] Output and history

Daniel Mastropietro mastropi at uwalumni.com
Wed Jul 17 00:46:03 CEST 2002


I have the following two questions, rergarding:

1) Is it possible to have the output of a command automatically displayed, 
without explicitly requesting it after the command, and without using the 
print() function? For example, I want to see the value of 'a'  when I write 
for instance 'a <- rep(1,10)'.
I tried setting the 'echo' option to TRUE but it has no effect on that.

2) Is there a way to selectively recall a previously typed command based on 
the first characters of the command?
I am thinking of something similar to this: if one types 'pl' at the prompt 
and then preses the up arrow key, only the commands starting with 'pl' will 
show up in the command line.

Daniel Mastropietro

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