Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
200 views
in Technique[技术] by (71.8m points)

r - package load failed in Rstudio

Can someone please help?

I'm getting this error:

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘gtable’
In addition: Warning message:
package ‘ggplot2’ was built under R version 4.0.2 
question from:https://stackoverflow.com/questions/65892869/package-load-failed-in-rstudio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

install.packages("~/Desktop/magrittr_2.0.1.tar", repos = NULL) Error in install.packages : type == "both" cannot be used with 'repos = NULL' install.packages("~/Desktop/magrittr_2.0.1.tar", repos = NULL, type="source")

  • installing binary package ‘magrittr’ ...
  • DONE (magrittr)

library(magrittr) Fehler: package or namespace load failed for ‘magrittr’ in dyn.load(file, DLLpath = DLLpath, ...): kann shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/magrittr/libs/magrittr.so' nicht laden: dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/magrittr/libs/magrittr.so, 6): Symbol not found: _clock_gettime Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libgfortran.5.dylib Expected in: /usr/lib/libSystem.B.dylib in /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libgfortran.5.dylib Zus?tzlich: Warnmeldung: Paket ‘magrittr’ wurde unter R Version 4.0.2 erstellt


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...