Installation Help #650
Unanswered
pascal-sauer
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this discussion you can ask questions and report problems you encountered while setting up MAgPIE using the how to install section of the readme.
Known problems
Rtools not found
If you get an error like
Error : Could not find tools necessary to compile a package
on Windows your Rtools setup is not working yet. Make sure you installed the RTools version matching your R version. Make sure the environment variableRTOOLS43_HOME
(for R/Rtools 4.3; replace "43" with your R/Rtools version if needed) is set to the path to the Rtools directory.R package system requirements missing
When installing R packages from source (usually only on Linux/Mac) sometimes system libraries are missing. You can look up system requirements and how they are called for your system at
https://sysreqs.r-hub.io/pkg/<package-name>
, replacing<package-name>
with the package that fails to install. Then you usually just need to install the missing packages via your package manager, e.g.brew
on Mac, andapt
on Ubuntu.For example for the
ragg
package: https://sysreqs.r-hub.io/pkg/raggSo on Mac you'd need to run
brew install libpng libtiff
, on Ubuntu it would besudo apt install libpng-dev libtiff-dev
.Beta Was this translation helpful? Give feedback.
All reactions