# NOT RUN {
slackr_setup()
obj <- xtable::xtable(mtcars)
slackr_tex(obj,
print.xtable.opts = list(scalebox = getOption("xtable.scalebox", 0.8)))
slackr_tex(obj,
ext = "pdf",
print.xtable.opts = list(scalebox = getOption("xtable.scalebox", 0.8)))
slackr_tex(obj,
ext = "tex",
print.xtable.opts = list(scalebox = getOption("xtable.scalebox", 0.8)))
slackr_tex(obj,
path = "testdir",
print.xtable.opts = list(scalebox = getOption("xtable.scalebox", 0.8)))
# }
Run the code above in your browser using DataLab