[R] printing help files directly from R prompt

Faheem Mitha faheem at email.unc.edu
Tue Nov 25 17:06:59 CET 2008



On Tue, 25 Nov 2008, Uwe Ligges wrote:

> See ?help and its argument "offline"
>
> Uwe Ligges

Thanks, that's very helpful. This doesn't exactly print, but saves the 
help page to a ps file, which is as good as.

> help(write.table, offline=TRUE)
No latex file is available: shall I try to create it? (y/n) y
Saving help page to 'write.table.ps'

If the latex files are installed (eg. r-base-latex on Debian) it just does

> help(read.table, offline=TRUE)
Saving help page to 'read.table.ps'

and indeed the ps files are in that directory.

                               Regards, Faheem.



More information about the R-help mailing list