> On Jul 8, 2016, at 6:16 AM, T.Riedle <tr...@kent.ac.uk> wrote:
> 
> Dear all,
> 
> 
> I am currently working with the "jvnVaR" package and I need to explain the 
> assumptions behind the function jVaR().
> 
> 
> Is there a function in R which calls the code behind a function?
> 
> 
> Kindest regards


Hi,

If you type the name of the function at the R prompt without the parens:

  > jVaR

That will give you a representation of the source code for the function, save 
any compiled code (e.g. C, FORTRAN, C++) that may be part of the function call.

However, the true source code is available via the package source tarball 
(.tar.gz file) on CRAN:

  https://cran.r-project.org/web/packages/jvnVaR/index.html

The tarball will include any comments/annotations in the code and the source 
for any compiled code that may be a part of the package.

Regards,

Marc Schwartz

______________________________________________
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