Eleni Rapsomaniki <e.rapsomaniki <at> mail.cryst.bbk.ac.uk> writes:
> I know one way to see the code for a hidden function, say function_x, > is using default.function_x (e.g. summary.default). But how can I see > the code for imported packages that have no namespace (in this case > Design)? Just type the name without () library(Design) Surv For namespaces, you might also try getAnywhere(myfunctioname) But note that what you see is the bare-bones codes, not the source. To see comments, for example, better download the code from CRAN, e.g. from: http://cran.at.r-project.org/web/packages/abind/index.html Dieter ______________________________________________ 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.