Referenced from: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs. Unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs.so':ĭlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib Then I tried to load the tidyverse package: library(tidyverse)Īnd I get the error message: Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath. Then I checked that my packages were up to date using: update.packages() I copied and pasted my R packages from my previous R version into the folder: /Library/Frameworks/R.framework/Versions/4.2/Resources/library I updated to R version 4.2.0 () - "Vigorous Calisthenics", and R Studio version 2021.09.2 Build 382 "Ghost Orchid". I got a similar error message when I downloaded another package ('cowplot'), but that installation still completed without freezing my lap top.I have just updated my R and R Studio on my Mac running 10.14.6 Mojave. So I tried installing 'Rtools', but got a message saying Rtools is not available for R-3.4.2. I noticed part of the error message when installation of 'tidyr' freezes is saying that "Rtools" is not installed. Also, R-3.3.3 does not have an intermediate "BH" folder. When I compare this to the contents of the 'tidyr'-folder in R-3.3.3, all the folders in the R-3.4.2 tidyr folder are in the R-3.3.3 folder but R-3.3.3 has a few ('data', 'demo','doc', and 'R'). Inside there is a folder named "BH" and inside that a list of 4 folders and a handful of files. file.edit ('/Desktop/foo/.Rprofile') This opens up a script window, within which you can enter in your library commands library (ggplot2) library (scales) library (plyr) library (reshape2) Easy Related ShareTweet To leave a comment for the author, please follow the link and comment on their blog: Data and Analysis with R, at Work. I let it try to finish updating for several minutes but seemed permanently frozen as I've seen before.įor R-3.4.2, I do not even have a folder named "tidyr", but instead I have a list of folders named something like "file77d413ac7710" that corresponds to each time I have tried to install tidyr while running this version of R. I ran > install.packages('tidyr', `update.packages(checkBuilt = TRUE)Īnd was prompted to hit "Y" for a number of packages and updates but the updates froze when it got to 'tidyr'. libpath() for both is separate, going to 2 separate folders named 'C:\Program Files\R\R-3.X.X\library', respectively.įor R-3.3.3, I have a folder named "tidyr" that has updated content since I last executed an update. At first it was just in R version 3.4.2, and then it was just the Hadley-verse packages, but now knitr won't load. The most frustrating thing is that it seems like what is not working keeps expanding. I have tried all three options for installing tidyr to no avail. Do you want to restart R prior to installing?" with options "yes", "no" and "cancel". Rstudio can restart R and then automatically continue to the installation after restarting. Restarting R prior to updating these packages is strongly recommended. Which files need to be configured to achieve this goal The HPC admins aren't much help. a unix cluster) and I want to configure my user profile to automatically launch a particular R version (including the correct libraries) when I login. libPaths()), versionCheck = vI]) :Įrror: package or namespace load failed for ‘tidyr’Īdditionally, when ever I try to install or update packages currently, RStudio throws a window that says "One or more of the packages that will be updated by this installation are currently loaded. KevinMcDee August 19, 2022, 5:54pm 1 I'm running RStudio IDE in Chrome on a HPC (ie. Here are some outputs I am getting related to the problem (in R-3.3.3): >.libPaths()Įrror in loadNamespace(j <- i], c(lib.loc. I initially discovered problems just with installing dplyr and tidyr with the updated version of R (R-3.4.2), but I am now having trouble opening many packages, even when I open Rstudio with the version of R that was previously working (R-3.3.3). I updated R studio and R to be consistent with the versions used when some scripts I was given were written.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |