[R] Access function as text from package by name
Rui Barradas
ru|pb@rr@d@@ @end|ng |rom @@po@pt
Thu Sep 27 13:55:29 CEST 2018
Hello,
Maybe
capture.output(graphics::box)
Hope this helps,
Rui Barradas
Às 11:30 de 27/09/2018, Sigbert Klinke escreveu:
> 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
>
>
>
> ______________________________________________
> R-help using 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.
>
More information about the R-help
mailing list