You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
installation of rstanarm via anaconda breaks R kernel in jupyter notebook
Description:
Under anaconda 4.5.8, I created a clean conda environment conda create -n r-environment r-essentials r-base
on linux redhat 6.6 (Santiago). I could start jupyter notebook, create an R 3.4.3 notebook and run commands (such as library(ggplot2)) successfully.
At this point conda list gave. I want to stress that at that point I am not using R MRO (microsoft R client) but r-base:
Here I want to point out that r-base is downgraded from 3.4.3 to 3.4.1 and _r-mutex changes to some mro version.
Now when I start the jupyter notebook and create a new R notebook, the kernel dies and I get
During startup - Warning message:
package 'RevoUtils' was built under R version 3.4.3
[I 17:36:27.016 NotebookApp] Adapting to protocol v5.0 for kernel f24c7eae-e945-4371-b1c1-b31c9ccfad70
Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, :
unable to start device PNG
Calls: <Anonymous> ... evaluate -> dev.new -> do.call -> <Anonymous> -> ok_device
In addition: Warning message:
In ok_device(filename, ...) : no png support in this version of R
Execution halted
I can still start R (which R gives ~/anaconda3/envs/r-environment/bin/R). When I import the library ggplot2 in the R session it prints the same warning
During startup - Warning message:
package 'RevoUtils' was built under R version 3.4.3
but doesnt halt the r session.
Reproducible Steps:
see description
RStanARM Version:
rstanarm 2.17.4-r341_0
R Version:
R 3.4.3 (anaconda)
Operating System:
linux redhat 6.6 (Santiago)
Thanks for the help
The text was updated successfully, but these errors were encountered:
Summary:
installation of
rstanarm
via anaconda breaks R kernel in jupyter notebookDescription:
Under anaconda 4.5.8, I created a clean conda environment
conda create -n r-environment r-essentials r-base
on linux redhat 6.6 (Santiago). I could start
jupyter notebook
, create an R 3.4.3 notebook and run commands (such aslibrary(ggplot2)
) successfully.At this point
conda list
gave. I want to stress that at that point I am not using R MRO (microsoft R client) but r-base:Next, I installed
rstanarm 2.17.4-r341_0
by typingconda install --name r-environment -c conda-forge -r-rstanarm
.This prompted me with the following details
Here I want to point out that
r-base
is downgraded from 3.4.3 to 3.4.1 and_r-mutex
changes to some mro version.Now when I start the
jupyter notebook
and create a new R notebook, the kernel dies and I getI can still start R (
which R
gives~/anaconda3/envs/r-environment/bin/R
). When I import the library ggplot2 in the R session it prints the same warningbut doesnt halt the r session.
Reproducible Steps:
see description
RStanARM Version:
rstanarm 2.17.4-r341_0
R Version:
R 3.4.3 (anaconda)
Operating System:
linux redhat 6.6 (Santiago)
Thanks for the help
The text was updated successfully, but these errors were encountered: