He estado tratando de seguir con mi curso de r, donde delimitamos colClasses, sin embargo cuando meto el codigo datos <-read.table("swirl_temp/inmigintnalpry.csv", header=TRUE, sep=",", fileEncoding = "latin1", colClasses = clases)
R me regresa con el error Error en scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : scan() esperaba 'an integer', obtuvo '5.0'
It seems you have the value 5.0 in a column that should be integers. Can you change the colClass of that column to "numeric"?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.