Forum Discussion
R Visual Rcpp package error
- 8 years ago
I had yesterday the same problem. Only reinstalling (or even go back to older versions) did not help.
Only after I deleted the libraries in "<user>/documents/R" and in "<user>/library" and reinstalled R and installed the packages I needed, the problem was solved.
I think mixed package versions in <user>/library did give the problem for me. I did not know that packages were also in that directory. Only uninstall R en delete "<user>/documents/R" was not enough.
The newest version of PowerBi and R (3.5.1) are now working for me. - 7 years ago
my problem....old versions installed here "<user>/library" ...and newer ones "<user>/documents/R". Deleting "<user>/library" work!! **bleep**ing libraries...only 6 where the problem...I updated libraries several times... "<user>/documents/R"
I had yesterday the same problem. Only reinstalling (or even go back to older versions) did not help.
Only after I deleted the libraries in "<user>/documents/R" and in "<user>/library" and reinstalled R and installed the packages I needed, the problem was solved.
I think mixed package versions in <user>/library did give the problem for me. I did not know that packages were also in that directory. Only uninstall R en delete "<user>/documents/R" was not enough.
The newest version of PowerBi and R (3.5.1) are now working for me.
Great Man, cvhaven!
A Very Big Human Gratitude for this hint to you!
I lost a full manday due to updating PowerBI Desktop yesterday. It then required me to update R from 3.5.0 to 3.5.1, then R packages, then to solve emerged issues with R charts, but still not being able to get my dashboard to work...
It came at the worst possible time without any possibility to roll back. I was absolutely desperate until I saw your post. Your solution worked.
As a result of this incident I believe PowerBI should change their Desktop update policy from replacing an earlier version to keeping both versions until the user is able to fully test it. (i.e. implementing a TEST + PROD environment)
Final note: the same dashboard published in PowerBI Service was not affected at all. Does it imply that PowerBI Service still uses R 3.5.0, and therefore issues there are yet to be expected?