Theme: orderedlist
In preparation for the practical sessions, you should install required software on the computer that you will bring to the autumn school.
For this, please follow the steps below:
.libPaths()[1]
) and enough free space (>2GB)source("https://raw.githubusercontent.com/NBISweden/single-cell_sib_scilifelab/master/install_packages.R")
The script will check your environment, install what is missing, and report any problems. During the installation, you may be prompted to update existing packages (recommended).
Don’t worry if not everything is installed successfully - please contact the course organisers for help, either by email or on Sunday before dinner.
We are looking forward to meet you all in Leysin!
Here are a couple of common issues and their solutions:
clang: error: unsupported option '-fopenmp'
.go to https://stat.ethz.ch/CRAN/ -> download R for mac, follow the link to ‘tools’ (in the ‘Important’ paragraph), and download and install clang-7.0.0 and gfortran-6.1 (for R 3.6).
modify your ~/.R/Makevars (or create it if it does not exist yet) to include the following:
FLIBS=””
F77=”/usr/local/gfortran/bin/gfortran”
FC=”/usr/local/gfortran/bin/gfortran”
CC=/usr/local/clang7/bin/clang
CXX=/usr/local/clang7/bin/clang++
CXX11=/usr/local/clang7/bin/clang++
CXX14=/usr/local/clang7/bin/clang++
CXX17=/usr/local/clang7/bin/clang++
CXX1X=/usr/local/clang7/bin/clang++
LDFLAGS=-L/usr/local/clang7/lib
then try the installation again.
HDF5Array
fails to compile/install with a file not found
error (files from Rhdf5lib
). This is caused by recent changes in Rhdf5lib
(1.6.2). HDF5Array
(1.12.3) has been fixed, but is not yet available from bioconductor.org, but it can be downloaded/installed directly from github:
git clone --branch RELEASE_3_9 https://git.bioconductor.org/packages/HDF5Array
R CMD INSTALL HDF5Array