I would like to use the R function r_smooth_spline() in Python. In oder to do that, I need to import rpy2.robjects. But I obtain the error "R_HOME must be set in the environment or Registry"..
I spent hours looking for a solution but didn’t find one..
ps: I use anaconda on windows
Source: Python Questions