Conda is a package manager that can be installed on Linux, Windows, and Mac. If you have not yet installed conda on your computer, follow these instructions:
Conda Installation. Follow instructions for Miniconda.
Conda Download. Use the Python 2.7 based installation.
Create an environment named openalea:
conda create -n openalea -c openalea openalea.plantgl boost=1.66
Activate the openalea environment (do not type 'source' on windows):
[source] activate openalea
Install the different packages
conda install -c openalea openalea.mtg alinea.caribu notebook matplotlib pandas scipy
conda install -c openalea -c conda-forge pvlib-python pytables alinea.astk
Unzip this archive to C:\MinGW_dll.
Add MinGW_dll in the PATH (search for path in the command bar / choose Modifier les variables d'environnement / Variables d'environnement / PATH):
..;C:\MinGW_dll
Launch a console (cmd.exe) and activate openalea:
activate openalea
Test if caribu is working:
canestrad -h
You can install everything by yourself, or using the r channel in conda.
With conda:
[source] deactivate
conda create -n renv -c r rstudio r-rmarkdown r-car r-lme4
[source] activate renv
- PerformanceAnalytics
- lme4
- car
- agricolae
- sensitivity
- lhs
- planor
Under R, you can install everything using:
install.packages(c('PerformanceAnalytics','agricolae','sensitivity','lhs','planor') )