Closed SteveBronder closed 6 years ago
@SteveBronder I'm not sure what you're trying to do here, but geom_scale_fill_viridis
is not a function of the viridis package. Maybe you wanted to call scale_fill_viridis
instead? (though it won't do anything since you don't have a fill
aesthetics)
Whoops! Apologies that was a typo, dunno why that was there. I edited the code above and it still crashes Rstudio (V1.1.453)
My code above is just a mre. Adding fill to aes()
also causes it to crash
@SteveBronder Can you post the corrected code please?
Below is the corrected code.
library(ggplot2)
library(viridis)
test_df = data.frame(xx = runif(100), groups = sample(LETTERS[1:3], 100, replace = TRUE))
ggplot(test_df, aes(y = xx, x = groups, fill = groups)) +
geom_point() +
scale_fill_viridis(option = "C")
Though running this in terminal actually gives more info, this appears to be an issue with the intel MKL
Intel MKL FATAL ERROR: Cannot load libmkl_core.so.
I'm pretty sure this is a 'me' issue and not a viridis issue. Feel free to close
@SteveBronder Ok. I can't reproduce it here with the version of Ubuntu, R, etc. I doubt this is caused by viridis, it doesn't have much funky code in it.
Hi, I want to share my experience. I had the same problem with R running in a docker (rocker/shiny) on Ubuntu 22.04 but on a Proxmox VM using kvm64 as CPU. Changing the CPU type solved the problem
Since the most recent update the following code causes my Rstudio session to crash.
Session info below