Re: [R] Annoying startup error message

2016-02-26 Thread Lars Bishop
yes! Thanks! On Fri, Feb 26, 2016 at 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.e

Re: [R] Annoying startup error message

2016-02-26 Thread Duncan Murdoch
On 26/02/2016 3:36 PM, Lars Bishop wrote: I understand the solution would be to unset my "SPARK_HOME" environment variable. I can do this with Sys.unsetenv() but it does not unset permanently (only in the session). How can I unset permanently? Sys.getenv("SPARK_HOME") [1] "/Users/lars/Downloads/

Re: [R] Annoying startup error message

2016-02-26 Thread Lars Bishop
I understand the solution would be to unset my "SPARK_HOME" environment variable. I can do this with Sys.unsetenv() but it does not unset permanently (only in the session). How can I unset permanently? Sys.getenv("SPARK_HOME") [1] "/Users/lars/Downloads/spark-1.6.0-bin-hadoop2.6/bin/spark" Sys.un

Re: [R] Annoying startup error message

2016-02-26 Thread Duncan Murdoch
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/

Re: [R] Annoying startup error message

2016-02-26 Thread Sarah Goslee
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 Sarah On Fri, Feb 26, 2016

Re: [R] Annoying startup error message

2016-02-26 Thread Lars Bishop
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 wrote: > Hi Lars, > > The error tells you tha

Re: [R] Annoying startup error message

2016-02-26 Thread Ulrik Stervbo
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

[R] Annoying startup error message

2016-02-26 Thread Lars Bishop
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 ‘Sp