Description Usage Arguments Details Value
View source: R/install_measure.R
The function is a wrapper to install all python packages dependencies for measure
function at once.
It will install the following packages:
numpy
, scipy
, imutils
, Pillow
, pandas
,
and opencv-python
.
If the latest versions of these packages are already installed, there is no need to run this function.
1 2 3 4 5 6 7 | install_measure(
method = "auto",
conda = "auto",
envname = NULL,
extra_packages = NULL,
pip = F
)
|
method |
Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows. |
conda |
Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations). |
envname |
Name of environment to install packages into. |
extra_packages |
Additional packages if needed. |
pip |
Install from pip, if possible. |
On Linux and OS X the "virtualenv" method will be used by default ("conda" will be used if virtualenv isn't available). On Windows, the "conda" method is always used. For more information check the 'reticulate' package documentation: https://rstudio.github.io/reticulate/
No return value. The function is only called to install the required packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.