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 <yunni0...@gmail.com> schrieb am Do, 14.4.2011: > Von: Soyeon Kim <yunni0...@gmail.com> > Betreff: [R] How to see a R code from a package? > An: r-help@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@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@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.