Rcpp package doesn't include Rcpp_precious_remove
I had the same problem with another package and the issue was that I was running a recent version of the package compiled against a previous version of Rcpp
. As user20650 points out in the comment, updating Rcpp
to 1.0.7 should fix it:
install.packages('Rcpp')
In RStudio you can also use the packages
panel to update the packages, as in the following image:
Error: in m_str_extents_(x, fontname, fontsize, bold, italic, fontfile) : function 'Rcpp_precious_remove' not provided by package 'Rcpp'
The problematic function m_str_extents_()
is from gdtools
. So likely you have a recent version or gdtools
compiled against an older version of Rccp
. Try updating Rccp
to version 1.0.7 with install.packages()
and with a bit of hope it should work.
install.packages("Rcpp")
For reference same problem described on Rccp mailing list which can summarised with
TL;DR: update your library.
Related Topics
Calculate Max Value Across Multiple Columns by Multiple Groups
Sum Across Multiple Columns With Dplyr
How to Declare a Vector of Zeros in R
Add Row to a Data Frame With Total Sum for Each Column
Removing Columns That Are All 0
How to Change Y Axis Limits in Decimal Points in R
Minimum (Or Maximum) Value of Each Row Across Multiple Columns
How to Filter Multiple Columns With Same Condition in R
Splitting a Large Data Frame into Smaller Segments
Rstudio Does Not Display Any Output in Console After Entering Code
Change R Default Library Path Using .Libpaths in Rprofile.Site Fails to Work
How Does the 'Prop.Table()' Function Work in R
Saving Output of Confusionmatrix as a .Csv Table
Changing from Upper to Lower Case in Several Data Frames
How to Fix Spaces in Column Names of a Data.Frame (Remove Spaces, Inject Dots)
Count Occurrences of Value in a Set of Variables in R (Per Row)