Joe Cheng
d897df6a30
Implement reactivePoll and reactiveFileReader
2013-06-19 09:16:04 -07:00
Joe Cheng
4f017e9173
Remove annoying title="foo" tooltip on all tabset tabs
2013-06-11 09:19:49 -07:00
Joe Cheng
5ed46c82cb
Document observer methods
2013-06-11 09:18:57 -07:00
trestletech
76b3d314a8
Exported validateCSSUnit function.
2013-06-05 15:15:54 -05:00
Winston Chang
3ea6d97ed2
Documentation updates
2013-06-04 21:21:26 -05:00
Winston Chang
affc0d8b67
Remove sendJavascript
2013-05-31 10:48:39 -05:00
Joe Cheng
6ee7dcdd51
Fix several bugs relating to suspendWhenHidden
...
- If an output is bound in the UI before it exists on the server, the
server will suspend the new output until something else causes
manageHiddenOutputs to be triggered. The refactor in shiny.R sets
the suspended flag to .shouldSuspend.
- As part of the previous refactor, we don't set suspendOnHidden in
defineOutput; instead we leave it empty and .shouldSuspend knows
what the default should be.
- In shiny.js, unbound controls were not being suspended. This was
fixed by having sendOutputHiddenState be stateful; anything in
a visible state that disappears on the next iteration is marked
as hidden. Also unbindAll now calls sendOutputHiddenState.
2013-05-27 12:52:33 -07:00
Joe Cheng
23470267fe
Merge pull request #163 from jcheng5/app-object
...
Run apps without creating files on disk
2013-05-24 22:07:36 -07:00
Joe Cheng
bc5e3524eb
Export basicPage
2013-05-23 11:56:55 -07:00
Joe Cheng
479297fc35
Add basicPage function; like bootstrapPage with padding
2013-05-23 11:23:28 -07:00
Joe Cheng
516feafcfb
Run apps without creating files on disk
...
With this commit, runApp can now accept a list instead of a path.
This list should have elements named "ui" and "server" that contain
what would normally go in shinyUI and shinyServer, respectively.
(Note that there is no equivalent to global.R, nor should there
need to be since you can just directly execute in the global env
before calling runApp.)
Example:
runApp(list(
ui = bootstrapPage(
numericInput('n', 'Number of obs', 100),
plotOutput('plot')
),
server = function(input, output) {
output$plot <- renderPlot({ hist(runif(input$n)) })
}
))
2013-05-23 10:00:38 -07: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
Winston Chang
f10f76d127
Fixes for R CMD check
2013-05-13 10:54:54 -05:00
Winston Chang
0e1139446e
Merge pull request #149 from jcheng5/observer-priorities
...
Add priority levels to observers
2013-05-10 12:03:28 -07:00
Winston Chang
ed680baaac
selectInput: correctly handle choices with duplicate names. Fixes #157
2013-05-08 18:32:05 -05:00
Winston Chang
bfa4a46bd5
Merge pull request #154 from wch/tag
...
Add withTags function
2013-05-06 08:46:09 -07:00
Winston Chang
021af0186b
Add withTags function
2013-05-06 10:45:41 -05:00
Winston Chang
ec6bec3326
Fix selected items in checkboxGroupInput
2013-05-01 01:12:03 -04:00
Winston Chang
96c7df5afa
Documentation fixes
2013-04-24 12:27:35 -05:00
Winston Chang
0c19105fbf
Add dateInput and dateRangeInput
...
Also:
* add initialize() method for input bindings
* cleanups for JShint
2013-04-24 12:18:20 -05:00
Joe Cheng
4145d83248
Merge remote-tracking branch 'jcheng5/session-close-callbacks'
...
Conflicts:
R/shiny.R
2013-04-23 15:40:38 -07:00
Joe Cheng
10d2432df5
Merge pull request #148 from wch/sendmessage
...
Add support for sending arbitrary messages to client
2013-04-22 16:40:01 -07:00
Joe Cheng
815db72671
Add callback for session end
2013-04-22 16:29:40 -07:00
Joe Cheng
6d0ba61c54
Add priority to outputOption
2013-04-19 15:48:56 -07: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
b6795e5c63
Move actionbutton into Shiny proper
2013-04-18 15:11:13 -05:00
Winston Chang
ef85d063c2
Make external message handlers use 'custom'
2013-04-18 13:40:32 -05:00
Winston Chang
59755971e5
Add message handlers
2013-04-18 12:40:19 -05:00
Winston Chang
6715dc2a5d
Merge pull request #139 from wch/set-input
...
Add ability to set inputs from server
2013-04-17 14:58:14 -07:00
Winston Chang
af6de64ec0
Add clientData to session object
2013-04-10 13:02:48 -05:00
Winston Chang
1ac2448f90
Split sendMessage into type-specific functions
2013-04-10 12:30:58 -05:00
Winston Chang
b5f34b30d3
Add documentation for input updater functions
2013-04-10 12:13:53 -05:00
Winston Chang
01f4e080df
Workaround for Cairo resolution bug
2013-04-09 17:13:26 -05:00
Winston Chang
d55335e70b
Make updateFooInput functions behave like fooInput functions
2013-04-08 18:38:16 -05:00
Winston Chang
a8c1dc4bc6
Add dropNulls function
2013-04-08 18:13:26 -05:00
Winston Chang
2897059503
Allow setting labels for all input objects
2013-04-08 18:09:40 -05:00
Winston Chang
d491f9df5a
updateCheckboxGroupInput: clean up and allow setting labels
2013-04-08 17:01:00 -05:00
Winston Chang
bc40318e40
Wrap slider in div so that it can be manipulated more easily
2013-04-08 16:01:31 -05:00
Joe Cheng
3935434f04
Merge branch 'domain-sockets'
2013-04-06 20:44:40 -07:00
Joe Cheng
4cf1f2de94
Fix bug where multiple file uploads get same path
...
https://groups.google.com/d/msg/shiny-discuss/Km_pQL87paM/4V0AiIoTgwIJ
The problem is that length(.files) gives the number of columns in the
data frame, not the number of rows. So it's always either 0 or 4.
2013-04-06 18:14:21 -07:00
Winston Chang
73156c6780
Add update-input functions
2013-04-06 09:32:01 -05:00
Winston Chang
21f3b1cf34
Add checkboxGroupInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
f7b384e9b6
Add radioInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
bae517c9f8
Align checkboxes with labels
2013-04-05 21:57:45 -05:00
Winston Chang
c88ccbf9bc
Put inputMessage in a queue
2013-04-05 21:57:45 -05:00
Joe Cheng
5e40f5d509
Allow listening on domain sockets
2013-04-02 15:24:24 -07:00
Winston Chang
46389131bc
Add functions for sending messages to client
2013-03-30 21:07:22 -05:00
Joe Cheng
c6a344d0d9
Add selected argument to tabsetPanel
2013-03-29 23:14:01 -07:00