0

I have this problem with packrat; When I try to install a random package on R:

"cannot open file 'packrat/init.R': No such file or directory"

I'm using ubuntu 16.04 and I tried uninstalling r-base and rStudio

packrat::init() give me errors.

I dont know what to do. I'm thinking in a clean install of my SO. How can I purge packrat? i think this is a bug. Is packrat necessary?

Help please.

Forever
  • 385
  • 3
  • 16

1 Answers1

1

packrat is not a necessary library for most day to day R usage. There are multiple ways to uninstall a package however, for this particular one, I suggest following the instructions from this answer:

R: Packrat will not completely uninstall

Community
  • 1
  • 1
Drj
  • 1,176
  • 1
  • 11
  • 26