Hi there, I'm using RStudio and trying to install sjPlot to plot effect sizes. I've installed sjPlot withthe usual install.packages() command, nevertheless when I try to load it, this is what happens:
Error: package or namespace load failed for ‘sjPlot’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘tibble’ 2.1.3 is already loaded, but >= 3.0.0 is required
In addition: Warning message:
package ‘sjPlot’ was built under R version 3.6.3
So, I thought that my tibble version was too old, therefore I tried to upload it, I first did:
update.packages()
Then:
update.packages("tibble")
I tried to inspect tibble package using the "installed.packages" command.
installed.packages("tibble")
Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License License_is_FOSS
License_restricts_use OS_type Archs MD5sum NeedsCompilation Built
I tried to install once again sjPlot doing install.packages() command and also: install.packages("sjPlot", repos = "https://cloud.r-project.org")
Then I tried to install once again tibble:
install.packages("tibble", repos = "https://cloud.r-project.org")
Error in install.packages : Updating loaded packagesRestarting R session...
Loading required package: ROCR
install.packages("tibble", repos = "https://cloud.r-project.org")
Error in install.packages : Updating loaded packages
install.packages("tibble", repos = "https://cloud.r-project.org")
And when I try once again:
Installing package into ‘C:/Users/glori/OneDrive/Documenti/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/tibble_3.0.1.zip'
Content type 'application/zip' length 411838 bytes (402 KB)
downloaded 402 KBpackage ‘tibble’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘tibble’
Warning in install.packages :
problem copying C:\Users\glori\OneDrive\Documenti\R\win-library\3.6\00LOCK\tibble\libs\x64\tibble.dll to C:\Users\glori\OneDrive\Documenti\R\win-library\3.6\tibble\libs\x64\tibble.dll: Permission denied
Warning in install.packages :
restored ‘tibble’The downloaded binary packages are in
C:\Users\glori\AppData\Local\Temp\Rtmp0SUUpu\downloaded_packages
Still nothing changed, and I get the same error when I try to load sjPlot usign library() command.
Do you have any suggestion to solve the issue?
Thank you kindly!