rstudio installing packages

Hello,

I have installed rstudio and it gives me this error
Error in nchar(homeDir) : invalid multibyte string, element 1

I have rtool and I can't install any package

hi Dear

please have a look on the below :

hope this will help
Kind Regards