SparkR Column 提供了一长串有用的方法,例如“isNull”,但在 sparkR 中我在使用它们时遇到了问题。我像这样在 R 中运行 sparkR
cd /home/ole/R/spark-1.4.0 ./bin/sparkR --packages com.databricks:spark-csv_2.10:1.0.3 sqlContext
例如,当我键入此 u=c() isNull(u) 时,我收到此消息 Error in (function (classes, fdef, mtable) : unable to find an inherit method for function 'isNull' for signature '"NULL"