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 ? -- View this message in context: r.789695.n4.nabble.com/pdf-package-help-files-tp3093926p3093926.html Sent from the R help mailing list archive at Nabble.com.
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: 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 > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius, MD West Hartford, CT
On 18/12/2010 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 ?No, the pdf version is not normally installed. If you want to see the same content on a locally installed package, run help_start() then browse to the package. The pdf files are just concatenated versions of all the help pages shown in that index. You can produce the pdf using R CMD Rd2dvi --pdf foo where foo is a directory holding the source code to the package. Alternatively, as others have suggested, just look at the PDF on CRAN. Duncan Murdoch