RStudio crashing while loading keras' imdb dataset

Hi all! First post ever here, so please bear with me if I got something wrong.
I'm using RStudio to follow along François and JJ's (excellent) book on "Deep Learning with R". When trying to reproduce examples, I faced a weird situation: running the following two lines will result in RStudio prompting "R Session Aborted - R encountered a fatal error. The session was terminated".
The mysteriously bombastic two lines are:
library(keras)
imdb <- dataset_imdb(num_words = 10000)

Any help is greatly appreciated! Session info is below. Thanks in advance!
Doug

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale:
[1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_Switzerland.1252
[3] LC_MONETARY=German_Switzerland.1252 LC_NUMERIC=C
[5] LC_TIME=German_Switzerland.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] keras_2.3.0.0.9000

loaded via a namespace (and not attached):
[1] compiler_4.0.2 Matrix_1.2-18 magrittr_1.5 R6_2.4.1 generics_0.0.2
[6] tools_4.0.2 whisker_0.4 base64enc_0.1-3 Rcpp_1.0.5 reticulate_1.16
[11] tensorflow_2.2.0 grid_4.0.2 zeallot_0.1.0 jsonlite_1.7.0 tfruns_1.4
[16] lattice_0.20-41

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.