It seems that the cause of this exception was the wrong version of the spark-csv package. After I upgraded it to the latest (1.2.0) version, the exception is gone and it works fine.
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-1-5-1-ClassCastException-when-working-with-CSV-files-tp25217p25219.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org