I\'m trying to write a function to do a particular job (in my case, analyse a data set for outliers) so the first things I want to do is look at how other people have done s
For another case not covered in the answers here see the answers reported in "view source code in R"
which deals with the case of functions that show up as "Non-visible" when you run methods(function.I.am.looking.for)
In short you can then use a command of the form: package:::function.class to see the code you want.