.carbonate: Carbonate script lines to a carbon image
Description
Main function of the package that invokes RSelenium to open
a browser to the carbon.js uri, create an image and download the file.
Usage
.carbonate(self, private, file, path, code, rD, driver)
Arguments
- self
carbon self object
- private
carbon private object
- file
character, name of file to save image as
- path
character, path to save the image
- code
character, lines of script to make carbon image from
- rD
RSelenium driver
- driver
character, select either 'firefox' or 'chrome' driver
Examples
Run this codeif(interactive()){
x <- carbon$new('x <- 1')
x$carbonate()
}
Run the code above in your browser using DataLab