Rstudio Desktop crashes with MARSS example

On our RedHat 7 Linux system, Rstudio Desktop crashes with the following example from the MARSS package. The example runs correctly in R outside of Rstudio. Any suggestions would be appreciated.

library(MARSS)
dat<-t(harborSealWA)
dat<-dat[2:nrow(dat),]
kem<-MARSS(dat)

R Session Aborted
R encountered a fatal error.
The session was terminated.

sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux

Matrix products: default
LAPACK: /home/local-rhel7/apps/R-4.2.0/intel-21.4/lib64/R/modules/lapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8
[2] LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8
[8] LC_NAME=C
[9] LC_ADDRESS=C
[10] LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8
[12] LC_IDENTIFICATION=C

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

loaded via a namespace (and not attached):
[1] compiler_4.2.0 tools_4.2.0

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.