last.call {plotrix} | R Documentation |
last.call
searches the command history for the last call that has
a match to the string look.for
. This is currently used to find
plot calls, hence the default search string.
last.call(look.for="plot",look.back=10)
look.for |
The string that will be matched in identifying the last call. |
look.back |
How far to look back in the command history. |
The last call (as a character variable) that contains the string
look.for
.
Jim Lemon
plot(rnorm(20),rnorm(20)) if(dev.interactive()) last.call()