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

From: Soyeon Kim <yunni0731_at_gmail.com>
Date: Thu, 14 Apr 2011 14:15:05 -0500

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.
>>
>



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. Received on Thu 14 Apr 2011 - 19:19:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 14 Apr 2011 - 23:10:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive