Re: [Rd] Problem in vignette packaging of Sweave in utils package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 04 Aug 2012 21:07:47 +0100

I believe the issue is actually quite simple: you need to run

make vignettes

when building from a tarball if you want the tangled vignettes and the indices.

I'll make that automatic after more testing.

On 27/07/2012 21:55, Paul Johnson wrote:
> On Fri, Jul 27, 2012 at 9:54 AM, Duncan Murdoch
> <murdoch.duncan_at_gmail.com> wrote:

>> On 12-07-27 1:23 AM, Paul Johnson wrote:
>>>
>>> New help request below
>>>
>>> On Sat, Jul 7, 2012 at 7:25 AM, Duncan Murdoch <murdoch.duncan_at_gmail.com>
>>> wrote:
>>>>
>>>> On 12-07-03 1:21 PM, Paul Johnson wrote:
>>>>>
>>>>>
>>>>> In ?Sweave, it refers to Sweave User Manual. In the doc folder of
>>>>> utils package, I see "Sweave.pdf".
>>>>>
>>>>> However, I can't find it from within R
>>>>>
>>>>>
>>>>>> vignette("Sweave User Manual")
>>>>>
>>>>>
>>>>> Warning message:
>>>>> vignette ‘Sweave User Manual’ not found
>>>>
>>>>
>>>>
>>>> Turns out there was a bug in the code to install from tarballs, so base
>>>> package vignettes weren't fully installed.  I've fixed it; installs from
>>>> R-patched or R-devel revisions after 59750 should be okay.
>>>>
>>>> Duncan Murdoch
>>>>
>>>>
>>>
>>> Thanks, Duncan
>>>
>>> Can I ask you to check this one again?
>>
>>
>> Sorry, I can't help with this.  If you build from svn or from a tarball,
>> then I could help, but someone else produces the rpms, and I don't have
>> access to a Linux system to try them.
>>
>> Duncan Murdoch
>>
>>
>

> Sorry I was unclear. I did build from R-patched tarball, from here:
>

> ftp://ftp.stat.math.ethz.ch/Software/R/R-patched_2012-07-25.tar.gz
>

> I get the same result whether I build that into an RPM or if I build
> and install the "old fashioned" way (configure, make, make install).
> The Sweave pdf is created, but not found inside R.
>

> I just re-ran the compilation in an Emacs shell and you can see
> everything that goes on:
>

> http://pj.freefaculty.org/misc/R-patched-build-20120725.txt
>

> As you will see, I run into problems with pdf creation in
>

> make pdf
>

> dealing with refman. I think that links back to the ancient tetex
> toolkit and the lack of incolsolata font. If that is the reason R
> can't find the vignette, I would be glad to know.
>

> I do get the Sweave.pdf vignette created, just not indexed.
>

> pj

>
-- 
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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 04 Aug 2012 - 20:12:39 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 05 Aug 2012 - 02:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive