[R] Re-execute previous command

mnstn pavan.namd at gmail.com
Tue Feb 9 17:21:01 CET 2010


Hello All,
In bash, to re-execute a command, say,  'gnuplot plot.gnu', one can type
!gnu. Is there a similar feature in the R console? For example:
plot(g1$mean,g2$mean)
.
.
.
Lines, many lines of commands
->Here I want to repeat the previous plot command.
!plot and plot(+TAB) do not work.

This question was asked in this forum back in 2006 but the answer seems to
have been lost somewhere in their discussions. This is the thread
http://n4.nabble.com/R-command-line-need-intelligent-command-history-recall-td793072.html#a793075
. Can some one comment if there is a way to do it?

Thank you,
MoonStone
-- 
View this message in context: http://n4.nabble.com/Re-execute-previous-command-tp1474629p1474629.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list