Error: no methods for 'textFile' when I run the following 2nd command after SparkR initialized
sc <- sparkR.init(appName = "RwordCount") lines <- textFile(sc, args[[1]]) But the following command works: lines2 <- SparkR:::textFile(sc, "C:\\SelfStudy\\SPARK\\sentences2.txt") In addition, it says in official web "The includePackage command can be used to indicate packages...", but includePackage(sc, Matrix) with error: not find? Thanks a lot in advance! Eugene Cao Xi'an Jiaotong University -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/textFile-and-includePackage-not-found-tp24834.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