Re: [R] How could I see the source code of functions in an R package?

2013-05-17 Thread Duncan Murdoch
On 13-05-17 12:01 AM, David Winsemius wrote: Do this search with your favorite search tool Accessing the sources ligges (Uwe Ligges is the author of a comprehensive article on the topic in R News.) That article is also linked from the R help system. After help.start(), look for "technical

Re: [R] How could I see the source code of functions in an R package?

2013-05-16 Thread David Winsemius
Do this search with your favorite search tool Accessing the sources ligges (Uwe Ligges is the author of a comprehensive article on the topic in R News.) -- David. On May 16, 2013, at 6:58 PM, jpm miao wrote: > Hi, > > How could I see the source code of functions in an R package? > If we t

Re: [R] How could I see the source code of functions in an R package?

2013-05-16 Thread arun
HI, methods(xyplot) #[1] xyplot.formula* xyplot.ts* #  #  Non-visible functions are asterisked lattice:::xyplot.formula function (x, data = NULL, allow.multiple = is.null(groups) ||     outer, outer = !is.null(groups), auto.key = FALSE, aspect = "fill",     panel = lattice.getOption("panel.x

[R] How could I see the source code of functions in an R package?

2013-05-16 Thread jpm miao
Hi, How could I see the source code of functions in an R package? If we type ?function_name , we will see documentations of the function_name. If we type function_name, is what returns just the source code? Could we just save it in an .R file and modify as we want? However, it seems that