[ https://issues.apache.org/jira/browse/SPARK-13262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141877#comment-15141877 ]
Shivaram Venkataraman commented on SPARK-13262: ----------------------------------------------- Can you paste the code you ran that led to the error ? It'll be great if there is a small reproducible example > cannot coerce type 'environment' to vector of type 'list' > --------------------------------------------------------- > > Key: SPARK-13262 > URL: https://issues.apache.org/jira/browse/SPARK-13262 > Project: Spark > Issue Type: Bug > Components: SparkR > Affects Versions: 1.5.2 > Reporter: Samuel Alexander > > Occasionally getting the following error while using Spark R while > constructing dataframe in R > 16/02/09 13:28:06 WARN RBackendHandler: cannot find matching method class > org.apache.spark.sql.api.r.SQLUtils.dfToCols. Candidates are: > Error in as.vector(x, "list") : > cannot coerce type 'environment' to vector of type 'list' > Restarting SparkR fixed the error. > What is the cause for this issue? How can we solve it? > -- 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