Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-20 Thread Hadley Wickham
> None of these solutions seem perfect to me. I think that my suggestion is the > most natural, but as you point out it won’t work in all contexts. Perhaps the > safest approach is to give the vignette() command in the text of the help > file, one of your suggestions. If you do that, and you us

Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-20 Thread Fox, John
eorgi Boshnakov > > > -Original Message- > From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On > Behalf Of Fox, John > Sent: 20 November 2018 01:16 > To: Hadley Wickham > Cc: R Package Development > Subject: Re: [R-pkg-devel] creating a link

Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-20 Thread Georgi Boshnakov
vember 2018 01:16 To: Hadley Wickham Cc: R Package Development Subject: Re: [R-pkg-devel] creating a link to a vignette in a .Rd file Dear Hadley, You're right -- my approach was flawed and the document doesn't open even when the file URL is hard-coded in the .Rd file. With that hint, I

Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-19 Thread Fox, John
l to me. I found a couple of queries in a web search but no solution. Thanks for this, John > -Original Message- > From: Hadley Wickham [mailto:h.wick...@gmail.com] > Sent: Monday, November 19, 2018 6:21 PM > To: Fox, John > Cc: R Package Development > Subject: Re:

Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-19 Thread Hadley Wickham
On Mon, Nov 19, 2018 at 4:49 PM Fox, John wrote: > > Dear r-package-devel list members, > > I'd like to create a link to a package vignette from a help file in the same > package, for example to the "partial-residuals" vignette in the effects > package from effect.Rd. I'm able to generate a URL

[R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-19 Thread Fox, John
Dear r-package-devel list members, I'd like to create a link to a package vignette from a help file in the same package, for example to the "partial-residuals" vignette in the effects package from effect.Rd. I'm able to generate a URL for the vignette as follows: \Sexpr[results=text]{pa