Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTil64eWXTRP9aj1J40VCdIZGyTxBGUWkyoQBSYG3@mail.gmail.com>
Date: 2010-06-28T16:00:36Z
From: Douglas Bates
Subject: [Rcpp-devel] Work-around for Stangle failure on Rcpp-modules.Rnw?
In-Reply-To: <AANLkTimWZsVy296xUSxdOiQpACbaQ34btzqTlqlwA1-k@mail.gmail.com>

On Mon, Jun 28, 2010 at 10:41 AM, Douglas Bates <bates at stat.wisc.edu> wrote:
> On Mon, Jun 28, 2010 at 10:12 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>>
>> On 28 June 2010 at 10:00, Douglas Bates wrote:
>> | $ make Rcpp-extending.pdf
>> | rm Rcpp-extending.Rnw
>> | cp -f Rcpp-extending/Rcpp-extending.Rnw .
>> | Rscript -e "require(highlight); driver <- HighlightWeaveLatex(boxes =
>> | TRUE, bg = 'white' ); Sweave( 'Rcpp-extending.Rnw', driver = driver );
>> | "
>> | Loading required package: highlight
>> | Loading required package: tools
>> | Loading required package: codetools
>> | Loading required package: parser
>> | Loading required package: Rcpp
>> | Loading required package: methods
>> | Writing to file Rcpp-extending.tex
>> | Processing code chunks ...
>> | ?1 : term verbatim
>> | Loading required package: inline
>> | ?3 : term verbatim
>> | ?4 : term tex
>> | sh: highlight: not found
>> ?^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Please try
>>
>> ? ?sudo apt-get install highlight
>
> Thanks. ?Once I have installed the Ubuntu package I can build the pdf files.
>
> Regards,
> Doug

And I'm not sure why but building the PDF files for the vignettes
bypasses the problem with Stangle so not I am successful at installing
the latest Rcpp.

Thanks.
Doug
>> We do not pre-test for this as clearly as we maybe should. It is also 'just'
>> in the pdf-creation so we have not added it to SystemRequirements. Maybe we
>> should.
>>
>> In short, 'highlight' has become overloaded as there is Romain's on CRAN and
>> Andre's in Debian and elsewhere. ?Some of Andre's code may end up in Romain's
>> R package at which point we may no longer require the external binary.
>>
>> --
>> ?Regards, Dirk
>>
>