RStudio always show me "Error in basename(.rs.listIndexedPackages()) : file name conversion problem -- name too long?" no matter what i type in console or editor

I run .libPath() in console and this is the picture after running (when I type in console, the error continues to appear)


I uninstalled the Rstudio when the error apperaed firstly. Then I try using zip but the error still exists.