[R-SIG-Mac] vignettes

Simon Urbanek simon.urbanek at r-project.org
Thu Jan 31 19:43:21 CET 2008


On Jan 31, 2008, at 1:05 PM, Denis Chabot wrote:

> Well, my reason for believing vignettes were not installed with  
> packages was mostly that I often look at what is included with  
> packages and rarely sees a pdf there.

AFAIR they should be in package/doc. Vignettes are optional, so not  
all packages have them.

> And true enough, in the case of gsubfn, I did not see one. Like you,  
> if I do vignette() a list shows up and a vignette is indeed listed  
> for gsubfn. But if I do
> vignette("gsubfn")
> Warning message:
> vignette 'gsubfn' has no PDF

Strange - for me it opens the PDF right away. What R version are you  
using? (full sessionInfo, please)


> Le 31 janv. 08 à 12:44, Simon Urbanek a écrit :
>> Denis,
>> On Jan 31, 2008, at 12:34 PM, Denis Chabot wrote:
>>> I find it very useful to read vignettes when they exist, but somehow
>>> they do not get installed when I install binaries through R app. For
>>> instance, today I installed gsubfn and talked with its author,  
>>> Gabor.
>>> He told me to consult the vignette, which I did not know existed.
>>> Gabor told me that on Windows, any vignette existing for a package
>>> gets downloaded when you install the package. Would it be possible  
>>> for
>>> R app to do the same? I think it would be very useful.
>> vignettes are installed along with packages (if they exist) as they  
>> are part of the package. I'm not sure where you are missing the  
>> vignette, but I get:
>> > vignettes()
>> [...]
>> Vignettes in package ‘gsubfn’:
>> gsubfn                  gsubfn: Utilities for Strings and for  
>> Function
>>                       Arguments. (source, pdf)
>> [...]
>> (and it is also available via Help->Vignettes)
>> Cheers,
>> Simon

More information about the R-SIG-Mac mailing list