Trying to get spacyr up and running. Have installed miniconda in zsh (osx teminal) and am running the following:
devtools::install_github("kbenoit/spacyr", build_vignettes = FALSE)
spacy_download_langmodel("en_core_web_lg")
library("spacyr")
spacy_initialize(model = "en_core_web_sm")
I think install is ok, but language model is not downloading. Throws following errors:
spacy_download_langmodel("en_core_web_lg") Error in spacy_download_langmodel("en_core_web_lg") : could not find function "spacy_download_langmodel" library("spacyr") spacy_initialize(model = "en_core_web_sm") Finding a python executable with spaCy installed... Error in set_spacy_python_option(python_executable, virtualenv, condaenv, : spaCy or language model en_core_web_sm is not installed in any of python executables.
Am I missing something, should I be downloading the language models elsewhere? I thought installing through r self contains the env etc.
Apologies new to spacyr and nlp. Any feedback appreciated.