R visual error - "package '...'was installed by an R version with different internals"
Hi everyone,
I have the same error. although I have updated my R version to R-3.5.1 and in Options menue the
Detected R home directorirs is allighned with R version, still get this error mesege:
(Note: All packages are installed as well).
The Dumbbell graph used to be visualised fine with R.3.2 but when I upgraded R to 3.5.1 I get this error.
any support is appreciated,
Haydeh
Feedback Type:
Frown (Error)
Timestamp:
2018-10-01T20:28:41.9686831Z
Local Time:
2018-10-01T13:28:41.9686831-07:00
Session ID:
243cb8bd-b8e3-4c86-bd6d-b43ad33f58a6
Release:
September 2018
Product Version:
2.62.5222.761 (18.09) (x64)
Error Message:
R script error.
Loading required package: XML
Error: package or namespace load failed for 'XML':
package 'XML' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
In libraryRequireInstall("XML") :
*** The package: 'XML' was not installed ***
Loading required package: htmlwidgets
Error: package or namespace load failed for 'htmlwidgets':
package 'htmltools' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
In libraryRequireInstall("htmlwidgets") :
*** The package: 'htmlwidgets' was not installed ***
Loading required package: ggplot2
Error: package or namespace load failed for 'ggplot2':
package 'scales' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
In libraryRequireInstall("ggplot2") :
*** The package: 'ggplot2' was not installed ***
Loading required package: plotly
Loading required package: ggplot2
Error: package or namespace load failed for 'ggplot2':
package 'scales' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Failed with error: 'package 'ggplot2' could not be loaded'
Warning message:
In libraryRequireInstall("plotly") :
*** The package: 'plotly' was not installed ***
Loading required package: ggplotly
Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'ggplotly'
2: In libraryRequireInstall("ggplotly") :
*** The package: 'ggplotly' was not installed ***
Loading required package: gapminder
Error: package or namespace load failed for 'gapminder':
package 'tibble' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
In libraryRequireInstall("gapminder") :
*** The package: 'gapminder' was not installed ***
Loading required package: gsubfn
Loading required package: proto
Loading required package: magrittr
Loading required package: htmlwidgets
Error: package or namespace load failed for 'htmlwidgets':
package 'htmltools' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
In libraryRequireInstall("htmlwidgets") :
*** The package: 'htmlwidgets' was not installed ***
Loading required package: XML
Error: package or namespace load failed for 'XML':
package 'XML' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Warning message:
....