powered by
options("keep.source")
TRUE
removeSource(fn)
"srcref"
srcref
deparse
fn <- function(x) { x + 1 # A comment, kept as part of the source } fn fn <- removeSource(fn) fn
Run the code above in your browser using DataLab