Nothing
Working directory
getwd()
needs_preview()
needs_preview
is_interactive()
is_interactive
Knitr Output.dir
knitr::opts_knit$get("output.dir")
Child mode
knitr::opts_knit$get("child")
Viewer null
is.null(getOption("viewer"))
In tmp dir
!is.null(knitr::opts_knit$get("output.dir")) && !identical(knitr::opts_knit$get("output.dir"), getwd())
knitr.in.progress
getOption("knitr.in.progress")
rstudio.notebook.executing
getOption("rstudio.notebook.executing")
TESTTHAT_interactive
Sys.getenv("TESTTHAT_interactive")
TESTTHAT
Sys.getenv("TESTTHAT")
interactive
interactive()
objects in this environment
ls()
print(knitr::opts_knit$get())
print(knitr::opts_chunk$get())
print(Sys.getenv())
print(options())
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.