[R] How to see a R function's code

TeeJay tommesmcpommes at gmx.net
Sat Mar 7 23:52:51 CET 2015

Hi there,

I know this is quite an old post but I am wondering if the answer still

I would like to access the boxplot function. So, I tried to follow the
instruction of Uwe Ligges’s article  “Accessing the Sources”
<http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf>  . However, in
“$RHOME/src/library/” there is no graphics folder! At this location I only
have a “windlgs” folder. I have a graphics folder in “$RHOME/library/”
though. But I am not able to find a “plot.R” in any of the subfolders as
mentioned in Uwe’s article.

Furthermore, if I debug into the boxplot function in RStudio, I get a
warning stating “Debug location is approximate because the source is not

I already tried to reinstall R but that also did not add the “graphics”
folder to the “src” folder. Any ideas are appreciated a lot!

View this message in context: http://r.789695.n4.nabble.com/How-to-see-a-R-function-s-code-tp4380111p4704296.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list