need help on installing qs package in R

...Hi,
need help on installing qs package in R. running install.packages("qs") from R but getting below error. PFA Screenshot for error details.

error message:

installing via 'install.libs.R' to /opt/R/R-4.2.1/library/00LOCK-RcppParallel/00new/RcppParallel
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘RcppParallel’:
.onLoad failed in loadNamespace() for 'RcppParallel', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/opt/R/R-4.2.1/library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so':
/opt/R/R-4.2.1/library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so: undefined symbol: _ZN3tbb10interface58internal9task_base7destroyERNS_4taskE
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/opt/R/R-4.2.1/library/RcppParallel’
    ERROR: dependency ‘RcppParallel’ is not available for package ‘stringfish’
  • removing ‘/opt/R/R-4.2.1/library/stringfish’
    ERROR: dependency ‘stringfish’ is not available for package ‘qs’
  • removing ‘/opt/R/R-4.2.1/library/qs’

The downloaded source packages are in
‘/tmp/Rtmp4rJxZl/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("qs") :
installation of package ‘RcppParallel’ had non-zero exit status
2: In install.packages("qs") :
installation of package ‘stringfish’ had non-zero exit status
3: In install.packages("qs") :
installation of package ‘qs’ had non-zero exit status

It appears you have an unsatisfied dependency: RcppParallel. Have you tried installing that package?

Hi Prubin,
thanks for reply. yes, we tried to install package RcppParallel but getting attached error. PFA screenshot.

I think you have a lock file/folder left over from an earlier, unsuccessful installation attempt. Try deleting the 00LOCk-RcppParallel1 folder and try again.

1 Like