[R] How to see a R code from a package?

Soyeon Kim yunni0731 at gmail.com
Thu Apr 14 21:15:05 CEST 2011


Thank you all, but I still cannot see the whole code.
Closest answer is Steve's answer R> glmnet:::predict.cv.glmnet but I
only can see a part of the code.
I am not sure whether it is protected by the programmer on purpose or
I just cannot find where it is.

Soyeon

On Thu, Apr 14, 2011 at 1:18 PM, Jannis <bt_jannis at yahoo.de> wrote:
> Just type the name of your function without (). Or use fix(<functioname>). Or do you need to do something more complicated?
>
>
> HTH Jannis
>
> --- Soyeon Kim <yunni0731 at gmail.com> schrieb am Do, 14.4.2011:
>
>> Von: Soyeon Kim <yunni0731 at gmail.com>
>> Betreff: [R] How to see a R code from a package?
>> An: r-help at r-project.org
>> Datum: Donnerstag, 14. April, 2011 16:24 Uhr
>> Dear R users,
>>
>> Hi. I want know R code of a function: predict.cv.glmnet
>> (which is
>> included in glmnet package).
>> Could you let me know how I can see the R code of the
>> function?
>>
>> Thank you,
>> Soyeon Kim
>>
>> ______________________________________________
>> R-help at r-project.org
>> mailing list
>> 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.
>>
>



More information about the R-help mailing list