Skip to content

Problem with createDataPartition

2 messages · Simon Urbanek, RoqueRichard

#
Richard, 

Rcpp has made an ABI-breaking change in 1.0.7 so you need to re-install all packages that use Rcpp (i.e. not only Rcpp itself but all other packages).

One way to re-install all packages is to use something like

install.packages(rownames(installed.packages()), type='binary')

If you want to install only Rcpp dependencies then something like this should work:

deps = tools:::CRAN_package_reverse_dependencies_with_maintainers("Rcpp")[,"Package"]
have = rownames(installed.packages())
install.packages(have[have %in% deps], type='binary')

Cheers,
Simon
#
Hi Simon and Martin,

Many thanks for your assistance and much appreciate it. The system is now working well

Have a good day!

Kind regards,
Richard