Currently, Exploratory doesn’t support exporting a chart as an R script.
You can still export the chart as an image. You can also export the data that chart uses. Please check out the “Export” menu at the top of the chart for available export options.