File: reactiveConsole.Rd

package info (click to toggle)
r-cran-shiny 1.10.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,948 kB
  • sloc: javascript: 39,934; sh: 28; makefile: 20
file content (26 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (2)
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}