1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reactives.R
\name{reactiveConsole}
\alias{reactiveConsole}
\title{Activate reactivity in the console}
\usage{
reactiveConsole(enabled)
}
\arguments{
\item{enabled}{Turn console reactivity on or off?}
}
\description{
This is an experimental feature that allows you to enable reactivity
at the console, for the purposes of experimentation and learning.
}
\examples{
reactiveConsole(TRUE)
x <- reactiveVal(10)
y <- observe({
message("The value of x is ", x())
})
x(20)
x(30)
reactiveConsole(FALSE)
}
\keyword{internal}
|