[
  {
    "group": "r",
    "name": "r",
    "className": "org.apache.zeppelin.r.RInterpreter",
    "properties": {
      "zeppelin.R.knitr": {
        "envName": "ZEPPELIN_R_KNITR",
        "propertyName": "zeppelin.R.knitr",
        "defaultValue": true,
        "description": "Whether use knitr or not",
        "type": "checkbox"
      },
      "zeppelin.R.cmd": {
        "envName": "ZEPPELIN_R_CMD",
        "propertyName": "zeppelin.R.cmd",
        "defaultValue": "R",
        "description": "R binary executable path",
        "type": "string"
      },
      "zeppelin.R.maxResult": {
        "envName": null,
        "propertyName": "zeppelin.R.maxResult",
        "defaultValue": "1000",
        "description": "Max number of dataframe rows to display.",
        "type": "number"
      },
      "zeppelin.R.image.width": {
        "envName": "ZEPPELIN_R_IMAGE_WIDTH",
        "propertyName": "zeppelin.R.image.width",
        "defaultValue": "100%",
        "description": "Image width of R plotting",
        "type": "number"
      },
      "zeppelin.R.render.options": {
        "envName": "ZEPPELIN_R_RENDER_OPTIONS",
        "propertyName": "zeppelin.R.render.options",
        "defaultValue": "out.format = 'html', comment = NA, echo = FALSE, results = 'asis', message = F, warning = F, fig.retina = 2",
        "description": "",
        "type": "textarea"
      },
      "zeppelin.R.shiny.portRange": {
        "envName": "",
        "propertyName": "zeppelin.R.shiny.portRange",
        "defaultValue": ":",
        "description": "Shiny app would launch a web app at some port, this property is to specify the portRange via format '<start>:<end>', e.g. '5000:5001'. By default it is ':' which means any port",
        "type": "string"
      }
    },
    "editor": {
      "language": "r",
      "editOnDblClick": false,
      "completionSupport": true
    }
  },
  {
    "group": "r",
    "name": "ir",
    "className": "org.apache.zeppelin.r.IRInterpreter",
    "properties": {
    },
    "editor": {
      "language": "r",
      "editOnDblClick": false,
      "completionSupport": true
    }
  },
  {
    "group": "r",
    "name": "shiny",
    "className": "org.apache.zeppelin.r.ShinyInterpreter",
    "properties": {
      "zeppelin.R.shiny.iframe_width": {
        "envName": "",
        "propertyName": "zeppelin.R.shiny.iframe_width",
        "defaultValue": "100%",
        "description": "Width of iframe of R shiny app",
        "type": "text"
      },
      "zeppelin.R.shiny.iframe_height": {
        "envName": "",
        "propertyName": "zeppelin.R.shiny.iframe_height",
        "defaultValue": "500px",
        "description": "Height of iframe of R shiny app",
        "type": "text"
      }
    },
    "editor": {
      "language": "r",
      "editOnDblClick": false,
      "completionSupport": true
    }
  }
]
