0

I wonder, can I do any harm to my system (or the stability of R installation) if I install some package twice. Or when installing a new package it will simply overwrite the previous version.

Vitalijs
  • 938
  • 7
  • 18
  • 1
    It shouldn't be an issue unless you install a package as an admin user, and again as a normal user. Then you will have a version in two different locations on your system. That could lead to issues when upgrading, or confusion as to which version is loaded. – neilfws Feb 18 '19 at 10:37
  • Why would you need to do this? Check if the [package is already installed before installing it](https://stackoverflow.com/q/4090169/680068)? – zx8754 Feb 18 '19 at 12:37
  • @xx8754, sometimes it happens by accident and just trying to accident what is the best way to proceed once something like this happens. – Vitalijs Feb 19 '19 at 13:25

1 Answers1

0

Happens to me all the time that I execute install.packages on something that I have installed before. You just get a warning.

Nathalie
  • 11
  • 3