rdatsci / rtcl

R tools for the command line
65 stars 3 forks source link

rupdate of Rcpp #8

Closed surmann closed 5 years ago

surmann commented 9 years ago

If rupdate has to update the package Rcpp I get the following error on my evil Windows machine:

package 'Rcpp' successfully unpacked and MD5 sums checked
Warnung: cannot remove prior installation of package 'Rcpp'

After that rt cannot be loaded when I start R.

Does anyone know the reason for this issue and how to solve it?

jakobbossek commented 9 years ago

remove.packages('Rcpp') should help. However, it would be interesting to know why this error occurs. I mean, why the prior installation cannot be removed. Maybe you have only restricted rights for the package install directory?

surmann commented 9 years ago

I can remove the package, even not being an admin. However, than rupdate is not possible any more, because on import of rt depends on Rcpp.