Alejandro Munoz del Rio
2004-May-23 18:18 UTC
[R] subset of documentation for a given recommended package
Dear R-help readers, In R 1.8.1 it was easy to print the documentation for recommended packages: go to the full reference manual (refman.pdf) and print the relevant pages, which were contiguous. With R 1.9.0 some of those packages (e.g. "ts") have become part of the "stats" package, and hence their documentation is scattered throughout that of the other component packages of "stats". Is there a way of regenerating the documentation of a specific package, short of painstakingly identifying the relevant pages in the new reference manual? alejandro
Prof Brian Ripley
2004-May-23 18:53 UTC
[R] subset of documentation for a given recommended package
First, neither ts nor stats are/were *recommended* packages, as their DESCRIPTION files makes clear. Second, package ts is now empty, so your question makes no sense. Nor I think did it before, as the time series functionality was never entirely in package ts, and at least now it is entirely in stats. On Sun, 23 May 2004, Alejandro Munoz del Rio wrote:> In R 1.8.1 it was easy to print the documentation for recommended > packages: go to the full reference manual (refman.pdf) and print the > relevant pages, which were contiguous. With R 1.9.0 some of those > packages (e.g. "ts") have become part of the "stats" package, and hence > their documentation is scattered throughout that of the other component > packages of "stats". Is there a way of regenerating the documentation of > a specific package, short of painstakingly identifying the relevant > pages in the new reference manual?You can easily select help files with keyword `ts' and use Rd2dvi on them to produce a printable manual. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Duncan Murdoch
2004-May-24 07:15 UTC
[R] subset of documentation for a given recommended package
On Sun, 23 May 2004 13:18:37 -0500, Alejandro Munoz del Rio <munoz at stat.wisc.edu> wrote:>Dear R-help readers, > >In R 1.8.1 it was easy to print the documentation for recommended packages: go >to the full reference manual (refman.pdf) and print the relevant pages, which >were contiguous. With R 1.9.0 some of those packages (e.g. "ts") have become >part of the "stats" package, and hence their documentation is scattered >throughout that of the other component packages of "stats". Is there a way of >regenerating the documentation of a specific package, short of painstakingly >identifying the relevant pages in the new reference manual?If you have a list of the .Rd files you want, you can use R CMD Rd2dvi --pdf <list of files> to produce pdf versions of a list of files. Duncan Murdoch