Rstudio is not working on my MacoS

If you use Homebrew brew

brew install libssl-dev