Replace 'TRUE' (R) with 'True' (Python)