-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I couldn't install the "niftir" package. #10
Comments
Sorry I am no longer actively maintaining this package hence the issues. People have been able to get it working with older versions of R and some other packages. (I don't think this will work on Windows but should work on Ubuntu). You can try with Rcpp version 0.12.8 and bigmemory 4.4.6. After that you might need to set dep=F so that newer versions of those tools don't install. You can also find a python version of the package in CPAC: https://fcp-indi.github.io/docs/user/install.html and that is actively maintained. If you are not doing any intense computation (e.g., using parcellations instead of voxels), then I've attached a pure R version of MDMR. See Rmdmr/242_parcellate_sm/20_mdmr.R for sample usage. Let me know if you have any questions on that. |
Thank you, Prof. Shehzad.
You mean I can run the connectir in a python version of the package in CPAC?
In the website, https://fcp-indi.github.io/docs/user/install.html, I didn't find how runs the connectir package.
I want to analyze the CWAS.
Do the CPAC run the CWAS?
Thank you very much.
Bests,
Jiu
If you have any questions, please don't hesitate to contact me.
Best!
Yours,
Jiu Chen
E-mail: [email protected]
Tel: 86-187-5199-7338
…------------------------------------------------------------------
From:Zarrar Shehzad <[email protected]>
Sent At:2019 Jun. 25 (Tue.) 22:32
To:czarrar/connectir <[email protected]>
Cc:ericchenjiu <[email protected]>; Author <[email protected]>
Subject:Re: [czarrar/connectir] I couldn't install the "niftir" package. (#10)
Sorry I am no longer actively maintaining this package hence the issues. People have been able to get it working with older versions of R and some other packages. (I don't think this will work on Windows but should work on Ubuntu). You can try with Rcpp version 0.12.8 and bigmemory 4.4.6. After that you might need to set dep=F so that newer versions of those tools don't install.
You can also find a python version of the package in CPAC: https://fcp-indi.github.io/docs/user/install.html and that is actively maintained.
If you are not doing any intense computation (e.g., using parcellations instead of voxels), then I've attached a pure R version of MDMR. See Rmdmr/242_parcellate_sm/20_mdmr.R for sample usage. Let me know if you have any questions on that.
Rmdmr.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Dear,
Do you can tell me the version of R software. It took me about a week to install it, but I still couldn't install the "niftir" package in Win and Ubuntu. Thank you.
devtools::install_github("czarrar/niftir") # https://github.com/czarrar/niftir
Downloading GitHub repo czarrar/niftir@master
√ checking for file 'C:\Users\SJYX-CJ\AppData\Local\Temp\RtmpEF1YAP\remotes23e42706519b\czarrar-niftir-afd7905/DESCRIPTION' (759ms)
√ checking DESCRIPTION meta-information ...
Warning: C:/Users/SJYX-CJ/AppData/Local/Temp/RtmpyaMctM/Rbuild535026a614e0/niftir/man/nifti.Rd:7: unknown macro '\n'
Warning: C:/Users/SJYX-CJ/AppData/Local/Temp/RtmpyaMctM/Rbuild535026a614e0/niftir/man/nifti.Rd:8: unknown macro '\n'
Warning: C:/Users/SJYX-CJ/AppData/Local/Temp/RtmpyaMctM/Rbuild535026a614e0/niftir/man/nifti.Rd:35: unknown macro '\n'
Warning: C:/Users/SJYX-CJ/AppData/Local/Temp/RtmpyaMctM/Rbuild535026a614e0/niftir/man/nifti.Rd:49: unexpected '}'
Warning: file 'niftir/cleanup' did not have execute permissions: corrected
Warning: file 'niftir/configure' did not have execute permissions: corrected
Installing package into ‘C:/Users/SJYX-CJ/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
installing source package 'niftir' ...
WARNING: this package has a configure script
It probably needs manual configuration
** libs
C:/RBuildTools/3.5/mingw_64/bin/gcc -m64 -I"C:/PROGRA
1/MICROS2/ROPEN1/R-351.3/include" -DNDEBUG -I"C:/Users/SJYX-CJ/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/SJYX-CJ/Documents/R/win-library/3.5/BH/include" -I"C:/Users/SJYX-CJ/Documents/R/win-library/3.5/bigmemory/include" -I"C:/a/w/1/s/vendor/extsoft/include" -O2 -Wall -std=gnu99 -mtune=core2 -c nifti1_io.c -o nifti1_io.onifti1_io.c:3:73: fatal error: niftir/nifti1_io.h: No such file or directory
#include "niftir/nifti1_io.h" /* typedefs, prototypes, macros, etc. */
^
compilation terminated.
make: *** [C:/PROGRA
1/MICROS2/ROPEN1/R-351.3/etc/x64/Makeconf:208: nifti1_io.o] Error 1ERROR: compilation failed for package 'niftir'
In R CMD INSTALL
Error in i.p(...) :
(converted from warning) installation of package ‘C:/Users/SJYX-CJ/AppData/Local/Temp/RtmpEF1YAP/file23e438556d64/niftir_0.2.tar.gz’ had non-zero exit status
Copying scripts for connectir
The text was updated successfully, but these errors were encountered: