After downloading latest RStudio Version (2023.12.1+402) for Windows 10 I have this error message:
Error Starting R
The R session failed to start.
2024-02-11T22:57:37.430023Z [rsession-Dominika] ERROR system error 2 (The specified file could not be found) [path: /usr/bin, path: pdflatex.bat]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::FilePath::completeChildPath(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class rstudio::core::FilePath &) const src/cpp/shared_core/FilePath.cpp:772
2024-02-11T22:57:37.431051Z [rsession-Dominika] ERROR system error 2 (The specified file could not be found) [path: /usr/bin, path: pdflatex.cmd]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::FilePath::completeChildPath(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class rstudio::core::FilePath &) const src/cpp/shared_core/FilePath.cpp:772
I tried reinstalling both R and Rstudio but error still occurs. I have R-4.3.2 and newest version of MiKTeX (01/28/2024).
i also have the same error when i start my rstudio
the replot below
## R Session Startup Failure Report
### RStudio Version
RStudio 2023.12.1+402 "Ocean Storm " (4da58325, 2024-01-28) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.1+402 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36
### Error message
[No error available]
### Process Output
The R session exited with code 3221225477.
Error output:
2024-03-18T02:50:51.976836Z [rsession-28581] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void __cdecl anonymous-namespace'::rCleanup(bool) C:\Users\jenkins\workspace\ide-os-windows\rel-desert-sunflower\src\cpp\session\SessionMain.cpp:1338 2024-03-18T02:50:51.976836Z [rsession-28581] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void __cdecl anonymous-namespace'::rCleanup(bool) C:\Users\jenkins\workspace\ide-os-windows\rel-desert-sunflower\src\cpp\session\SessionMain.cpp:1338