Hi,
Since I have updated to rstudio-2022.12.0-353-amd64.deb on my Ubuntu Linux 20.04.5 LTS installation, I have started getting R startup errors when I start a RStudio project from the command line. For example:
rstudio myproject.Rproj
fails with the error report below. I have had the same issue on two different computers. In both cases, R starts without an issue from the command line and rstudio starts without error if I do not initially specify a project file. Without error I can switch into the project (e.g., myproject.Rproj
above) after starting up rstudio without specifying a project file.
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 1.
Error output:
[No errors emitted]
Standard output:
[No output emitted]
Logs
/home/dmk/.local/share/rstudio/log/rsession-dmk.log
2023-01-03T13:47:50.435480Z [rsession-dmk] ERROR system error 2 (No such file or directory); OCCURRED AT rstudio::core::Error rstudio::core::FilePath::getChildren(std::vector<rstudio::core::FilePath>&) const src/cpp/shared_core/FilePath.cpp:931; LOGGED FROM: rstudio::core::Error rstudio::session::projects::ProjectContext::startup(const rstudio::core::FilePath&, std::__cxx11::string*) src/cpp/session/projects/SessionProjectContext.cpp:268
2023-01-03T13:47:50.437963Z [rsession-dmk] ERROR system error 2 (No such file or directory) [path: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::makeCurrentPath(bool) const src/cpp/shared_core/FilePath.cpp:1400; LOGGED FROM: int main(int, char* const*) src/cpp/session/SessionMain.cpp:2255
2023-01-03T13:47:50.437963Z [rsession-dmk] ERROR system error 2 (No such file or directory) [path: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::makeCurrentPath(bool) const src/cpp/shared_core/FilePath.cpp:1400; LOGGED FROM: int main(int, char* const*) src/cpp/session/SessionMain.cpp:2255