Winston Chang
36f992f95f
Add [[<-.shinyoutput operator
2013-01-26 13:08:40 -06:00
Winston Chang
fe1e833677
Use correct default label for contexts. Fixes #91
...
NULL apparently is not a valid value for a field in a reference class.
2013-01-25 14:57:05 -06:00
Joe Cheng
8df1b9e8e5
Merge pull request #85 from jcheng5/flush-all
...
Flush all shinyapp instances
2013-01-25 08:52:51 -08: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
Joe Cheng
6ae1d8c158
Flush all shinyapp instances
...
Allows reactivity to affect all app instances at once.
(It already does but the outputs don't currently update)
2013-01-24 13:48:05 -08:00
Winston Chang
85aa98e8e2
Fixes for R CMD check
2013-01-23 14:30:11 -06:00
Joe Cheng
17c6a0f28a
Merge branch 'reactivePrint-invisible'
...
Conflicts:
man/plotOutput.Rd
2013-01-23 12:09:53 -08:00
Winston Chang
521143a16b
Add subdir argument for runGitHub and runUrl
2013-01-23 13:44:17 -06:00
Winston Chang
2622a25b12
Add runGitHub and runUrl functions
2013-01-23 13:44:17 -06:00
Joe Cheng
6c3289d5a5
Documentation and examples for reactivePrint/reactiveText
2013-01-23 11:32:13 -08:00
Joe Cheng
988a91ac06
reactiveText shouldn't capture print output
2013-01-23 11:31:51 -08:00
Winston Chang
aa7c913e9a
Escape percent sign in documentation
2013-01-23 09:42:08 -06:00
Joe Cheng
56db9feaa4
reactivePrint should not display invisibles
2013-01-22 23:36:51 -08:00
Winston Chang
5ace0f13c9
Move validateCssUnit to separate function
2013-01-23 00:02:16 -06:00
Winston Chang
6c72096bfe
Better CSS unit validation
2013-01-22 19:18:18 -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
Joe Cheng
eb4b21ce9f
Fix #77 : tagWriteChildren error
2013-01-21 22:40:08 -08:00
Joe Cheng
ff5349fd90
Fix #65 : tagWrite doesn't expect strings except as direct children of tags
2013-01-21 16:31:09 -08:00
Winston Chang
1f34ffa85d
plotOutput: check that height has proper format
2013-01-18 19:16:50 -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
Winston Chang
56282f9cbb
Merge branch 'lazy'
2013-01-16 12:32:32 -06: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
4fd2dade60
reactiveTable: don't return blank if first element is NA. Fixes #71
2013-01-15 16:04:18 -06:00
Joe Cheng
e12b03504c
Fix bad calls to on.exit
...
I didn't realize on.exit replaces previous calls to on.exit by default.
2013-01-15 12:07:27 -08:00
Winston Chang
153156c1fa
Add back onInvalidate to Observer class
2013-01-15 11:13:46 -06:00
Winston Chang
3ecc69da2b
Un-export execCount
2013-01-15 11:13:46 -06:00
Winston Chang
7d0de0b26f
Remove onInvalidateHint
...
The recent changes to onInvalidate make it do almost exactly the same thing.
2013-01-15 11:13:46 -06:00
Winston Chang
77fab9c78f
Remove all pendingInvalidate
2013-01-15 11:13:46 -06:00
Winston Chang
3a8f3272c7
Don't call observers until flushReact()
2013-01-15 11:13:46 -06:00
Joe Cheng
893d72677b
Try LIFO pendingInvalidates?
2013-01-08 14:06:10 -06:00
Joe Cheng
979eca4066
Add execCount
2013-01-08 14:06:10 -06:00
Joe Cheng
258d13e746
Add ctx$.label to help with debugging
...
Shows the code that the context "belongs" to.
2013-01-08 14:06:10 -06:00
Winston Chang
779531da5d
Use lazy evaluation of reactive functions
2013-01-08 14:06:10 -06:00
Winston Chang
ccc6055926
Fix reactivity for empty checkbox groups. Fixes #58
2013-01-08 13:57:10 -06:00
Joe Cheng
e2925c585f
Add isolate function for accessing reactives non-reactively
2013-01-03 12:16:50 -08:00
Joe Cheng
6c76b0473c
Add implementation of reactive values
2013-01-02 16:00:21 -08:00
Winston Chang
6fcacd5159
Use different method of accessing CairoPNG
...
R CMD check didn't like Cairo::CairoPNG. With this method, check wants
Cairo to be imported in NAMESPACE, but it shouldn't be - Cairo should
be optional.
2012-12-17 15:23:08 -06:00
Winston Chang
095697e789
Use new URL for runGist. Fixes #57
2012-12-17 12:18:19 -06:00
Joe Cheng
62d98c3137
Revert "Run invalidated hints only once per context"
...
This reverts commit e80d5dc172 .
The original commit could cause under-reporting of progress.
2012-12-14 16:41:12 -08:00
jeffreyhorner
e80d5dc172
Run invalidated hints only once per context
2012-12-13 16:02:47 -06:00
jeffreyhorner
421e29db2d
Suppress base64 output when tracing websocket messages
2012-12-13 16:00:58 -06:00
Joe Cheng
9e6e53583c
Merge pull request #49 from wch/png-cairo
...
For png output, try quartz and CairoPNG before plain png
2012-12-05 09:56:11 -08:00
Joe Cheng
3f59a7d84e
Fix bug where reactiveUI doesn't accept plain lists
2012-12-05 09:54:31 -08:00
Winston Chang
21ffd788ab
For png output, try quartz and CairoPNG before plain png
2012-12-03 12:06:31 -06:00