# no theme set yet
tinytheme_get()
# save the current theme, switch, then restore it afterwards
otheme = tinytheme_get()
tinytheme("classic")
tinytheme_get()
tinyplot(mpg ~ wt, data = mtcars)
tinytheme(otheme) # back to where we started
tinytheme_get()
Run the code above in your browser using DataLab