Hi,
On Jul 28, 2009, at 4:16 PM, voidobscura wrote:
>
> Hi, I run R on a server via SSH, over a terminal. After loading a
> specific
> package, how do I know what functions are in that package? Is there
> any way
> to list or display them?
Here's one way. Let's say I load the "glmnet" package, at the
prompt I
could use tab-completion to which functions are exported:
R> library(glmnet)
R> glmnet::<TAB><TAB>
glmnet::coef.glmnet glmnet::jerr glmnet::plot.glmnet
glmnet::predict.elnet glmnet::predict.lognet glmnet::print.glmnet
glmnet::glmnet glmnet::nonzeroCoef glmnet::plotCoef
glmnet::predict.glmnet glmnet::predict.multnet
<TAB><TAB> is hitting the tab key twice in quick succession.
There are probably better ways, but there's one option.
-steve
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact