Rstudio及R安装问题

问题遇到的现象和发生背景

R studio不能正常加载所需要的包

遇到的现象和发生背景,请写出第一个错误信息

R Session Startup Failure Report

RStudio Version

RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

dyld: Library not loaded: @executable_path/../Frameworks/libssl.1.1.dylib
  Referenced from: /Applications/RStudio.app/Contents/Resources/app/bin/rsession
  Reason: no suitable image found.  Did find:
    /Applications/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: cannot load 'libssl.1.1.dylib' (load command 0x80000034 is unknown)
    /Applications/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: stat() failed with errno=1
    /Applications/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: cannot load 'libssl.1.1.dylib' (load command 0x80000034 is unknown)
    /Applications/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: stat() failed with errno=1

Standard output:

[No output emitted]

Logs

/Users/lynn/.local/share/rstudio/log/rsession-lynn.log

10 Mar 2023 07:16:38 [rsession-lynn] ERROR system error 2 (No such file or directory) [path: /Users/lynn/Desktop/mmuDESeq_WeiXiaoliLab20230222.R]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForWrite(std::shared_ptr<std::ostream> &, bool) const src/cpp/shared_core/FilePath.cpp:1482; LOGGED FROM: rstudio::core::Error rstudio::core::(anonymous namespace)::openFileForWritingWithRetry(const rstudio::core::FilePath &, bool, int, std::shared_ptr<std::ostream> *) src/cpp/core/FileSerializer.cpp:73
我的解答思路和尝试过的方法,不写自己思路的,回答率下降 60%

装载低版本的R

我想要达到的结果,如果你需要快速回答,请尝试 “付费悬赏”

是你的 libssl 这个库的问题了,重新安装下。