Force R to store variable as double