JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  October 2020

FSL October 2020

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: installing R for FIX [EXTERNAL]

From:

Matthew Webster <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Sat, 17 Oct 2020 19:49:22 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)

Hi Belinda,

		This now looks very close to being complete, if the first two install_version commands ( install_version("mvtnorm", version="1.0-8”) install_version("multcomp", version="1.4-8”) ) appeared to go OK, then can you try:



install_version("coin", version="1.2-2",dependencies=FALSE)



This should make R request manual confirmation to (re-)install the previous packages - select the no/skip/bypass option and hopefully only coin should be downloaded and installed.



Hope this helps,

Kind regards

Matthew

--------------------------------

Dr Matthew Webster

FMRIB Centre 

John Radcliffe Hospital

University of Oxford



> On 17 Oct 2020, at 20:04, Lennerz, Belinda <[log in to unmask]> wrote:

> 

> ​Hi Matthew,

> I re-did all steps from root, and am now stuck again where i was before. 

> Can you please advise?

> Thank you so much!!

> Belinda

> 

> I have performed  steps:​

> sudo su -

> export FSLDIR=/usr/local/fsl

> $FSLDIR/fslpython/bin/conda create -n fslR

>  . $FSLDIR/fslpython/bin/activate fslR

>  $FSLDIR/fslpython/bin/conda install -c conda-forge -n fslR R=3.4 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 clangxx_osx-64 clang_osx-64

> export CONDA_BUILD_SYSROOT=$(xcrun --show-sdk-path)

> $FSLDIR/fslpython/envs/fslR/bin/R

> require(devtools)

> chooseCRANmirror()​

> install_version("mvtnorm", version="1.0-8")

> install_version("multcomp", version="1.4-8")

> 

> When attempting

> install_version("coin", version="1.2-2")

> 

> I get the following:

> 

> > install_version("coin", version="1.2-2")

> Downloading package from url: https://cran.case.edu/src/contrib/Archive/coin/coin_1.2-2.tar.gz

> Downloading package from url: https://cran.case.edu/src/contrib/Archive/multcomp/multcomp_1.4-8.tar.gz

> Downloading package from url: https://cran.case.edu/src/contrib/Archive/mvtnorm/mvtnorm_1.0-8.tar.gz

> * installing *source* package 'mvtnorm' ...

> ** package 'mvtnorm' successfully unpacked and MD5 sums checked

> ** libs

> clang -I/usr/local/fsl/fslpython/envs/fslR/lib/R/include -DNDEBUG   -I/usr/local/fsl/fslpython/envs/fslR/include   -fPIC  -I/usr/local/fsl/fslpython/envs/fslR/include  -c C_FORTRAN_interface.c -o C_FORTRAN_interface.o

> clang -I/usr/local/fsl/fslpython/envs/fslR/lib/R/include -DNDEBUG   -I/usr/local/fsl/fslpython/envs/fslR/include   -fPIC  -I/usr/local/fsl/fslpython/envs/fslR/include  -c miwa.c -o miwa.o

> gfortran   -fPIC  -I/usr/local/fsl/fslpython/envs/fslR/include -L/usr/local/fsl/fslpython/envs/fslR/lib  -c mvt.f -o mvt.o

> clang -I/usr/local/fsl/fslpython/envs/fslR/lib/R/include -DNDEBUG   -I/usr/local/fsl/fslpython/envs/fslR/include   -fPIC  -I/usr/local/fsl/fslpython/envs/fslR/include  -c mvtnorm-init.c -o mvtnorm-init.o

> gfortran   -fPIC  -I/usr/local/fsl/fslpython/envs/fslR/include -L/usr/local/fsl/fslpython/envs/fslR/lib  -c tvpack.f -o tvpack.o

> clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/fsl/fslpython/envs/fslR/lib/R/lib -arch x86_64 -L/usr/local/fsl/fslpython/envs/fslR/lib -lgfortran -L/usr/local/fsl/fslpython/envs/fslR -o mvtnorm.so C_FORTRAN_interface.o miwa.o mvt.o mvtnorm-init.o tvpack.o -L/usr/local/fsl/fslpython/envs/fslR/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5 -L/usr/local/fsl/fslpython/envs/fslR/lib/gcc -lgfortran -lquadmath -lm -L/usr/local/fsl/fslpython/envs/fslR/lib/R/lib -lR -lintl -lc -Wl,-framework -Wl,CoreFoundation

> ld: warning: directory not found for option '-L/usr/local/fsl/fslpython/envs/fslR/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5'

> ld: warning: directory not found for option '-L/usr/local/fsl/fslpython/envs/fslR/lib/gcc'

> installing to /usr/local/fsl/fslpython/envs/fslR/lib/R/library/mvtnorm/libs

> ** R

> ** inst

> ** preparing package for lazy loading

> ** help

> *** installing help indices

> ** building package indices

> ** installing vignettes

> ** testing if installed package can be loaded

> * DONE (mvtnorm)

> * installing *source* package 'multcomp' ...

> ** package 'multcomp' successfully unpacked and MD5 sums checked

> ** R

> ** data

> *** moving datasets to lazyload DB

> ** demo

> ** inst

> ** preparing package for lazy loading

> ** help

> *** installing help indices

> ** building package indices

> ** installing vignettes

> ** testing if installed package can be loaded

> * DONE (multcomp)

> Downloading package from url: https://cran.case.edu/src/contrib/Archive/mvtnorm/mvtnorm_1.0-8.tar.gz

> Skipping mvtnorm, it is already being installed

> Error in vapply(remotes, install_remote, ..., FUN.VALUE = character(1)) : 

>   values must be type 'character',

>  but FUN(X[[2]]) result is type 'logical'

> > 

> 

> ​

> 

> From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Matthew Webster <[log in to unmask]>

> Sent: Friday, October 16, 2020 4:14 PM

> To: [log in to unmask]

> Subject: Re: installing R for FIX [EXTERNAL]

>  

> * External Email - Caution *

> 

> Dear Belinda,

> There seems to a strange issue with dependencies here, it’s possible your system might have a conda config file modifying the default channels.

> 

> Can you ( in a sudo’d terminal session ) deactivate and then remove the fslR env:

> 

> $FSLDIR/fslpython/bin/conda deactivate

> $FSLDIR/fslpython/bin/conda env remove -n fslR

> 

> recreate and reactivate with:

> 

> $FSLDIR/fslpython/bin/conda create -n fslR

>  . $FSLDIR/fslpython/bin/activate fslR

> 

> And then try the all-in-one install:

> 

>  $FSLDIR/fslpython/bin/conda install -c defaults -n fslR R=3.4 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 clangxx_osx-64 clang_osx-64

> 

> If that doesn’t work, then delete/recreate fslR again and  try:

> 

>  $FSLDIR/fslpython/bin/conda install -c conda-forge -n fslR R=3.4 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 clangxx_osx-64 clang_osx-64

>  

> If one of these works ( both work on my test system ), then you should be fine to proceed from the "export CONDA_BUILD_SYSROOT=$(xcrun --show-sdk-path)” line in the instructions.

> 

> Hope this helps,

> Kind Regards

> Matthew

> --------------------------------

> Dr Matthew Webster

> FMRIB Centre 

> John Radcliffe Hospital

> University of Oxford

> 

>> On 16 Oct 2020, at 17:53, Belinda Lennerz <[log in to unmask]> wrote:

>> 

>> Dear Matthew,

>> Thank you so much for this suggestion. Unfortunately, I am running into the same issues with package installations (copied below). I checked X-Code, and it seems to give the expected readout:

>> 

>> Last login: Fri Oct 16 12:25:07 on ttys000

>> xcrun --show-sdk-path%                                                          (base) blennerz@x86_64-apple-darwin13 ~ % xcrun --show-sdk-path

>> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

>> (base) blennerz@x86_64-apple-darwin13 ~ %

>> 

>> Do you have any additional thoughts?

>> Thank you for your support!!

>> Belinda

>> 

>> Last login: Fri Oct 16 12:23:34 on ttys001

>> (base) blennerz@x86_64-apple-darwin13 ~ % conda deactivate

>> blennerz@x86_64-apple-darwin13 ~ % sudo su -

>> Password:

>> belindas-macbook-pro:~ root# export FSLDIR=/usr/local/fsl

>> belindas-macbook-pro:~ root# $FSLDIR/fslpython/bin/conda create -n fslR

>> Collecting package metadata (current_repodata.json): done

>> Solving environment: done

>> 

>> ## Package Plan ##

>> 

>>  environment location: /usr/local/fsl/fslpython/envs/fslR

>> 

>> 

>> 

>> Proceed ([y]/n)? y

>> 

>> Preparing transaction: done

>> Verifying transaction: done

>> Executing transaction: done

>> #

>> # To activate this environment, use

>> #

>> #     $ conda activate fslR

>> #

>> # To deactivate an active environment, use

>> #

>> #     $ conda deactivate

>> 

>> belindas-macbook-pro:~ root# . $FSLDIR/fslpython/bin/activate fslR

>> (fslR) belindas-macbook-pro:~ root# $FSLDIR/fslpython/bin/conda install -n fslR R=3.4

>> Collecting package metadata (current_repodata.json): done

>> Solving environment: failed with initial frozen solve. Retrying with flexible solve.

>> Collecting package metadata (repodata.json): done

>> Solving environment: done

>> 

>> ## Package Plan ##

>> 

>>  environment location: /usr/local/fsl/fslpython/envs/fslR

>> 

>>  added / updated specs:

>>    - r=3.4

>> 

>> 

>> The following NEW packages will be INSTALLED:

>> 

>>  _r-mutex           conda-forge/noarch::_r-mutex-1.0.1-anacondar_1

>>  c-ares             conda-forge/osx-64::c-ares-1.16.1-haf1e3a3_3

>>  ca-certificates    conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0

>>  cairo              conda-forge/osx-64::cairo-1.14.12-he6fea26_5

>>  curl               conda-forge/osx-64::curl-7.71.1-hcb81553_8

>>  fontconfig         conda-forge/osx-64::fontconfig-2.13.1-h1e4e890_1000

>>  freetype           conda-forge/osx-64::freetype-2.9.1-h5a5313f_1004

>>  gettext            conda-forge/osx-64::gettext-0.19.8.1-h46ab8bc_1002

>>  glib               conda-forge/osx-64::glib-2.55.0-h464dc38_2

>>  graphite2          conda-forge/osx-64::graphite2-1.3.13-h12caacf_1001

>>  gsl                conda-forge/osx-64::gsl-2.6-ha2d443c_0

>>  harfbuzz           conda-forge/osx-64::harfbuzz-1.9.0-h08d66d9_0

>>  icu                conda-forge/osx-64::icu-58.2-h0a44026_1000

>>  jpeg               conda-forge/osx-64::jpeg-9d-h0b31af3_0

>>  krb5               conda-forge/osx-64::krb5-1.17.1-h1752a42_0

>>  libblas            conda-forge/osx-64::libblas-3.8.0-17_openblas

>>  libcblas           conda-forge/osx-64::libcblas-3.8.0-17_openblas

>>  libcurl            conda-forge/osx-64::libcurl-7.71.1-h9bf37e3_8

>>  libcxx             conda-forge/osx-64::libcxx-11.0.0-h439d374_0

>>  libedit            conda-forge/osx-64::libedit-3.1.20170329-0

>>  libev              conda-forge/osx-64::libev-4.33-haf1e3a3_1

>>  libffi             conda-forge/osx-64::libffi-3.2.1-hb1e8313_1007

>>  libgcc             conda-forge/osx-64::libgcc-4.8.5-1

>>  libgfortran        conda-forge/osx-64::libgfortran-5.0.0-h7cc5361_12

>>  libgfortran5       conda-forge/osx-64::libgfortran5-9.3.0-h7cc5361_12

>>  libiconv           conda-forge/osx-64::libiconv-1.16-haf1e3a3_0

>>  libnghttp2         conda-forge/osx-64::libnghttp2-1.41.0-h7580e61_2

>>  libopenblas        conda-forge/osx-64::libopenblas-0.3.10-openmp_h54245bb_5

>>  libpng             conda-forge/osx-64::libpng-1.6.34-ha92aebf_2

>>  libssh2            conda-forge/osx-64::libssh2-1.9.0-h8a08a2b_5

>>  libtiff            conda-forge/osx-64::libtiff-4.0.9-h79f4b77_1002

>>  libxml2            conda-forge/osx-64::libxml2-2.9.9-hd80cff7_2

>>  llvm-openmp        conda-forge/osx-64::llvm-openmp-11.0.0-h73239a0_1

>>  ncurses            conda-forge/osx-64::ncurses-5.9-10

>>  openssl            conda-forge/osx-64::openssl-1.1.1h-haf1e3a3_0

>>  pango              conda-forge/osx-64::pango-1.40.14-h1401c9d_1002

>>  pcre               conda-forge/osx-64::pcre-8.39-0

>>  pixman             conda-forge/osx-64::pixman-0.34.0-h1de35cc_1003

>>  r                  conda-forge/osx-64::r-3.4.1-r3.4.1_0

>>  r-base             conda-forge/osx-64::r-base-3.4.1-4

>>  r-boot             conda-forge/osx-64::r-boot-1.3_20-r341_0

>>  r-class            conda-forge/osx-64::r-class-7.3_14-r341hc070d10_2

>>  r-cluster          conda-forge/osx-64::r-cluster-2.0.6-r3.4.1_0

>>  r-codetools        conda-forge/osx-64::r-codetools-0.2_15-r341h6115d3f_1

>>  r-foreign          conda-forge/osx-64::r-foreign-0.8_71-r341hc070d10_2

>>  r-kernsmooth       conda-forge/osx-64::r-kernsmooth-2.23_15-r3.4.1_0

>>  r-lattice          conda-forge/osx-64::r-lattice-0.20_35-r341hc070d10_0

>>  r-mass             conda-forge/osx-64::r-mass-7.3_50-r341hc070d10_2

>>  r-matrix           conda-forge/osx-64::r-matrix-1.2_14-r341hc070d10_2

>>  r-mgcv             conda-forge/osx-64::r-mgcv-1.8_24-r341hc070d10_2

>>  r-nlme             conda-forge/osx-64::r-nlme-3.1_131-r3.4.1_0

>>  r-nnet             conda-forge/osx-64::r-nnet-7.3_12-r341hc070d10_2

>>  r-recommended      conda-forge/osx-64::r-recommended-3.4.1-r3.4.1_0

>>  r-rpart            conda-forge/osx-64::r-rpart-4.1_13-r341hc070d10_2

>>  r-spatial          conda-forge/osx-64::r-spatial-7.3_11-r341hc070d10_2

>>  r-survival         conda-forge/osx-64::r-survival-2.42_6-r341hc070d10_1

>>  readline           conda-forge/osx-64::readline-7.0-0

>>  tk                 conda-forge/osx-64::tk-8.6.10-hb0a8c7a_1

>>  xz                 conda-forge/osx-64::xz-5.2.5-haf1e3a3_1

>>  zlib               conda-forge/osx-64::zlib-1.2.11-h7795811_1010

>> 

>> 

>> Proceed ([y]/n)? y

>> 

>> Preparing transaction: done

>> Verifying transaction: done

>> Executing transaction: done

>> (fslR) belindas-macbook-pro:~ root# $FSLDIR/fslpython/bin/conda install -n fslR 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 clangxx_osx-64 clang_osx-64

>> Collecting package metadata (current_repodata.json): done

>> Solving environment: failed with initial frozen solve. Retrying with flexible solve.

>> Collecting package metadata (repodata.json): done

>> Solving environment: failed with initial frozen solve. Retrying with flexible solve.

>> Solving environment: - 

>> Found conflicts! Looking for incompatible packages.

>> This can take several minutes.  Press CTRL-C to abort.

>> Examining conflict for r-kernsmooth libblas gsl r-matrix r-base r-mgcv libcblas:Examining conflict for libblas gsl r-base: : 73it [02:16,  3.81it/s]            Examining conflict for clang_osx-64 clangxx_osx-64 r-base: : 75it [02:17,  2.05iExamining conflict for clang_osx-64 clangxx_osx-64 r-base: : 76it [02:17,  1.92iExamining conflict for libev libcurl libnghttp2: : 76it [02:18,  1.92it/s]   failed                                                                      | 

>> 

>> UnsatisfiableError: The following specifications were found to be incompatible with each other:

>> 

>> Output in format: Requested package -> Available versions

>> 

>> 

> 

> 

> To unsubscribe from the FSL list, click the following link:

> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=FSL&A=1

> 

> To unsubscribe from the FSL list, click the following link:

> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=FSL&A=1





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



To unsubscribe from the FSL list, click the following link:

https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=FSL&A=1



This message was issued to members of www.jiscmail.ac.uk/FSL, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager