Cannot start RStudio IDE in Manjaro

What can I do to install RStudio correctly? I am in Manjaro and everything else is updated so far.

Hi, all

I just build and failed the package according to hopimet comments here: https://aur.archlinux.org/packages/rstudio-desktop-bin.

However, even I followed the exact instructions there, and also installed r-openssl, I still get this message when I open the application:

### Error Information:

## R Session Startup Failure Report

### RStudio Version

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

Mozilla/5.0 (X11; Linux x86_64) 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 127. 

Error output:

/usr/lib/rstudio/resources/app/bin/rsession: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory


### Standard output:

[No output emitted]

### Logs

*/home/$USER/.local/share/rstudio/log/rsession-simonapetra.log*

2022-12-02T02:37:22.814058Z [rsession-simonapetra] ERROR system error 2 (No such file or directory) [path: , dcf-file: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream<char> >&) const src/cpp/shared_core/FilePath.cpp:1462; LOGGED FROM: void rstudio::session::projects::{anonymous}::syncProjectFileChanges() src/cpp/session/projects/SessionProjects.cpp:511
2022-12-02T02:37:22.814058Z [rsession-simonapetra] ERROR system error 2 (No such file or directory) [path: , dcf-file: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream<char> >&) const src/cpp/shared_core/FilePath.cpp:1462; LOGGED FROM: void rstudio::session::projects::{anonymous}::syncProjectFileChanges() src/cpp/session/projects/SessionProjects.cpp:511

I also deleted all my startup files .Rprofile, .Renviron, etc.
I removed directories ~/.local/share/rstudio and ~/.config/RStudio

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for Ubuntu Bionic
  • OS Version: Manjaro updated today, 2022-12-26
  • R Version: 4.2.2
  • Output your diagnostics report (if possible): (all is above)

This is a system dependency. In Ubuntu, I'd install with

sudo apt-get update; sudo install libssl-dev

You are missing this system dependency or is not preperly configured. I'm not a Manjaro user so I don't know how to install it but a quick Google search says this should work

sudo pacman -S openssl-1.1

Hi, @andresrcs

I'm sorry, I forgot to tell, I have installed both packages, r-openssl and openssl:

~ $ pamac install openssl
Preparing...
Warning: openssl-3.0.7-4 is up to date -- skipping
Nothing to do.
Transaction successfully finished.

~ $ pamac search r-openssl
umurmur-openssl   0.2.17-1   AUR   Minimalistic Mumble server; built with openssl

r-openssl   [Installed] 2.0.5-2   AUR 
    Encryption, Signatures and Certificates Based on OpenSSLi

However, I was told in Manjaro forum that I need openssl-1.1 package, not plain openssl, so I installed that and now it works.

I leave here this solution just in case someone else bump into it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.