AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 17, 2021 11:25AM
Hi there,

I checked for AFNI updates and a message appeared indicating that I did not have the relevant R packages installed (I had everything previously). I ran "rPkgsInstall -pkgs ALL" and it seems like it could not be installed properly. I was wondering whether you have any solutions to these errors am receiving?

Thank you,
Tamara

TERMINAL OUTPUT

ttavare@MitchellLabImage2:~$ rPkgsInstall -pkgs ALL
Installing package into ‘/home/ttavare/R’
(as ‘lib’ is unspecified)
Warning: dependency ‘cmdstanr’ is not available
also installing the dependencies ‘igraph’, ‘StanHeaders’, ‘RcppParallel’, ‘threejs’, ‘gsl’, ‘sf’, ‘rstan’, ‘rstantools’, ‘shinystan’, ‘projpred’, ‘rtdists’, ‘spdep’

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 2715500 bytes (2.6 MB)
==================================================
downloaded 2.6 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 1402572 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 1967752 bytes (1.9 MB)
==================================================
downloaded 1.9 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 866293 bytes (845 KB)
==================================================
downloaded 845 KB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 213803 bytes (208 KB)
==================================================
downloaded 208 KB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 3645982 bytes (3.5 MB)
==================================================
downloaded 3.5 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 1152008 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 91668 bytes (89 KB)
==================================================
downloaded 89 KB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 2400413 bytes (2.3 MB)
==================================================
downloaded 2.3 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 175415 bytes (171 KB)
==================================================
downloaded 171 KB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 867210 bytes (846 KB)
==================================================
downloaded 846 KB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 4281099 bytes (4.1 MB)
==================================================
downloaded 4.1 MB

trying URL '[cloud.r-project.org];
Content type 'application/x-gzip' length 4954887 bytes (4.7 MB)
==================================================
downloaded 4.7 MB

ERROR: failed to lock directory ‘/home/ttavare/R’ for modifying
Try removing ‘/home/ttavare/R/00LOCK-igraph’
* installing *source* package ‘RcppParallel’ ...
** package ‘RcppParallel’ successfully unpacked and MD5 sums checked
** using staged installation
** preparing to configure package 'RcppParallel' ...
*** configured file: 'src/Makevars.in' => 'src/Makevars'
** finished configure for package 'RcppParallel'
** libs
(tbb) Building TBB using bundled sources ...
make[1]: Entering directory '/tmp/RtmphUKw5D/R.INSTALL639c5dd5d197/RcppParallel/src/tbb/src'
../build/common.inc:74: *** "" is not supported. Add build/.inc file with os-specific settings . Stop.
make[1]: Leaving directory '/tmp/RtmphUKw5D/R.INSTALL639c5dd5d197/RcppParallel/src/tbb/src'
make: *** [Makevars:152: tbb] Error 2
ERROR: compilation failed for package ‘RcppParallel’
* removing ‘/home/ttavare/R/RcppParallel’
* installing *source* package ‘gsl’ ...
** package ‘gsl’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gsl-config... no
configure: error: gsl-config not found, is GSL installed?
ERROR: configuration failed for package ‘gsl’
* removing ‘/home/ttavare/R/gsl’
* installing *source* package ‘sf’ ...
** package ‘sf’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: gcc -std=gnu99
configure: CXX: g++ -std=gnu++11
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘sf’
* removing ‘/home/ttavare/R/sf’
ERROR: dependency ‘RcppParallel’ is not available for package ‘StanHeaders’
* removing ‘/home/ttavare/R/StanHeaders’
ERROR: dependency ‘igraph’ is not available for package ‘threejs’
* removing ‘/home/ttavare/R/threejs’
ERROR: dependency ‘RcppParallel’ is not available for package ‘rstantools’
* removing ‘/home/ttavare/R/rstantools’
ERROR: dependency ‘gsl’ is not available for package ‘rtdists’
* removing ‘/home/ttavare/R/rtdists’
ERROR: dependency ‘sf’ is not available for package ‘spdep’
* removing ‘/home/ttavare/R/spdep’
ERROR: dependencies ‘StanHeaders’, ‘RcppParallel’ are not available for package ‘rstan’
* removing ‘/home/ttavare/R/rstan’
ERROR: dependency ‘rstantools’ is not available for package ‘projpred’
* removing ‘/home/ttavare/R/projpred’
ERROR: dependencies ‘rstan’, ‘threejs’ are not available for package ‘shinystan’
* removing ‘/home/ttavare/R/shinystan’
ERROR: dependencies ‘rstan’, ‘rstantools’, ‘shinystan’, ‘projpred’ are not available for package ‘brms’
* removing ‘/home/ttavare/R/brms’

The downloaded source packages are in
‘/tmp/RtmpRiNTN4/downloaded_packages’

++ Note: @ 14:55:40
This package has been installed on the computer: brms

There were 13 warnings (use warnings() to see them)
ttavare@MitchellLabImage2:~$
Subject Author Posted

R package installation

tamtam September 17, 2021 11:25AM

Re: R package installation

Daniel Glen September 17, 2021 03:22PM

Re: R package installation

tamtam September 22, 2021 11:39AM

Re: R package installation

gang September 22, 2021 08:39PM