reticulate Questions
2
Solved
I am trying to install the reticulate package on my Mac and it depends on the png package, which in turn depends on libpng. I installed libpng with brew but the png package fails due to a missing l...
Marcusmarcy asked 20/1, 2022 at 16:0
4
Solved
I'm trying to work with the reticulate library in R. I used the "functions.py" example to test it out:
# functions.py file
def add(x, y):
return x + y
In R studio (Version 3.5.2), this is what...
Castello asked 20/2, 2019 at 16:30
11
The first lines I run when launching my rstudio session are:
library(reticulate)
use_python("/usr/local/lib/python3.6/site-packages")
However, when I run py_config() it shows as still us...
Noteworthy asked 3/5, 2018 at 1:19
2
Solved
I installed reticulate via Rstudio. Now i want to use conda_create() but I installed anaconda in another directory then the default. How can I change the directory in which Rstudio is searchi...
Cheboksary asked 17/9, 2018 at 16:49
2
Solved
I'm trying to get the R package reticulate working on a CentOS 7.8 system using RStudio Server v1.2.5042 with a custom environment created with conda. When I initiate a Python job with reticulate, ...
Chaplain asked 1/9, 2020 at 18:34
3
I am trying to use the reticulate package in a Rmd file. I first created a setup chunk as follows:
library(reticulate)
use_virtualenv("r-reticulate")
use_python("C:\\Python27")
Then I import pan...
Chanel asked 18/1, 2019 at 21:52
1
Solved
In a previous work, I used the 'reticulate' package to run the Autogluon autoML library in R.
The code works well in my current configuration (Ubuntu 20.4, R 4.10, reticulate v. 125).
However, this...
Regal asked 17/8, 2022 at 16:24
2
I am receiving an error when trying to use reticulate that says
library(reticulate)
library(tidyverse)
library(janitor)
Sys.setenv(RETICULATE_PYTHON = "C:/Users/Menu/Programs/Python 3.10.exe&...
Uitlander asked 6/4, 2022 at 23:34
2
I have a pre-existing virtual environment set up for my python requirements, D:/SC/venv. I am trying to import data from a pickle into RStudio. I gather that in order to do so, I need to run a pyth...
Yorktown asked 13/1, 2020 at 10:47
3
Whenever I use reticulate in RStudio, the default REPL is using python2.7, but I want to use python3 per default.
I have added the python path to python3 to my .bashrc in the environment variable ...
Holomorphic asked 21/1, 2020 at 13:29
2
I'm trying to use python packages in R, but I keep getting the same error:
ImportError: cannot import name 'read_csv' from 'pandas' (unknown location)
I cant use "py_install" neither:
Col...
Facilitate asked 13/10, 2021 at 8:3
3
Solved
I don't understand how R handles the Python environment and Python version and keep getting the error Error: could not find a Python environment for /usr/bin/python. I installed Miniconda and creat...
Havenot asked 2/8, 2020 at 20:14
1
Solved
I have this Rmarkdown, with a python function:
---
title: "An hybrid experiment"
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
runtime: shiny
---
...
Mat asked 10/6, 2021 at 3:27
1
Solved
i am new to R and trying to understand Rshiny to build UIs. I am trying to create a UI for my python app that transcribes mulitple wav files. There are two parts below, first my python app and the ...
Northwester asked 23/3, 2021 at 18:37
1
Solved
I have written a function which works exactly as I would like it to in python, but when I try and run it in R I run into a problem with reticulate. I have troubleshooted this problem and have reduc...
Corallite asked 26/1, 2021 at 20:46
3
I created a conda environment using the terminal:
conda create --name pathfinder_example_proj_env python=3.6 feather-format=0.4.0 statsmodels=0.9.0
I also created a trivial python script
import...
Reputable asked 29/7, 2018 at 22:43
3
Solved
I'm venturing into using Reticulate in R and having trouble installing a package, specifically psycopg2 but I've also tried installing twisted with the same result.
after I load reticulate in R I...
Dogged asked 7/6, 2018 at 18:8
1
Solved
When using reticulate package in order to use Python inside R, we can create a virtualenv thanks to the command reticulate::virtualenv_create specifying env name and the path to the python bin.
We...
Oospore asked 27/3, 2020 at 8:49
2
Solved
Using Python's print() (or to the best of my knowledge, any other console output generating) function in loop structures and running the code via reticulate in R, the output is only printed after t...
Claymore asked 18/3, 2020 at 9:10
1
Solved
I have some code in Python 3 which I'm running in R through the reticulate library to use in a shiny app. It works fine in my local machine, but when I published in shinyapps.io reticulate is using...
Ricoricochet asked 12/2, 2019 at 13:56
1
I would like to know if there is a way to reload modules imported into R via the reticulate package, similar to the autoreload extension for IPython. For example, suppose I am developing my own mod...
Pandemic asked 22/8, 2018 at 13:51
4
Solved
I just started using the reticulate package in R, and I'm still getting a few of the kinks figured out. In particular, importing matplotlib is not going well. I've tried it two different ways, with...
Storz asked 10/4, 2018 at 23:13
3
Solved
I am about to create a python interface in R with the package Reticulate. In order to access the python functions in R, the respective python packages need to be installed.
Two questions came to ...
Periphrasis asked 15/6, 2017 at 12:24
2
Solved
I'm trying to run a pyomo optimization and I get the error message [Error 6] The handle is invalid. Not sure how to interpret it, looking around it seems to have something to do with privileges but...
Frobisher asked 30/5, 2019 at 14:3
1
Solved
Where am I going wrong here? I am in RStudio and I want to do some processing on some text data in Python and bring it back to R for some final analysis / plots but I get the error:
NameError: n...
Jactitation asked 14/7, 2019 at 14:55
1 Next >
© 2022 - 2024 — McMap. All rights reserved.