How to recognize Conda using Reticulate for installing SpacyR - r

I'm trying to install spacyr on a Windows 10 machine with R 3.6.1. and Visual Studio Community 2019.
When trying to spacy_install() I get this error:
"Error: Conda installation failed (no conda binary found)
Install Anaconda 3.x for Windows (https://www.anaconda.com/download/#windows)
before installing spaCy"
I had already installed Miniconda3 4.7.12 and after failing I installed Anaconda3 2019.10 (Python 3.7.4 64-bit).
Looking at the code in https://github.com/quanteda/spacyr/blob/master/R/spacy_install.R I tried reticulate::py_versions_windows() and I get:
type hive install_path executable_path version arch
1 PythonCore HCU C:\Users\user\ANACON~1 C:\Users\camil\ANACON~1\python.exe 3.7 x64
2 Anaconda HCU C:\Users\user\ANACON~1 C:\Users\camil\ANACON~1\python.exe 3.7 x64
But when I try reticulate::conda_binary("auto") I get:
Error: Unable to find conda binary. Is Anaconda installed?
I also tried installing spacy in Python through pip and conda (not both at the same time) and that doesn't work either.

Related

Unable to install R 3.6.0 on centos

When I was trying install R on centos 7 using the below command, older version is getting installed instead of latest version(3.6.0).
Command :
yum install R -y
Required suggestions on how to install latest version(3.6.0) of R on Centos 7.
yum --enablerepo=epel-testing install R
source:
https://centos.pkgs.org/7/epel-testing-x86_64/R-3.6.0-1.el7.x86_64.rpm.html

Having trouble installing tensorflow on rstudio

I am fairly new to R studio, any help would be appreciated. I am installing r studio on my Mac, I am getting an error while trying to install tensorflow
devtools::install_github("rstudio/tensorflow")
library(tensorflow)
install_tensorflow()
I get this error
Error: Prerequisites for installing TensorFlow not available.
Execute the following at a terminal to install the prerequisites:
$ sudo /usr/bin/easy_install pip
$ sudo /usr/local/bin/pip install --upgrade virtualenv
Any help would be appreciated thank you!
From the official Rstudio website:
TensorFlow is distributed as a Python package and so needs to be
installed within a Python environment on your system. By default, the
install_tensorflow() function attempts to install TensorFlow within
it’s own isolated Python environment (“r-tensorflow”).
And the python installation mostly relies on pip for installing it's dependencies. As the error message suggests, install pip and upgrade the virtualenv and see if that fixes the issue.

unable to install car package in r 3.5.2

I am running R 3.5.2 on Ubuntu 18.4 lts and trying to install car package. I am getting bellow error.
Please just run
sudo apt-get install r-cran-car
as the package has been part of Debian and Ubuntu for a decade and a half (maintained by yours truly). We provide binaries because installation from source is not for everybody.

How do I solve a "dll not found" error when building R Packages?

I am trying to build the RSAP package by Piers Harding (https://github.com/piersharding/RSAP). I followed his instructions for how to build on an R > 3.x.x version. When building the library via...:
R CMD INSTALL --build --preclean --clean --no-multiarch -l C:/RSAP RSAP
... I get the error "RSAP dll not found".
I am using the 64bit version of R 3.5.1 and latest RTools. I am on Windows 10.

Installing rpy2 on Opensuse 13.2 x64

Trying to install rpy2 on a new Linux installation. Have installed R, ipython, python-devel etc on the system. When executing sudo pip install rpy2 I get an error - "missing python.h". This file is available on my system but not found.
What can I do?

Resources