Python Hamilton and R targets comparisons