Installing ROpenCVLite
should go smoothly on all major operating systems (Mac, Windows, “Ubuntu-like” Linux). There are a few steps to follow before installing the package itself in order to install all the necessary external (i.e. non-R) dependencies for OpenCV
.
All installation steps are described below.
Before installing ROpenCVLite
, you will need to install the latest versions of CMake
and Rtools
.
Download CMake
for Windows at https://cmake.org/download/.
Download the latest “frozen” version of Rtools
at https://cran.r-project.org/bin/windows/Rtools/.
In both cases, make sure to tell the installer to add CMake
and Rtools
to your “PATH”.
Before installing ROpenCVLite
, you will need to install the latest version of CMake
.
Download CMake
for Mac at https://cmake.org/download/. You can also use Homebrew
or MacPorts
if you prefer (I prefer!).
Homebrew:
MacPorts:
Before installing ROpenCVLite
, you will need to install the latest version of CMake
.
Download CMake
for Linux at https://cmake.org/download/. However it is recommended that you install it using your distribution’s package management system.
Ubuntu:
[TODO: add more Linux install commands]
Before installing ROpenCVLite
, you will need to install the devtools
package in R
.
ROpenCVLite
This step can take some time. Go make yourself a cup of coffee or two.