I am using Mac OS Catalina, PyCharm with Jupyter notebook. I am trying to pass a variable with %%R from python code
%%R -i variable print(variable)
I receive this error:
UsageError: Line magic function `%%R` not found.
What can be the cause of this error and how can I fix it?