Github user jeffsteinmetz commented on the pull request: https://github.com/apache/incubator-zeppelin/pull/702#issuecomment-194359853 Throwing some idea out there - you may have other ideas. It's nice how the interpreter does its best to guess that HTML or Javascript should be rendered. For explicit rendering, what about `z.R.[some explicit command]` like: ``` %r a <- "<h1>Hello</h1>" print(a) z.R.show(a) z.R.show(a, "html") z.R.show(a, "angular") z.R.console(a) b <- "name\tsize\nfoo\t1\n" # show the built in Zeppelin table display with table, graphs, etc z.R.show(b, "table") # current implementation still applies (maybe?) print("%html <h1>Hello</h1>") # console debugging ignores zeppelin display rules z.R.console("%html <h1>Hello</h1>") mtcars ``` Outputs: `[1] <h1>Hello</h1>` **Hello** **Hello** **Hello** `<h1>Hello</h1>` <table> <tr><td>name</td><td>size</td></tr> <tr><td>foo</td><td>1</td></tr> </table> **Hello** `%html <h1>Hello</h1>` ``` mpg cyl disp hp drat wt qsec vs am gear carb Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4 Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4 Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1 Hornet 4 Drive 21.4 6 258.0 110 3.08 3.215 19.44 1 0 3 1 Hornet Sportabout 18.7 8 360.0 175 3.15 3.440 17.02 0 0 3 2 Valiant 18.1 6 225.0 105 2.76 3.460 20.22 1 0 3 1 ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---