I installed R and RStudio for my lesson. When I opened the RStudio, I got this error:
RStudio 2023.09.1+494 "Desert Sunflower " (cd7011dc, 2023-10-16) for macOS
[No error available]
2023-11-06T01:10:48.123001Z [rsession-ozge] ERROR system error 13 (Permission denied) [path: /Users/ozge/.local/share/rstudio/sources/session-a965b9d3, target-dir: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::createDirectory(const std::string &) const src/cpp/shared_core/FilePath.cpp:846
OUTPUT
[No output emitted]
MISSING VALUE
MISSING VALUE
R is working now but I can't open RStudio. I tried different solutions. I deleted and reinstalled both of them. I upgraded the macOS version. I tried to create directory and give permission. But I got same error. What should I do? I couldn't understand this problem. Thank you.