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"
Hi dpombal,
According to your error message, it normally appears when loading failed for some R packages.
In my opinion, I'd like to suggest you copy these package name and reinstall in R studio.(please confirm install success and update all packages to last version)
Regards,
Xiaoxin Sheng
I reinstall libraries and keeps on failing could anyone test this on new R 3.5.1 and check if Rcpp is compatible?
- cvharen8 years agoRegular Visitor
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.- Clare6 years agoMicrosoft Employee
Thank you. Your solution worked after I also uninstalled RTools from C:\Rtools and reinstalled.
- dpombal7 years agoPost Partisan
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"
- Kombat7 years agoFrequent Visitor
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?
- Anonymous8 years agoNot applicable
HI dpombal,
Actually, you need to refer to error message to add libraries to R script until finish add all requests libraries and packs.(I fix one similar missing package issues by this method)
Regards,
Xiaoxin Sheng