I'm having a problem compiling and/or loading shiny on my platform. Here's the error:
* installing *source* package ‘shiny’ ...
** package ‘shiny’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
terminate called after throwing an instance of 'std::runtime_error'
what(): Mutex creation failed
/usr/lib64/R/bin/INSTALL: line 34: 2047 Done echo 'tools:::.install_packages()'
2048 Aborted (core dumped) | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}
The downloaded source packages are in
‘/tmp/RtmpkcxzEd/downloaded_packages’
Warning message:
In install.packages("shiny") :
installation of package ‘shiny’ had non-zero exit status
Here is my session information:
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux
Matrix products: default
BLAS: /usr/lib/libblas.so.3.8.0
LAPACK: /usr/lib/liblapack.so.3.8.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1 tcltk_3.5.1
The library call fails with the same mutex initialization error. Would be very grateful if you could point me in the right direction. Thanks in advance for your time!
Hi,
I just had the same problem. Revert glibc to the previous version (2.27-3) and you should be ok.
This glibc update seems to have broken electron apps as well, this is being investigated in the arch bugtracker.
Ah, I see the bug report about it now. Thank you, Maxime.
This is due to the 'later' package. The latest github release has a fix for this: devtools::install_github('r-lib/later'). For any future arch linux users wondering why everything broke.
Thanks for keeping up with the issue and providing the fix here!
thank u
Most helpful comment
This is due to the 'later' package. The latest github release has a fix for this: devtools::install_github('r-lib/later'). For any future arch linux users wondering why everything broke.