Skip to content
Prev 384450 / 398498 Next

Error: cannot remove prior installation of package ‘BiocManager’

On 19/06/2020 8:06 a.m., Ankush Sharma wrote:
That's not relevant.  The issue is that the packages were loaded at the 
time you tried to update them.

You may have to start R with the --vanilla option to avoid automatically 
loading packages if you've got a .Rprofile (or similar) file running 
automatically on startup.

A simpler solution to this is to use RStudio; it will automatically 
restart R if necessary when installing a package.

Duncan Murdoch