Error attempting to read history from ~/.Rhistory: permission denied (is the .Rhistory file owned by root?) After upgrading R from 4.0.3 to 4.1


I upgraded R from 4.0.3 to 4.1 on RHEL8. I also upgraded rstudio-sever version to 1.4.1717.

After upgrade, I see ~/.Rhistory file read permission error when I open rstudio-server.

Can anyone please guide me how to proceed?

Thank you in advance.

Just delete the Rhistory file or even better deactivate the file loading on startup, anything worth keeping should be in a script anyways.


I tried to fix the error message with providing the read permission to ~/.Rhistory file.
and logged in back. Then the error disappeared.

Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.