Package "ez" does not work.

Dear All,

Windows 10
Rstudio 2021.09.2+382

I want to use ezANOVA function however I have problems when I want to use the library(ez).I get the following error message when I want to use it. I have searched answer for my problem however nothing helped me .

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
RTools: Toolchains for building R and R packages from source on Windows"
Installing package into ‘C:/Users/madag/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL ''
Content type 'application/zip' length 334085 bytes (326 KB)
downloaded 326 KB
package ‘ez’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
Error: package or namespace load failed for ‘ez’ in inDL(x, as.logical(local), as.logical(now), ...):
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
In addition: Warning message:
package ‘ez’ was built under R version 4.0.5

Thank you so much in advance!

Try updating or reinstalling Rcpp, you might need to install RTools in your system (not in R) if no binary is available for your R version.


Thank you so much @andresrcs. That solved my problem!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.