More R and Python scripts