[R] How to view the source of code?

Berend Hasselman bhh at xs4all.nl
Fri Aug 23 09:04:06 CEST 2013


On 23-08-2013, at 07:40, Marino David <davidmarino838 at gmail.com> wrote:

> Hi all R mailing listers:
> 
> I am using the coda package. I tried to view the source of HPDinterval code
> by typing fix(HPDinterval), it dispalys as follows:
> 
> function (obj, prob = 0.95, ...)
> UseMethod("HPDinterval")
> Then I search the answers about this case (see below), it still failed.


See

http://stackoverflow.com/questions/10782403/show-source-code-for-function-in-r
http://stackoverflow.com/questions/3485228/view-source-code-in-r

and you could always download the source code of the package (on CRAN).

Berend



More information about the R-help mailing list