Skip to content

gher-uliege/EMODnet-Biology-PhaseV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMODnet-Biology-PhaseV

Code and notes for the EMODnet Biology project Phase V, in which our goals will be:

  1. To make DIVAnd interpolation method available in R
  2. Create gridded maps (heatmaps) of a specific species (birds? mammals?)
  3. Compare the results obtained with DIVAnd with other methods available in R.

Installation and configuration

The instructions are given for a machine running under Ubuntu (22.04.3 LTS -- Jammy).

Installation of R

Documentation: https://cran.r-project.org/web/packages/JuliaCall/readme/README.html

sudo apt install r-base

Editor [optional]

If you want to work with an editor, the most widely used is Rstudio. Visual Studio Code also comes with various extensions to work with R (REditorSupport, R Debugger, ...).

Installation of Julia

We suggest to use the juliaup tool (https://github.com/JuliaLang/juliaup), which makes easier the installation, upgrade and management of different versions of Julia. On Linux or Mac:

curl -fsSL https://install.julialang.org | sh

The Julia version that will be used can be obtained with the command:

juliaup status

which gives, in our case:

 Default  Channel  Version                 Update 
--------------------------------------------------
          1.10     1.10.0+0.x64.linux.gnu         
          rc       1.10.0+0.x64.linux.gnu         
       *  release  1.10.0+0.x64.linux.gnu 

Installation of Julia in R

In a R session:

install.packages("JuliaCall")

You are asked if you want to use a personal library (type "yes"):

Warning in install.packages("JuliaCall") :
  'lib = "/usr/local/lib/R/site-library"' is