If I download a package -- how can I explore what it does? For instance, I downloaded the TTR package of off CRAN -- but how can I find out what it does? Is there a type of API doc for each package? JB
On 5/26/2009 10:25 AM, JannaB wrote:> If I download a package -- how can I explore what it does? For > instance, I downloaded the TTR package of off CRAN -- but how can I > find out what it does? Is there a type of API doc for each package? JBIf you ask for help using ?TTR, you'll get an overview page. This is a recommended convention for all packages, but not all of them do it. TTR did. Duncan Murdoch
Janna - Another thing that's sometimes useful with a new package is to run the example function, like example(TTR) This will run the examples from the documentation to give you a quick idea of what the package can do. - Phil Spector Statistical Computing Facility Department of Statistics UC Berkeley spector at stat.berkeley.edu On Tue, 26 May 2009, JannaB wrote:> If I download a package -- how can I explore what it does? For > instance, I downloaded the TTR package of off CRAN -- but how can I > find out what it does? Is there a type of API doc for each package? JB > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >