[ https://issues.apache.org/jira/browse/SPARK-15996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334362#comment-15334362 ]
Apache Spark commented on SPARK-15996: -------------------------------------- User 'dongjoon-hyun' has created a pull request for this issue: https://github.com/apache/spark/pull/13714 > Fix R dataframe example by removing deprecated functions > -------------------------------------------------------- > > Key: SPARK-15996 > URL: https://issues.apache.org/jira/browse/SPARK-15996 > Project: Spark > Issue Type: Bug > Components: Examples > Reporter: Dongjoon Hyun > Priority: Minor > > Currently, R dataframe example fails like the following. We had better update > that before releasing 2.0 RC. This issue update that to use up-to-date APIs. > {code} > $ bin/spark-submit examples/src/main/r/dataframe.R > ... > Warning message: > 'createDataFrame(sqlContext...)' is deprecated. > Use 'createDataFrame(data, schema = NULL, samplingRatio = 1.0)' instead. > See help("Deprecated") > ... > Warning message: > 'read.json(sqlContext...)' is deprecated. > Use 'read.json(path)' instead. > See help("Deprecated") > ... > Error: could not find function "registerTempTable" > Execution halted > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org