79490686

Date: 2025-03-06 21:08:22
Score: 1.5
Natty:
Report link

Sigh. Of course after I spend hours researching and writing up a stackoverflow question, I find the right answer hidden among other answers.

RStudio > Tools > Global Options > Python > Select (your python interpreter) > Virtual Environments > ~/.virtualenvs/r-reticulate/Scripts/python.exe > Select > Apply

Now source_python(r"(C:\Users\myname\.spyder-py3\temp.py)") works like a charm.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dolphingang