Learn R Programming

carbonate (version 0.1.4)

.uri: URI constructor

Description

Function that is called in a carbon object to construct valid uri to send to browser

Usage

.uri(self, private, code)

Arguments

self

carbon self object

private

carbon private object

code

character, script to embbed into the uri

See Also

carbon

Examples

Run this code
if(interactive()){

x <- carbon$new('x <- 1')

# populate from self$code
x$uri()

# enter manually
x$uri(code = 'x <- y + 3')

}

Run the code above in your browser using DataLab