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
Joe Cheng
b285501c44
reactlog code cleanup
2013-07-02 08:38:24 -07:00
Joe Cheng
28a52bb658
More visual improvements to reactlog
2013-07-02 02:59:37 -07:00
Joe Cheng
82bc19374c
Improve appearance of reactlog
2013-07-02 02:12:07 -07:00
Joe Cheng
0b23f30bb7
Work in progress
2013-07-02 01:29:33 -07:00
Joe Cheng
d897df6a30
Implement reactivePoll and reactiveFileReader
2013-06-19 09:16:04 -07:00
Joe Cheng
c10850118d
Merge pull request #170 from hadley/master
...
Fix typo
2013-06-11 13:26:14 -07:00
Joe Cheng
5ed46c82cb
Document observer methods
2013-06-11 09:18:57 -07:00
hadley wickham
64391e906d
Update reactives.R
...
Add newline (guessing that's how it's supposed to be)
2013-06-11 10:37:02 -05:00
Winston Chang
10996f1cbd
reactiveTimer: don't invalidate when session closed
2013-05-15 15:50:37 -05:00
Winston Chang
622ff3a256
invalidateLater: don't invalidate when session closed
2013-05-15 12:41:07 -05:00
Joe Cheng
5f61267f75
Allow integers or numerics for priority
2013-04-19 15:42:18 -07:00
Joe Cheng
94ee42cebb
Add priority levels to observers
...
Observers can now take priority levels, which allow the user to control
the order of execution. Note that reactive expressions do not have
priority levels; since they are lazily evaluated, it wouldn't make any
sense to speak of priorities.
Another commit will be needed to add an API for changing the priorities
of outputs (probably in outputOptions?).
2013-04-19 10:34:34 -07:00
Winston Chang
5a947f83a1
Separate private and public fields for input and clientData
2013-03-12 21:41:38 -05:00
Winston Chang
e406a76b62
Update documentation for renderXX
2013-02-14 11:48:01 -06:00
Winston Chang
d4ab84745d
Make function for expr-to-function conversion
2013-02-12 15:55:51 -06:00
Winston Chang
32dbc3101e
Add shinyDeprecated function
2013-02-12 15:24:50 -06:00
Winston Chang
0a924eb718
Fix deprecation message for observe()
2013-02-12 15:24:50 -06:00
Winston Chang
6a34bbfddd
Add label argument to reactive and observe
2013-02-12 15:24:50 -06:00
Winston Chang
58323ada4b
Change references of reactive 'functions' to 'expressions'
2013-02-12 15:24:49 -06:00
Winston Chang
5fd723cb80
reactive() and observe() now take expressions
2013-02-12 15:24:49 -06:00
Winston Chang
b595c17d78
observe: add option to start suspended
2013-02-11 19:48:22 -06:00
Winston Chang
5d6d638c85
Clarify suspend description
2013-02-07 14:29:03 -06:00
Winston Chang
90eb515167
Observer: .flushCallbacks to .invalidateCallbacks
2013-02-07 14:29:03 -06:00
Joe Cheng
17526711a2
Change resume behavior for Observer
...
Eliminate multiple runs when resumed multiple times
2013-02-07 14:29:03 -06:00
Winston Chang
868d6fec42
Add suspended option to Observer
2013-02-07 14:29:03 -06:00
Winston Chang
9fd365cc41
isolate help: mention debugging use and fix typos
2013-02-06 14:38:12 -06:00
Winston Chang
1b60233862
Fix closing brace in isolate help
2013-02-05 10:56:54 -06:00
Winston Chang
b3944127ea
Add note about using local() with isolate()
2013-02-01 15:16:33 -05:00
Winston Chang
1848844be6
Cleaner method for creating objects with class
2013-01-30 15:06:17 -05:00
Winston Chang
8b6362c749
Add section markers
2013-01-30 15:04:55 -05:00
Winston Chang
4b077dbf4c
Observers can be suspended/resumed
2013-01-30 14:47:19 -05:00
Winston Chang
2f7dd04168
Observable: save visibility state of function
2013-01-24 21:57:49 -06:00
Winston Chang
ed3b667985
Remove unneeded eval.parent
2013-01-24 21:38:25 -06:00
Winston Chang
85aa98e8e2
Fixes for R CMD check
2013-01-23 14:30:11 -06:00
Winston Chang
e658734084
Rename reactivevalues_to_list to reactiveValuesToList
2013-01-22 19:14:30 -06:00
Winston Chang
ec4f350baa
reactivevalues_to_list: add all.names option
2013-01-22 14:53:14 -06:00
Winston Chang
095f583211
Deprecate as.list.reactivevalues and add reactivevalues_to_list
2013-01-22 14:51:43 -06:00
Winston Chang
3c864cf6d2
reactiveValues(): improved check for unnamed arguments
2013-01-22 13:59:31 -06:00
Winston Chang
8d8d308f7a
Rename 'dependencies' to 'dependents'
2013-01-16 22:42:03 -06:00
Winston Chang
3ebd4595c6
Add read-write wrapper class for ReactiveValues
2013-01-16 19:02:26 -06:00
Joe Cheng
134689d8aa
Remove subsetting operators from Map and Values
...
The correct operators would be [[/[[<- but since we don't use them I
just removed them instead.
2013-01-16 13:48:50 -08:00
Joe Cheng
e42fe3bd61
Fix problem with circular dependencies
...
The first of the included tests did not pass without the changes to
Observable. The problem occurred when a function read a reactive value
and then wrote it. Any dependents on the function would not receive
any invalidations, then or ever after.
The first problem was that the dirty state was unilaterally set to FALSE
after the function finished executing, which might not be accurate if
the function's newly created was invalidated during its own execution.
Instead we set dirty state to FALSE before executing. But to prevent
reentrant calls from thinking the cached value can be used, we add
a .running field that is also consulted during getValue.
The second problem was that Observable$getValue didn't register the
dependent until after updateValue. That is a problem if updateValue
creates *and* invalidates a context before returning. So now we
register the dependent before calling updateValue.
2013-01-15 17:37:26 -08:00
Winston Chang
153156c1fa
Add back onInvalidate to Observer class
2013-01-15 11:13:46 -06:00