Editing CommunityData:Exporting from Python to R
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
from rpy2.robjects import pandas2ri | from rpy2.robjects import pandas2ri | ||
pandas2ri.activate() | pandas2ri.activate() | ||
r = {} | r = {} | ||
def remember(name, x): | def remember(name, x): |