Re: [Rd] Front ends handling results?

From: Duncan Murdoch <>
Date: Wed, 03 Aug 2011 14:00:01 -0400

On 03/08/2011 1:23 PM, Thomas Friedrichsmeier wrote:
> On Wednesday 03 August 2011, Duncan Murdoch wrote:
> > I can't reproduce this. Can you get any more detail, e.g. by setting
> > options(error=recover) or similar?
> Interestingly, that does not start a browser, and options(error=dump.frames)
> appears to have no effect, either. geterrmessage() does list the error, though.
> I'm not sure whether that is or is not the expected handling of errors inside
> input handlers.
> Either way, I found I can trigger the error using
> tools:::httpd("/doc/html/Search", c(pattern = "grid"))
> debugging from there shows that the error is on line
> vignettes[i,]<- c(pkg, unlist(vignette[,c("File", "Title", "PDF", "R")]))
> At this point, "vignette" is:
> File Title PDF Depends Keywords
> 1 displaylist.Rnw Display Lists in grid displaylist.pdf graphics
> 2 displaylist.Snw Display Lists in grid displaylist.pdf graphics
> R
> 1 displaylist.R
> 2 displaylist.R
> > Vignettes listed twice sounds as
> > though you may have two copies of grid installed in your .libPath(), but
> > that shouldn't happen for a base package.
> It appears, the cause of the problem was failure to "make clean" every once in
> a while, and this resulted in installing both displaylist.Rnw and
> displaylist.Snw (into a single library location).

Thanks. I'll put in code to protect against that possibility.

Duncan mailing list Received on Wed 03 Aug 2011 - 18:04:14 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 Wed 03 Aug 2011 - 20:10:13 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive