3

I am trying to load R libraries such as ggplot2, qtlcharts, scatterD3 etc. into my jupyter notebook but getting the follwoing error:

Error: package or namespace load failed for 'ggplot2'

Has anybody faced similar issue? How do we solve it?

Note: I tried reinstalling the libraries (with different CRAN mirrors) and updating all the current packages as well but in vain.

avinax
  • 107
  • 2
  • 12
  • 1
    try this http://stackoverflow.com/questions/31717850/error-package-or-namespace-load-failed-for-ggplot2-and-for-data-table – Hack-R Nov 23 '16 at 18:46
  • Hi @Hack-R , I tried doing everything suggested in the discussion but in vain. I even re-installed Anaconda but that too gave a short-term relief. As soon as I installed the above mentioned libraries (and the htcharts library), the R kernel crashed.Is there any problem between html5/svg visualization libraries and the jupyter R kernel? How can I keep the libraries without crashing the R kernel in jupyter? Please help – avinax Nov 24 '16 at 20:12
  • @avinax, if you found a crashbug then report it as a [Jupyter issue] https://github.com/jupyter/help). Is this still occurring? What versions of R, Jupyter, packages, OS? – smci Feb 19 '18 at 04:50

1 Answers1

0

i had same problem before you should go to folder which Anaconda3>Lib>R and delete rlang folder and install rlang on jupyter hope you handle it