R CRAN, install library Rcpp fails after R3.2 upgrade

后端 未结 8 971
不思量自难忘°
不思量自难忘° 2020-12-06 17:41

I upgraded from R-3.1 to R-3.2. OK ( Standard upgrade)

But this upgrade seems to have lost all the installed packages ( ggplot2, quantmod, Rcpp among dozens and doze

相关标签:
8条回答
  • 2020-12-06 18:24

    You need to have 'vanilla' session without any packages loaded in order to update those package -- it is a well-known (and still annoying) Windows shortcoming that you cannot update a package which currently had (object) code loaded. As Rcpp comes with a small dll ... you get bitten.

    0 讨论(0)
  • 2020-12-06 18:28

    This may sound odd, but do you have McAfee anti-virus? It turns out that McAfee was preventing the correct installation of 'Rcpp' and 'BH' on my computer (check out this forum for more details: https://github.com/hadley/dplyr/issues/2002). I just temporarily disabled McAfee and installed the package I needed. Worked like a charm.

    0 讨论(0)
提交回复
热议问题