Xuan Wang created SPARK-15924:
---------------------------------

             Summary: SparkR parser bug with backslash in comments
                 Key: SPARK-15924
                 URL: https://issues.apache.org/jira/browse/SPARK-15924
             Project: Spark
          Issue Type: Bug
          Components: SparkR
    Affects Versions: 1.6.1
            Reporter: Xuan Wang


When I run an R cell with the following comments:
{code} 
#   p <- p + scale_fill_manual(values = set2[groups])
#   # p <- p + scale_fill_brewer(palette = "Set2") + scale_color_brewer(palette 
= "Set2")
#   p <- p + scale_x_date(labels = date_format("%m/%d\n%a"))
#   p
{code}

I get the following error message

Error in parse(text = DATABRICKS_CURRENT_TEMP_CMD__) : 
  <text>:16:1: unexpected input
15: #   p <- p + scale_x_date(labels = date_format("%m/%d
16: %a"))
    ^




--
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

Reply via email to