Print

Print


Please try my instructions - this is the wrong version of R. Having investigated further the instructions should work, but I have updated them to specify the R program that needs to be run.

Duncan

On 6 Mar 2019, at 09:02, Sean Fitzgibbon <[log in to unmask]> wrote:

Hi Conrad 

It looks to me like you do not have gfortan 6.1.0 installed.  If so, you can install gfortran from here:


Cheers, Sean

On 6 Mar 2019, at 00:05, Conrad Rockel <[log in to unmask]> wrote:

Hi folks,

I would like to start using FIX on a Mac (OSX 10.13.5), and today downloaded FIX 1.068.  I had been trying to get 1.067 to run, but the dependencies are killing me!

I have been following the README file for FIX setup, and as you said, "party" fails to compile on the first try.  However, when I try a second time, I get a bunch of errors due to the dependencies of "party".

Specifically, I used these commands:

conda install R=3.4
conda install r-rocr=1.0_7 r-kernlab=0.9_25 r-randomForest=4.6_12 r-class=7.3_14 r-e1071=1.6_8 r-devtools

I launch R (have tried with and without sudo).

At first, require(devtools) would not work, so I used conda:
install.packages("devtools")

require(devtools) would then work within R.  The following is the output I receive:

install_version("party", version="1.0-25")
--- Please select a CRAN mirror for use in this session ---
Error in package_find_repo(package, repos) :
 couldn't find package 'party'
install_version("party", version="1.0-25")
Downloading package from url: https://cran.revolutionanalytics.com/src/contrib/Archive/party/party_1.0-25.tar.gz
* installing *source* package ‘party’ ...
** package ‘party’ successfully unpacked and MD5 sums checked
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Classes.c -o Classes.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Convenience.c -o Convenience.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Distributions.c -o Distributions.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c IndependenceTest.c -o IndependenceTest.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c LinearStatistic.c -o LinearStatistic.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Node.c -o Node.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Predict.c -o Predict.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c RandomForest.c -o RandomForest.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c S3Classes.c -o S3Classes.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Splits.c -o Splits.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c SurrogateSplits.c -o SurrogateSplits.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c TestStatistic.c -o TestStatistic.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c TreeGrow.c -o TreeGrow.o
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I"/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mvtnorm/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c Utils.c -o Utils.o
Utils.c:309:18: warning: unused variable 'pn' [-Wunused-variable]
   int i, j, p, pn, k, *positive;
                ^
1 warning generated.
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o party.so Classes.o Convenience.o Distributions.o IndependenceTest.o LinearStatistic.o Node.o Predict.o RandomForest.o S3Classes.o Splits.o SurrogateSplits.o TestStatistic.o TreeGrow.o Utils.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [party.so] Error 1
ERROR: compilation failed for package ‘party’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/party’
Error in i.p(...) :
 (converted from warning) installation of package ‘/var/folders/2w/gzmgwrcx1p7_gtrbrqp7dq9c0000gp/T//Rtmpcdr1f2/remotes136075e538fe3/party’ had non-zero exit status


Any ideas of what I could be doing wrong?

Thanks,

Conrad

########################################################################

To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1



To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1


-- 
Duncan A B Mortimer DPhil MChem
                Senior Informatics Officer,
Wellcome Centre for Integrative Neuroimaging, FMRIB,
University of Oxford



To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1