r As.numériques toutes les colonnes sauf

num.cols <- c('ws','wd','humidity')
weatherDF[num.cols] <- sapply(weatherDF[num.cols], as.numeric)
Curious Cockroach