Closed zhiiiyang closed 1 year ago
Hi @zhiiiyang, thanks for the heads up. It looks like it might be an issue with compiling the Rcpp part of the package on a MacBook with Apple Silicon. I will test it with my personal laptop and let you know what I find.
I got this error also @zhiiiyang. It appears to be a common error when installing packages that use Rcpp on Macs with Apple Silicon. I was able to solve it on my machine by following the instructions here.
You probably already have the Xcode tools, so look over the GNU Fortran section and the Apple silicon Macs subsection.
Let me know if that works for you.
It worked! Thank you, @davidpross.
Hi, I get the exact same error, even after installing Xcode and GNU Fortran following the instructions in the link in your comment @davidpross
devtools::install_github("https://github.com/Nanostring-Biostats/InSituType") Downloading GitHub repo Nanostring-Biostats/InSituType@HEAD Skipping 3 packages not available: SingleCellExperiment, SummarizedExperiment, sparseMatrixStats ── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/0m/4rwt_z816mlcps48xsc34jvc0000gn/T/RtmpIzlMP7/remotesea05a67a7ad/Nanostring-Biostats-InSituType-0834eaf/DESCRIPTION’ ... ─ preparing ‘InSituType’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘InSituType_1.0.0.tar.gz’
here
Hi, I have a macOS Monterey with Apple M2 chip. Following the instruction, I installed Xcode and GNU Fortran compiler. When I try to install the Mandatory libraries, I ran into errors in R. Here is my codes.
source("https://mac.R-project.org/bin/install.R")
install.libs("r-base-dev")
Here is my Mac information:
Any suggestion on how to solve this issue?
Thanks. LC
@limin321 it looks like you may be running into a permissions issue, see this note from the r-project page:
NOTE: if you don't have write-permission in the installation location, you may need to make it writable or run sudo R.
What installation error do you get when you try to install InSituType?
I was able to solve my issues with:
Hello, I recently installed Insitutype on two different machines, and it failed because:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘lsa’ Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted
The installation went without issues after install.packages('lsa')
. Should lsa
be added to DESCRIPTION?
Hi @patrickjdanaher, I am having problems with installing this package on my MacBook. I used
devtools::install_github("Nanostring-Biostats/InSituType", dependencies = TRUE)
.