On Mar 4, 2014, at 10:21, "Wang, Zhu" <zw...@connecticutchildrens.org> wrote:

> Dear Helpers,
> 
> I wanted to import an S3 method from package glmnet to my own R package. 
> Specifically, I tried the following:
> 
> plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, 
> ...) UseMethod("glmnet")
> 
> I got the following message when installing my package:
> 
> Error : object 'plot.glmnet' is not exported by 'namespace:glmnet'
> 
> Is there a correct way to import?

http://cran.r-project.org/doc/manuals/R-exts.html#Specifying-imports-and-exports

> 
> Thanks,
> 
> Zhu
> 
> 
> 
> 
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to