[R] pdf package help files

Spencer Graves spencer.graves at structuremonitoring.com
Sat Dec 18 22:07:41 CET 2010

       The best way to get a pdf version of any CRAN package is to your 
favorite CRAN mirror, click "Packages", then find the package of 
interest.  "Reference manual" is a pdf version of the package 
documentation.  This also includes other information such as Vignettes, 
which can be extremely valuable for getting an introduction to the package.

       The standard "R CMD check" process for compiling a package 
produces a pdf version of the manual.  However, this is not normally 
retained with the installed package.

       Hope this helps.

On 12/18/2010 12:44 PM, David Winsemius wrote:
> On Dec 18, 2010, at 2:20 PM, eric wrote:
>> Newbie here...just learning
>> Do most packages come with pdf versions of the help files ? If yes, 
>> how to I
>> access the entire pdf file to be able to print it ? Is there a standard
>> command for that ?
> There may be one but I don't know it if there is. The pdf files to 
> which you refer are usually in the doc directory for each package (and 
> can be found at CRAN as well). For example on my standard nstallation 
> of R2.12 the pdf describing the gsubfn package is found it in:
> /Library/Frameworks/R.framework/Versions/2.12/Resources/library/gsubfn/doc/gsubfn.pdf 
> Each OS is different but once you find the root of R's installation 
> there should be "library" and package sub-directories with "doc" 
> sub-sub-directories. Not all packages have such a directory. The first 
> one I looked in was lattice and I could not find one.
>> -- 
>> View this message in context: 
>> http://r.789695.n4.nabble.com/pdf-package-help-files-tp3093926p3093926.html
>> Sent from the R help mailing list archive at Nabble.com.
>> ______________________________________________
>> R-help at 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.
> David Winsemius, MD
> West Hartford, CT

More information about the R-help mailing list