powered by
printme(x = NULL, prefix = NULL, envir = sys.frame(sys.parent(0)))
environment
logme
## print an object x1 <- 1:6 printme(x1) ## print with a prefix foo <- function(x,envir=sys.frame(sys.parent(0))){ printme(x,match.call(),envir=envir) invisible() } foo(1:6)
Run the code above in your browser using DataLab