r char to numeric DataFrame Alle Spalten
data[ , i] <- apply(data[ , i], 2, # Specify own function within apply
function(x) as.numeric(as.character(x)))
Faithful Fly