search for: lsall

Displaying 1 result from an estimated 1 matches for "lsall".

Did you mean: lcall
2013 Mar 12
2
ls() with different defaults: Solution;
...l.names: http://tolstoy.newcastle.edu.au/R/e6/help/09/03/7588.html I have struck upon a solution which so far has performed admirably. In particular, it uses ls() and not its explicit source code, so only has a dependency on its name and the name of its all.names argument. Here is my solution: lsall <- function(...) { thecall <- as.call(c(as.name('ls'), list(...))) newcall <- match.call(definition=ls, call=thecall) if( !('all.names' %in% names(newcall)) ) newcall[['all.names']] <- TRUE eval(newcall, envir=parent.frame()) }#### end...