[ https://issues.apache.org/jira/browse/SPARK-15924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Wang closed SPARK-15924. ----------------------------- Resolution: Not A Problem Not a problem of open source Spark > 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 > {quote} > <text>:16:1: unexpected input > 15: # p <- p + scale_x_date(labels = date_format("%m/%d > 16: %a")) > ^ > {quote} > After I remove the backslash in "date_format("%m/%d\n%a"))", it works fine. -- 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