[R-SIG-Mac] Unable to library package "affy"
Ken Beath
ken @end|ng |rom kjbe@th@com@@u
Tue Dec 13 11:27:50 CET 2022
The question is why do you need to install from sources. Using a standard R install and then following the instructions at https://www.bioconductor.org/install/ and then use BiocManager::install(“affy”) It works for me. If it doesn’t for you, then you have done something to your installation. Life will be easier if you just use a standard installation.
Ken
> On 13 Dec 2022, at 4:18 pm, Bowen Lai <bwlaispine using 163.com> wrote:
>
> R version: 4.2.2
> Arm64 with M1 SoC
>
>
> my problem is totally same as this guy https://support.bioconductor.org/p/9148182/
> so i search in Google and downlaod gfortan is neccessary.
> Therefore, I have download ARM64 Macs: gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz from https://github.com/R-macos/gcc-darwin-arm64/releases/tag/R-4.2.0-release , but i can't understand how to use gfortran in R to library package so the problem is still unsolved.
>
>
>
>
> In detail, i can't understand the following steps because i am a medical student and know a little about professional CS.
>
>
>
>
> "This binary installs into /opt/R/arm64/gfortran with an additional symlink in /opt/R/arm64/bin/gfortran. To unpack use
>
> tar fxz gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz -C /
>
>
> (prefix with sudo if you need admin permissions to write to /opt/R/arm64). To use set
>
> export PATH=$PATH:/opt/R/arm64/gfortran/bin
>
>
> In addition, /opt/R/arm64/gfortran/SDK has to point to your macOS SDK. The binary above points to MacOSX11.sdk of Xcode Command Line Tools, but you may need to change it to match your installation. We include a script gfortran-update-sdk in the above tar ball that you can simply run (prefix with sudo if you require admin permissions).
>
> This build has been configured with:
>
> ../gcc-darwin-arm64/configure --prefix=/opt/R/arm64/gfortran --enable-languages=c,fortran \
> --with-gmp=/opt/R/arm64 --with-mpc=/opt/R/arm64 --with-mpfr=/opt/R/arm64 \
> --with-sysroot=/opt/R/arm64/gfortran/SDK"
> Sincerely Yours
> Bowen Lai
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list