Winston Chang
bb2c8e5fd2
Clean up observeEvent and eventReactive examples
2015-02-23 15:57:27 -06:00
Yihui Xie
61b83c3e34
replace `` with \code{} in Rd
2015-02-11 18:12:14 +08:00
Winston Chang
b7acaf9519
Convert donttest examples; check for interactive() instead
2015-01-22 13:21:23 -06:00
Winston Chang
088c9e5450
Better help for reactiveValues. Fixes #620
2014-11-26 15:28:16 -06:00
Joe Cheng
846c23a5a2
Merge remote-tracking branch 'origin/feature/event-reactives'
...
Conflicts:
inst/tests/test-reactivity.r
2014-10-30 14:52:39 -07:00
Joe Cheng
9a5faa92c4
Refactor for code review feedback
2014-10-30 14:50:30 -07:00
Joe Cheng
1223d3a2b3
Merge pull request #604 from rstudio/bugfix/observer-errors
...
Better handling of observer errors
2014-10-28 13:12:13 -07:00
Joe Cheng
e7553d6f15
Add observeEvent and eventReactive functions
2014-10-23 12:03:45 -07:00
Joe Cheng
62ef377dd1
Remove eventFilter for now
...
After discussing with @trestletech, the semantics are just not right.
When using it with a renderXXX function, it doesn't actually stop
recomputation, so the only reasonable place to use it is in a reactive
expression, but if that's true then this is a terrible looking API.
Will replace soon with something better.
2014-10-14 12:36:03 -07:00
Joe Cheng
f2ab7001d2
Fix eventFilter logic
2014-10-14 10:10:08 -07:00
Joe Cheng
7fa6a2e9ef
Fix action button
2014-10-14 09:25:52 -07:00
Joe Cheng
f2b16c414f
Merge remote-tracking branch 'origin/pr/180'
...
Conflicts:
NAMESPACE
R/bootstrap.R
R/reactives.R
R/shiny.R
2014-10-13 14:24:44 -07:00
Winston Chang
929cb29c5b
Add global option for error handler function
2014-10-06 12:26:03 -05:00
Joe Cheng
1bee6aece7
Better handling of observer errors
...
- Unhandled observer error no longer stops flushReact in mid-flush
- Observer errors are now warnings that include the observer label
- Session is explicitly being closed by Shiny instead of by httpuv
Also:
- session$close() is now public and closes the session
2014-10-02 11:13:23 -07:00
Winston Chang
3f34030a12
Cleaner method of getting execCount
2014-08-28 20:21:45 -05:00
Winston Chang
11dfa3d9aa
Remove unneeded @.Data field
2014-08-28 20:21:45 -05:00
Winston Chang
6923a11038
Don't add class attribute for internal-facing classes
...
The class attribute is unneded for these classes, and this improves
performance.
2014-08-28 20:21:05 -05:00
Winston Chang
7ac84b6a91
Switch from refclasses to R6
2014-08-28 15:45:44 -05:00
Joe Cheng
1c56be3a6b
Suppress validation errors from printing at console
2014-05-21 19:51:24 -07:00
Winston Chang
959fc2bbb2
Merge pull request #459 from jcheng5/naked-render-in-tags
...
Allow naked renderXXX functions to be used inside other tags
2014-04-30 13:24:38 -05:00
Joe Cheng
f8ae505011
Change all "is()" calls to "inherits()"
...
According to ?inherits
2014-04-30 11:19:49 -07:00
Joe Cheng
61f2c908b1
Add maskReactiveContext function
2014-04-29 12:01:03 -07:00
Winston Chang
4548562138
Fix argument name for S3 method
2014-04-23 15:03:49 -05:00
Winston Chang
34c9ab7643
Add str.reactivevalues
2014-04-21 21:59:49 -05:00
Joe Cheng
59dbca250f
Fix roxygen
2014-04-21 16:50:06 -07:00
Joe Cheng
b1d6687fb0
Fix private random seed mechanism
...
- Introduce randomInt/p_randomInt to generate random integers in a half-open range
- Stop using runif to generate integers
- Explicitly reset the private seed during .onLoad. I was getting the same "random" numbers from Shiny every time I restarted R!
2014-04-11 11:57:39 -07:00
Joe Cheng
599fdc7ee5
Refactor private random seed code
2014-04-10 15:03:18 -07:00
Joe Cheng
6b9ae3a8b3
Move "@include globals.R" directives to top; slight doc fixes
2014-04-08 15:39:57 -07:00
Joe Cheng
07f73030c6
More reactive domain work
...
- observers' autodestroy behavior is now optional
- tests
2014-04-08 14:47:32 -07:00
Joe Cheng
e5e54fe4c1
Implement reactive domains
2014-04-07 21:55:05 -07:00
Yihui Xie
338afb4893
change the deprecated @S3method to @export
2014-03-24 23:46:46 -05:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Yihui Xie
1a8f84c134
and reactive({}) also works; closes #366
2014-01-17 22:41:00 -06:00
Jonathan McPherson
f600cb4f2c
allow source highlighting in files other than server.R
2014-01-06 14:33:31 -08:00
Jonathan McPherson
5caf41c067
Merge remote-tracking branch 'origin/master' into feature/showcase-mode
2013-12-16 13:21:59 -08:00
Joe Cheng
ce833c39d5
setAutoflush refactor for clarity
2013-12-15 00:21:49 -08:00
Joe Cheng
721a74eee6
Fix example
2013-12-14 23:35:32 -08:00
Joe Cheng
8f9f4f894c
Incorporate code review feedback from @yihui
2013-12-14 23:35:32 -08:00
Joe Cheng
842765dad0
Features for easier explaining of reactivity
...
- makeReactiveBinding: Turns a "regular" variable into a reactive.
No need to use reactiveValues() for simple reactivity.
- setAutoflush (not exported): Causes flushReact() to be called
each time something is executed at the R console top-level.
- options(shiny.suppressMissingContextError=TRUE): Prevents the
"Operation not allowed without an active reactive context" error
when attempting to read a reactive value or expression from the
console.
2013-12-14 23:35:32 -08:00
Jonathan McPherson
95b69f0003
initial support for sending source refs for reactives (not wired)
2013-12-12 12:57:04 -08:00
Winston Chang
bf2c80cfcf
Improvements to invalidateLater docs
2013-12-06 12:09:23 -06:00
Yihui Xie
6af7de51a5
another attempt to close #249 , using withCallingHandlers() instead of modifying tryCatch()
...
also closes #217 if everyone agrees with this approach
2013-10-16 00:57:54 -05:00
Jonathan McPherson
06c7bf7514
invoke debug hook function if present after instantiating app functions
2013-10-02 08:53:45 -07:00
Winston Chang
40cc5d5242
Doc fixes for R CMD check
2013-08-23 12:07:34 -05:00
Winston Chang
7aaba8244b
Add is.reactivevalues function
2013-08-05 14:02:50 -05:00
hadley
a5db7d0246
Class output of reactive.
...
Also add print method and test
2013-07-27 11:06:35 -05:00
Joe Cheng
5b13c44ef9
Fix isolate return value bug (issue #200 )
2013-07-12 01:30:07 +02:00
Joe Cheng
f79223ed58
Merge remote-tracking branch 'origin/master' into reactlog
2013-07-07 01:20:59 -07:00
Joe Cheng
6b2ca7dc80
Merge pull request #182 from jcheng5/reactive-poll
...
Implement reactivePoll and reactiveFileReader
2013-07-04 23:31:16 -07:00
Joe Cheng
6d03ae57ac
reactlog: Show value changes
2013-07-03 00:05:28 -07:00