I have an R file, but it has packages which are not installed on my R installation. Is there a utility which determines these dependencies from the R file and installs all of them? I don't want to manually install them one by one.
Asked
Active
Viewed 69 times
1 Answers
1
The pacman package offers an efficient way to install / load packages in a single line. You can refer to this article. I'm not aware of a way that installs packages completely automatically, as there might be namespace overlap between functions, etc...

tlhenvironment
- 319
- 2
- 10
-
Useful; but this does not answer the question. I guess there is nothing. – piedpiper Apr 07 '21 at 07:16