Open doublezede opened 2 years ago
Hello Jenn I also get this error. Have you solved the problem yet?
Best, Baobao
Hi Baobao, I haven't tried installing the package since, as I'm still waiting for an answer here. Kind regards, Jenn
Hi Jenn You can download the source code and load it in R with "source()" function. In this way, we can use the function of scalop package too. It works for me.
Baobao
Hi, I try to install the scalop package and I'm using, R version 4.2.2 (2022-10-31) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Catalina 10.15.7
I have the same error as doublezede trying to install scallop with devtools, so as gengbaobao suggest, I tried to install the package using the source code but it doesn't work and gives me this type of error for this command :
install.packages("~/Desktop/Stage M2/Bulk TCGA/scalop.tar.gz", repos = NULL, type = "source")
A part of the error :
^
._init.c:1:176: error: expected identifier or '('
<U+0000><U+0005><U+0016><U+0007><U+0000><U+0002><U+0000><U+0000>Mac OS X <U+0000><U+0002><U+0000><U+0000><U+0000> <U+0000><U+0000><U+0000>2<U+0000><U+0000><U+0000>
If someone can help me :)
Similar issue. @jlaffy
The problem for me was the version of R (4.2.2) that didn't allow me to install the package and was giving me this error. What I did was to create a conda environment with an earlier version of R (4.1 for example) and I was able to reinstall scalop. Hope it helps
All - in addition to Hugo's helpful comments, please see: https://stackoverflow.com/questions/76387189/fatal-error-relating-to-include-s-h-when-installing-r-scalop-package/76387609#76387609
Hi, I'm trying to install the scalop package, using R version 4.2.1 Platform: x86_64-apple-darwin19.6.0 (64-bit) devtools::install_github("jlaffy/scalop")
But I get the following error:
Any idea what could explain this error? Thank you for your help, Kind regards, Jenn