Error message when installing packages

Hi everyone,

I recently installed the new version of R. However, it is now impossible for me to use or install packages.

The error message:
Error in nchar(homeDir): invalid multibyte string, element 1

appears.

What can I do to solve this problem?

Thank you for your answers