[R] Ways to get all function signatures of a library?

Bert Gunter gunter.berton at gene.com
Wed Oct 29 14:57:34 CET 2014


Perhaps the
?formals
function in R is what you are looking for. Or maybe its (internal C) code.

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll




On Wed, Oct 29, 2014 at 6:09 AM, Thorsten Jolitz <tjolitz at gmail.com> wrote:
>
> Hi List,
>
> are there ways to get signatures of all functions of a library in a
> format that is easy to process by a programm (list, xml or so)?
>
> The info about function name, return value and arguments (types) is all
> there in the docs, but more in a human readable format embedded in much
> extra information. How to extract it without writing a documentation
> parser or so? I'm pretty sure the functionality exists, but did not find
> it.
>
> Thanks for any hint.
>
> --
> cheers,
> Thorsten
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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