[R] Problem installing some r-packages via spack
Eric Berger
er|cjberger @end|ng |rom gm@||@com
Wed Nov 27 08:41:16 CET 2024
I have never used Spack but I took a quick look at their website. They have
the option to install binaries. Perhaps this could work for you and avoid
the compilation error. Here is where they describe how to do it:
https://spack.io/spack-binary-packages/
On Wed, Nov 27, 2024 at 9:29 AM Oren Shani <oren.shani using mail.huji.ac.il>
wrote:
> Hi All,
>
> This occurs when I try to install certain r packages via the Spack package
> manager (the example is for DelayedArray):
>
> 70 ** R
> 71 ** inst
> 72 ** byte-compile and prepare package for lazy loading
> >> 73 Error: objects 'crossprod', 'tcrossprod' are not exported by
> 'namespace:Matrix'
> 74 Execution halted
> 75 ERROR: lazy loading failed for package 'DelayedArray'
>
> The command that Spack is executing is something like this:
>
>
> /usr/local/spack/opt/spack/linux-debian12-x86_64/gcc-12.2.0/r-4.4.1-loskbhydpk5kch62qtgxfwl3zdova22s/rlib/R/bin/INSTALL
>
> --library=/usr/local/spack/opt/spack/linux-debian12-x86_64/gcc-12.2.0/r-delayedarray-0.32.0-5bysjvs6ohawjzdg3j6xzgzz4ps4ukbg/rlib/R/library
> .
>
> I was able to tell Spack to add the --no-byte-compile flag but that doesn't
> make any difference
>
> I am really out of my wits here and this problem inhibits the installation
> of several software packages that our users really need, so any help is
> much appreciated
>
> Many thanks,
>
> Oren
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list