> On Oct 18, 2015, at 10:51 AM, Christian Hoffmann <christ...@echoffmann.ch> 
> wrote:
> 
> How can I do e.g. print("unknown"(ls())) and get the variable values in my 
> current environment?

>From your example, it sounds like what you want is simply this:

sapply(ls(), get)


James

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to