This function will ignore any instances of
so that running
x <- 1
x <- x + 1
will result in
x = 2, not
x = 4 (because
gets re-initialized to
numeric. The last
logical. Whether or not to display the lines getting
executed as a message. Default is
logical. Whether to run the string of code that will be executed, or merely return the character containing its contents.
There are also helper functions
last9 which call this function with
n = 1, 2, ... 9
Note: This function will also ignore past
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.