[R] Access function as text from package by name

Sigbert Klinke @igbert @ending from wiwi@hu-berlin@de
Thu Sep 27 12:30:39 CEST 2018


Hi,

I want to have a function, e.g. graphics::box, as text.
Currently I'am using

deparse(eval(parse(text='graphics::box')))

It is important that '::' and ':::' can be used in the name.

Is there a simpler way?

Thanks

Sigbert

-- 
https://hu.berlin/sk
https://hu.berlin/mmstat3



More information about the R-help mailing list