Тёмный

How to install the R Package 'ENMEval' (and 'xml2,' 'tidyverse,' 'rJava') under Ubuntu Linux 20.04 

Josh Banta
Подписаться 3,1 тыс.
Просмотров 2,2 тыс.
50% 1

Please consider subscribing to my channel by hitting the "Subscribe" button. It is absolutely free and there are no charges. But if you like what I am doing and you do want to support my channel, consider making a voluntary donation at / joshbanta . It helps me to deliver more content and to keep this channel active.
This tutorial also installs the R package 'ENMEval,' as well as the dependency R packages 'xml2,' 'tidyverse,' and 'rJava,' under Ubuntu Linux version 20.04. The ENMEval package is used to find the best settings for running the ecological niche modeling (also known as species distribution modeling) software Maxent.
This tutorial assumes you already have R and Rstudio installed. See my tutorial for installing those software here:
• How to install R and R...
Want to know how to run the ENMEval package once you've installed it? See my other video: • How to decide which se... .
I also have one for running Maxent:
• How to perform species...
This tutorial assumes you are using Ubuntu Linux version 20.04 as your operating system. If you do not have a computer running Ubuntu, fear not. You can install Ubuntu as a virtual machine within your current operating system. It is all free.
The instructions for Windows computers are here:
• Install Ubuntu on Virt...
The instructions for Mac computers are here (from 0:00 to 5:37):
• How to Install Windows...
Code I used in this tutorial:
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev libxml2-dev
sudo apt install libgeos-dev
sudo apt-get install libgdal-dev libproj-dev
sudo Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='xml2', dependencies=TRUE, repos=c('ftp.heanet.ie/m..."
sudo Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='tidyverse', dependencies=TRUE, repos=c('ftp.heanet.ie/m..."
sudo Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='ENMeval', dependencies=TRUE, repos=c('ftp.heanet.ie/m..."
sudo apt-get install -y default-jre
sudo apt-get install -y default-jdk
sudo R CMD javareconf
sudo Rscript --slave --no-save --no-restore-history -e "install.packages(pkgs='rJava', dependencies=TRUE, repos=c('ftp.heanet.ie/m..."
But you can actually skip this tutorial if you just use my pre-configured Ubuntu Linux virtual machine! Read more below.
FYI:
I have made a Linux virtual machine that is pre-configured with population genetics and ecological niche modeling programs. I have made videos explaining how to hook up this virtual machine within your Mac or Windows computer, so that you can start using the pre-configured software without having to install any of them (and even without having to install Ubuntu Linux!).
Windows: • Ubuntu 20.04 virtual m...
Mac: • Ubuntu 20.04 virtual m...

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@abdelrahmanelsayed2296
@abdelrahmanelsayed2296 8 месяцев назад
it works , thank you soooooo much
@ssthapit
@ssthapit Год назад
Thank you for this video. This is the only tutorial that worked for me.
@kanmanimathiyazhagan4994
@kanmanimathiyazhagan4994 11 месяцев назад
Thank you!
@leancito3919
@leancito3919 Год назад
thanks alot
@andywall6899
@andywall6899 6 месяцев назад
Hello, thank you for this tutorial. I ran into an error and I'm hoping you could help. When downloading the "ENMeval" I get 10 warning messages (instead of the 1 in the video) with many packages not downloading. I am sure I entered the code correctly. Any idea what went wrong?
@DrJBanta
@DrJBanta 6 месяцев назад
Hello, here are some troubleshooting questions. Are you running the tutorial on my data or your data? Did you set the working directory? Did you install all the packages first? Best, Josh
Далее
New to Linux? Yeah, DON'T Use Manjaro...
15:55
Просмотров 206 тыс.
Mark Rober vs Dude Perfect- Ultimate Robot Battle
19:00
Postgres just got even faster
26:42
Просмотров 12 тыс.
Why Linux Is Better For Programming
13:32
Просмотров 2,8 млн
5 TWEAKS that improve Linux Mint!
12:35
Просмотров 141 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 628 тыс.
sdm R package: species distribution modelling
56:56
Просмотров 27 тыс.
How to Run Windows Apps on Linux using Bottles
12:09
Просмотров 64 тыс.
Compilers, How They Work, And Writing Them From Scratch
23:53