ggseg / ggsegExtra

Repository for extra atlases for the ggseg-package
https://ggseg.github.io/ggsegExtra/
Other
47 stars 17 forks source link

not able to load ggsegExtra #18

Closed mvlombardo closed 4 years ago

mvlombardo commented 4 years ago

Hi, I'm having a problem using ggsegExtra. I have tried this below, but get a message about an .rdb file being corrupt. What should I do?

library(ggseg)

library(ggsegExtra)

Error in FUN(X[[i]], ...) : lazy-load database '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/ggseg/data/Rdata.rdb' is corrupt In addition: Warning messages: 1: In FUN(X[[i]], ...) : restarting interrupted promise evaluation 2: In FUN(X[[i]], ...) : internal error -3 in R_decompress1

mvlombardo commented 4 years ago

I think I might have solved the problem.

I closed RStudio and tried again, but this time I first did:

library(tidyverse)

and then

library(ggseg) library(ggsegExtra)

And for some reason, its now working...

drmowinckels commented 4 years ago

great you got it working! :) i'll look into bugs that might occur with loading packages in specific orders. but i have hd this issue before when updating ggseg packages while they are loaded, which throws this error. but restarting R thankfully fixes it.