Hi,
I usually have got about 150 packages loaded.
I have used this:
library(nothing, quietly = TRUE)
and then I have only utils and base loaded. This is very good. When I want to load tidyverse or other needed packages I get an error:
Loading the required package: Rcpp
Error: loading package or namespace failed for 'Rcpp' in .Call(C_R_getClassFromCache, name, .classTable):
NULL value passed as symbol address
ERROR: package 'Rcpp' could not be loaded
ERROR: loading package or namespace failed for 'tidyverse':
.onAttach failed in 'attachNamespace()' function for 'tidyverse' package, details:
call: NULL
error: loading package or namespace failed for 'ggplot2' in .Call(C_R_getClassFromCache, name, .classTable):
NULL value passed as symbol address
I want to do this because when I use :
m <- brms::brm(NumericLikert ~ 1, data=data1, family=cumulative(link='probit'), cores=4)
and all packages are loaded it stops constantly and asks me about conflicts preferences. This is annoying.
So I thought that unloading all packages and load only a few would be a solution, but it is not.
Any help will be much appreciated.