RStudio from Windows 10 is not working after updating R for version 4.1.2

Dear All,

I've updated my R version to 4.1.2 and updated the version of RStudio. However, since I did It the RStudio is not working. The error log shows:
2021-11-23T15:39:19.812870Z [rsession-mateus.santos] 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,class std::allocator > &,bool) src/cpp/core/system/Win32System.cpp:338
2021-11-23T16:36:24.715567Z [rsession-mateus.santos] 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,class std::allocator > &,bool) src/cpp/core/system/Win32System.cpp:338
2021-11-23T16:47:29.479524Z [rsession-mateus.santos] 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,class std::allocator > &,bool) src/cpp/core/system/Win32System.cpp:338

Please, can anyone helpe me with this error?
Thanks