Hi!,
I'm trying to run this code to test RStudio IDE with Python. I followed this post as a reference: GitHub - rstudio/reticulate: R Interface to Python.
I'm using a python version 3.7 installed using the Homebrew in my MAC. As I specified, the paths and virtual environment, there was not necessary to install miniconda, as described in the reference post, but the error message suggested that we need to install miniconda to use Python in RStudio.
This is the code used to test.
import pandas as pd
data = {'Email': ['abc@domain.com','info@domain2.com',abc@live.com'],
'address': ['Street a','Van Street 123','Rue knkn'],
'company_name': ['ABC','A123','HelloA'],
'customer_id': [7,8,9],
'no': [10,11,12]}
df = pd.DataFrame(data)
print(df)
I'm receiving errors as following:
Using as RMarkdown
And inserting python file using SOURCE
Thank you,
Flávio