question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ERROR] R Call errored, is R available ?

See original GitHub issue

Hi, it is my first time to use cdt, after installed by: pip install cdt

I ran: from cdt.causality.graph import GES obj=GES()

then I got this error: 图片

I’m working with cdt 0.5.21 , python 3.6.12 and torch 1.4.0, no GPU. Thank you for your help!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
NeilChangYanpengcommented, Nov 25, 2020

Thank you sooooooo much, @Diviyan-Kalainathan . It works by configuring rpath. 图片

0reactions
FTamas77commented, Dec 3, 2022

Hi, I had the same problem. Adding this: cdt.SETTINGS.rpath = ‘C:/Program Files/R/R-4.2.2’ (without the binary) was a kind of half solution. Now, I face another problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cdt.utils.R — Causal Discovery Toolbox 0.5.23 documentation
This module defines the interface between R and Python using subprocess. ... Next, each time an R function is called, the availability of...
Read more >
Error in running a Python code from R with the package rPithon
The mpd function in python returns a 2D array which is not supported by the JSONEncoder by default. · How determined are you...
Read more >
Error Notifications when Running Scheduled Jobs - R-bloggers
There are several ways to send notifications with R when a scheduled job/process has completed running, but if it errors during that process ......
Read more >
2.5 Error Handling and Generation - Bookdown
There are a few essential functions for generating errors, warnings, and messages in R. The stop() function will generate an error. Let's generate...
Read more >
Installation of a python package vsm not working
StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f. ... Command errored out with ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found