Re: [Rd] improve 'package not installed' load errors?

2016-10-27 Thread Richard Cotton
> A side question, which I do not know the answer to, is how users get > themselves into this state. I've fallen over this a few times. It happens when you have multiple R sessions running, and R tries to update Rcpp while it is loaded in the other session. For example, I'm working on one

Re: [Rd] improve 'package not installed' load errors?

2016-10-26 Thread luke-tierney
This might be a good opportunity for developing some error classes for signaling these errors that can be used to programmatically do something more useful at the library/require. I can try to help with that. Best, luke On Wed, 26 Oct 2016, Martin Maechler wrote: Duncan Murdoch

Re: [Rd] improve 'package not installed' load errors?

2016-10-26 Thread Duncan Murdoch
On 26/10/2016 5:52 AM, Martin Maechler wrote: Duncan Murdoch on Mon, 24 Oct 2016 14:54:16 -0400 writes: > On 24/10/2016 1:51 PM, Kevin Ushey wrote: >> Hi R-devel, >> >> One of the more common issues that new R users see, and become stumped >>

Re: [Rd] improve 'package not installed' load errors?

2016-10-26 Thread Martin Maechler
> Duncan Murdoch > on Mon, 24 Oct 2016 14:54:16 -0400 writes: > On 24/10/2016 1:51 PM, Kevin Ushey wrote: >> Hi R-devel, >> >> One of the more common issues that new R users see, and become stumped >> by, is error messages during package

Re: [Rd] improve 'package not installed' load errors?

2016-10-24 Thread Duncan Murdoch
On 24/10/2016 1:51 PM, Kevin Ushey wrote: Hi R-devel, One of the more common issues that new R users see, and become stumped by, is error messages during package load of the form: > library(ggplot2) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :

Re: [Rd] improve 'package not installed' load errors?

2016-10-24 Thread Fox, John
t; Subject: [Rd] improve 'package not installed' load errors? > > Hi R-devel, > > One of the more common issues that new R users see, and become stumped > by, is error messages during package load of the form: > > > library(ggplot2) > Error in loadNamespace(j <- i[

[Rd] improve 'package not installed' load errors?

2016-10-24 Thread Kevin Ushey
Hi R-devel, One of the more common issues that new R users see, and become stumped by, is error messages during package load of the form: > library(ggplot2) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'Rcpp' Error: package