[英]How to fix “Error : object ‘as_tibble’ is not exported by 'namespace:dplyr' ERROR: lazy loading failed for package ‘BLANK’” in R
[英]"package or namespace load failed" error in loading R package "litteR"
每當我嘗試加載 package“litteR”時,我都會收到以下錯誤。 我已經更新了我所有的包,其他包都沒有這個問題
庫(litteR)xcrun:錯誤:無效的活動開發人員路徑(/Library/Developer/CommandLineTools),缺少 xcrun:/Library/Developer/CommandLineTools/usr/bin/xcrun 錯誤:package 或“litteR”的命名空間加載失敗:。 onLoad 在“tcltk”的 loadNamespace() 中失敗,詳細信息:調用:dyn.load(file, DLLpath = DLLpath, ...) 錯誤:無法加載共享 object '/Library/Frameworks/R.framework/Versions/4.1- arm64/Resources/library/tcltk/libs/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so, 0x000A): 庫未加載:/opt/X11/lib/libX11.6.dylib 引用自:/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/tcltk/libs/tcltk.so 原因:試過:'/opt/ X11/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file) 另外: Warning message: In system2("/usr/bin/otool" , c("-L", shQuote(DSO)), stdout = TRUE: 運行命令 ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resou rces/library/tcltk/libs//tcltk.so'' 的狀態為 1
我不確定為什么會這樣,我有一台 macbook pro,不確定這是否會有所不同
您需要安裝命令行工具。 打開 Terminal.app 並運行以下行xcode-select --install
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.