Error when reading the sf library

Hi,
Im trying to load the library (sf) although got the following error:

"Error: package or namespace load failed for ‘sf’: .onLoad failed in loadNamespace() for 'sf', details: call: CPL_set_data_dir(prj) error: el paquete 'Rcpp_precious_remove' no ofrece la función 'Rcpp'"

Can you help me on this? Im quite new on Rstudio.... Many thanks

You need to update Rcpp

install.packages("Rcpp")

Many thanks and worked!!!

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.