Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Bill Dunlap
You can define the environment variable R_DONT_USE_TK (to any value) to avoid this hang caused by code in the tkrplot package. You do not have to have an X server running if R_DONT_USE_TK is set. This will avoid potential hangs while installing the 23 packages that depend on tkrplot. tools::pack

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Bill Dunlap
I tried this a second time, but with --no-byte-compile, and it hung with a slightly different traceback (gdb) where #0 0x7f95bc4c6689 in __fxstat64 () from /usr/lib/x86_64-linux-gnu/libc.so.6 #1 0x7f95bc497050 in opendir () from /usr/lib/x86_64-linux-gnu/libc.so.6 #2 0x7f95b935f1e0

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Brodie, Kent via R-help
Bill-- BINGO.You have found the answer. After some testing on one of my environments where it was always hanging, connecting to the same server with an X-Sever running on my workstation did indeed allow the package to be installed. **GOOD LORD THAT’S RIDICULOUS** But at least I

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Jeff Newmiller
This is a microcosm of why installing "all CRAN" packages is a bad idea. Now extend this to the other 5% of 16000+ packages that will have unclear requirements, and when you have all those installed try to update just one of the packages because one of your users has learned of a bug in that pac

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Bill Dunlap
I just tried installing forensim on R-devel/Ubuntu 20.04/WSL-2.0 without an X server (hence DISPLAY was not set). Loading tktcl gives a warning that Tk is not available because DISPLAY is not set. The installation hung after the byte-compile message: installing to /home/bill/R-devel/R-build/site-

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-30 Thread Brodie, Kent via R-help
Message- > From: Henrik Bengtsson > Sent: Wednesday, September 29, 2021 9:43 PM > To: Brodie, Kent > Cc: r-help@r-project.org > Subject: Re: [R] Package installation help: Stuck at "** byte-compile and > prepare package for lazy loading" > > ATTENTION: This email or

Re: [R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-29 Thread Henrik Bengtsson
I just tried on an up-to-date CentOS 7 with R 4.1.1 built from source using gcc 8.3.1 (from SCL devtoolset-8; so not the default gcc 4.8.5), and it works there. If of any help, here's the output when installing to user's personal package library: > chooseCRANmirror(ind = 1) > install.packages("fo

[R] Package installation help: Stuck at "** byte-compile and prepare package for lazy loading"

2021-09-29 Thread Brodie, Kent via R-help
Hey everyone! So, I've been asked by one of our researchers to install "all" cran packages on one of our servers.Yeah, it's a bit much (and clearly, not everything will install correctly due to various missing tidbits), but it will go a long way to having to constantly respond to install re