Code and notes for the EMODnet Biology project Phase V, in which our goals will be:
- To make
DIVAnd
interpolation method available inR
- Create gridded maps (heatmaps) of a specific species (birds? mammals?)
- Compare the results obtained with
DIVAnd
with other methods available inR
.
The instructions are given for a machine running under Ubuntu (22.04.3 LTS -- Jammy).
Documentation: https://cran.r-project.org/web/packages/JuliaCall/readme/README.html
sudo apt install r-base
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, ...).
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
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