add py, redirect stdout to Rcout