[R] get arguments passed to function inside a function

Jannis bt_jannis at yahoo.de
Thu Sep 1 17:14:28 CEST 2011

Dear list,

I am wondering whether there is an (easy) way to access all arguments and their values passed to a function inside this function and (for example) store them in a list object?

I could imagine using ls() inside this function and then looping through all names and assigning list entries with the values of the respective objects but I could imagine that there is already something ready made in R to achieve this.

Does anybody have an idea?


More information about the R-help mailing list