[R] Annoying startup error message
Duncan Murdoch
murdoch.duncan at gmail.com
Fri Feb 26 20:11:36 CET 2016
On 26/02/2016 12:07 PM, Sarah Goslee wrote:
> Perhaps you at one point added it to your .RProfile so the package is
> loaded at startup. You can check by starting R from the command line
> with
> R --vanilla
> which doesn't load any of the profile files.
>
> https://stat.ethz.ch/R-manual/R-devel/library/base/html/Startup.html
Another possibility is that SparkR defines some S4 classes, and you have
an object of that type in your workspace. To read it might need SparkR
installed.
The solution here is to run R --vanilla as above, or to delete the
object from the workspace, or the whole workspace.
Duncan Murdoch
>
> Sarah
>
> On Fri, Feb 26, 2016 at 12:01 PM, Lars Bishop <lars52r at gmail.com> wrote:
> > Thank you Ulrik. I actually don't want to install SparkR, just don't want
> > to have that error message when R starts. For some reason, R is trying to
> > load the package every time it starts...
> >
> > Thanks
> > Lars.
> >
> > On Fri, Feb 26, 2016 at 11:53 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com>
> > wrote:
> >
> >> Hi Lars,
> >>
> >> The error tells you that SparkR is not installed.
> >>
> >> I believe you can install it like this:
> >>
> >> library(devtools)
> >> install_github("amplab-extras/SparkR-pkg", subdir="pkg")
> >>
> >> I took it from https://github.com/amplab-extras/SparkR-pkg and I haven't
> >> tried it myself.
> >>
> >> Hope this helps,
> >> Ulrik
> >>
> >> On Fri, 26 Feb 2016 at 17:40 Lars Bishop <lars52r at gmail.com> wrote:
> >>
> >>> Hello,
> >>>
> >>> Just installed R version 3.2.3, and I'm getting the error message below
> >>> every time I start R. I had SparkR installed in the prior version. I
> >>> googled this problem, but didn;t find anything useful.
> >>>
> >>> Any help would be very appreciated.
> >>>
> >>> Error in library(SparkR) : there is no package called ‘SparkR’
> >>> [R.app GUI 1.66 (7060) x86_64-apple-darwin13.4.0]
> >>>
> >>>
> >>> Best,
> >>> Lars.
> >>>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list