I was editing some environmental variables within my .Renviron file and now I'm unable to start RStudio. I'm getting the following error. I've tried completely uninstalling and re-installing R and RStudio. I've also tried to purge as many config files related to both software before re-installing. Unfortunately, I'm still unable to launch RStudio. Any insight is appreciated!
The R session failed to start.
RECENT LOG:
ERROR Unable to retrieve user home path. HRESULT: -2147024893; LOGGED FROM: class rstudio::core::FilePath __cdecl rstudio::core::system::userSettingsPath(const class rstudio::core::FilePath &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,bool) src/cpp/core/system/Win32System.cpp:338
2021-10-20T20:07:55.387600Z [rsession-A042474] ERROR Unable to retrieve user home path. HRESULT: -2147024893; LOGGED FROM: class rstudio::core::FilePath __cdecl rstudio::core::system::userSettingsPath(const class rstudio::core::FilePath &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,bool) src/cpp/core/system/Win32System.cpp:338
2021-10-20T20:12:38.791545Z [rsession-A042474] ERROR Unable to retrieve user home path. HRESULT: -2147024893; LOGGED FROM: class rstudio::core::FilePath __cdecl rstudio::core::system::userSettingsPath(const class rstudio::core::FilePath &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,bool) src/cpp/core/system/Win32System.cpp:338