Re: [Rd] How to link to vignette from .Rd file

2006-11-08 Thread Agner Fog
Thanks for the tip. I had thought of using the demo facility for this but I didn't know how to check for the operating system. This is a clumsy solution, but better than nothing. I agree with Duncan that there is a problem with the help system. It should either have a way to embed formulas and g

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Rich FitzJohn
This all seems very similar to the built-in "vignette" function; e.g. vignette("grid") Cheers, Rich On 11/8/06, Dominick Samperi <[EMAIL PROTECTED]> wrote: > Dirk Eddelbuettel wrote: > > There is options("pdfviewer") -- at least under Unix. Maybe there is > > even an R call to use it on a file,

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Dominick Samperi
Dirk Eddelbuettel wrote: > There is options("pdfviewer") -- at least under Unix. Maybe there is > even an R call to use it on a file, employed by the help system? > Dirk Thanks, Here is a more complete solution that can be turned into a general-purpose function... # Displays PDF file as an R demo

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Gavin Simpson
On Tue, 2006-11-07 at 12:41 -0500, Dominick Samperi wrote: > Duncan Murdoch wrote: > > On 11/7/2006 8:51 AM, Agner Fog wrote: > > > >> I am building a package for various noncentral hypergeometric > >> distributions. > >> > >> I want to include some heavy mathematical formulas. It appears that

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Dominick Samperi
Duncan Murdoch wrote: > On 11/7/2006 8:51 AM, Agner Fog wrote: > >> I am building a package for various noncentral hypergeometric distributions. >> >> I want to include some heavy mathematical formulas. It appears that the >> build and INSTALL commands produce only .chm files and not .pdf files

Re: [Rd] How to link to vignette from .Rd file

2006-11-07 Thread Duncan Murdoch
On 11/7/2006 8:51 AM, Agner Fog wrote: > I am building a package for various noncentral hypergeometric distributions. > > I want to include some heavy mathematical formulas. It appears that the > build and INSTALL commands produce only .chm files and not .pdf files > from my .Rd files under Wind