The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
reticulateThe text package relies on Python packages. While
textrpp_install() function offers an automated setup,
manually installing the dependencies can help with troubleshooting and
provides greater control for advanced users.
This guide explains how to install everything step-by-step using the
reticulate package in R.
Use reticulate to install Miniconda:
Then create a new conda environment with Python 3.9:
Install the required python packages (rpp) needed for the text-package:
rpp_packages <- c(
"torch==2.2.0",
"transformers==4.38.0",
"huggingface_hub==0.20.0",
"numpy==1.26.0",
"pandas==2.0.3",
"nltk==3.8.1",
"scikit-learn==1.3.0",
"datasets==2.16.1",
"evaluate==0.4.0",
"accelerate==0.26.0",
"bertopic==0.16.3",
"jsonschema==4.19.2",
"sentence-transformers==2.2.2",
"flair==0.13.0",
"umap-learn==0.5.6",
"hdbscan==0.8.33",
"scipy==1.10.1",
"aiohappyeyeballs==2.4.4"
)
reticulate::conda_install("textrpp_reticulate", packages = rpp_packages, pip = TRUE)To use/initialize the environment in your R session:
You now have a fully working manual installation of the
text/textrpp Python environment using
reticulate.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.