Joe Cheng
92fa1dde79
Fix #21 : singleton and tags$head are not really compatible with reactiveUI
...
This commit fixes two problems:
- tags$head content was not properly hoisted into the head
of the document when UI was reactively rendered
- singletons were not respected in renderUI
This makes it possible for input/output components that rely
on JavaScript libraries to simply put their script/style
dependencies in their input/output methods. This is contrary
to previous versions of Shiny where that approach would work
unless the component only appeared in renderUI/uiOutput and
not as part of the initial page render.
2013-11-09 15:11:22 -08:00
Joe Cheng
e95483236a
Merge pull request #295 from wch/quiet
...
Add quiet option to runApp
2013-11-08 22:03:42 -08:00
Winston Chang
a9b97a85ad
Add quiet option to runApp
2013-11-07 11:26:27 -06:00
Yihui Xie
6170befc90
Merge pull request #289 from wch/methods
...
Move methods package to Depends
2013-11-01 12:30:39 -07:00
Winston Chang
5ecb85cb6d
Bump version to .99 for development
2013-10-30 10:34:50 -05:00
Winston Chang
d2fc04f45d
Merge branch 'v0.8.0-rc'
2013-10-30 10:33:27 -05:00
Joe Cheng
fb4da933d4
Update version number in NEWS
v0.8.0
2013-10-29 12:31:58 -07:00
Yihui Xie
7483900db2
fixes #288 : moving shinyCallingHandlers() to a lower-level so that the shiny.error handler can be applied to observe() and isolate() as well
2013-10-28 23:17:02 -05:00
Winston Chang
9f78dbf200
Move methods package to Depends
2013-10-26 12:05:12 -05:00
Yihui Xie
ef9b9bdd6d
prepare the v0.8 release in the RC branch
2013-10-24 23:48:48 -05:00
Yihui Xie
1937aa43ba
Ah, brain poisoned by R's return() syntax; check if data is empty, then check data.colnames to make sure column names are passed in
2013-10-23 21:26:47 -05:00
Yihui Xie
293ea66784
fixes #286 : if the data passed to renderDataTable() does not have dim==2, return an empty object
2013-10-23 21:14:18 -05:00
Yihui Xie
e98d8f4ced
Merge pull request #284 from jcheng5/shiny-server-creds
...
Make Shiny Server credentials available on session object
2013-10-22 11:35:20 -07:00
Joe Cheng
418d2afb2a
Make Shiny Server credentials available on session object
2013-10-22 10:42:29 -07:00
Yihui Xie
a4c1a6187f
roxygenize and sync doc
2013-10-22 12:33:07 -05:00
Yihui Xie
123ca34040
tweak the roxygen doc for installExprFunction() (otherwise the second paragraph is treated as \description{})
2013-10-22 12:33:07 -05:00
Joe Cheng
6b3224116c
Merge pull request #279 from yihui/datatables
...
DataTables
2013-10-22 09:43:13 -07:00
Yihui Xie
635e0c9788
news for shiny v0.8
2013-10-22 10:40:29 -05:00
Yihui Xie
dd33a0e0ec
the error object may not be interesting at all; just call the handler without arguments
...
this makes it easier to set options(shiny.error = browser/recover/traceback/...), otherwise will have to do options(shiny.error = function(e) traceback()), which seems awkward
2013-10-22 10:33:01 -05:00
Yihui Xie
191deeaba6
a hack to remove the scrollbars in tab panels
2013-10-22 02:07:06 -05:00
Yihui Xie
245072f7a2
make sure colnames is an array, even when there is only one column in the data
2013-10-22 02:07:06 -05:00
Yihui Xie
6b858512b6
must empty the data table first
2013-10-22 02:07:06 -05:00
Yihui Xie
b857a01c30
save $(el) in $el
2013-10-22 02:07:06 -05:00
Yihui Xie
94c9a3e05b
should not have assigned installExprFunction() to func
2013-10-22 02:07:06 -05:00
Yihui Xie
8928d2c488
use the new installExprFunction() instead of exprToFunction()
2013-10-22 02:07:06 -05:00
Yihui Xie
25bd5654aa
display 25 rows by default, again per suggestion of JJ
2013-10-22 02:07:06 -05:00
Yihui Xie
83d5b96adf
no CSS classes for sorted columns, per suggestion of JJ
2013-10-22 02:07:06 -05:00
Yihui Xie
7eb90c5718
roxygenize
2013-10-22 02:07:06 -05:00
Yihui Xie
4b1af75724
debouncing is done single-handedly, thanks to Joe's smart debounce() function
2013-10-22 02:07:06 -05:00
Yihui Xie
8d07ab6527
roxygenize
2013-10-22 02:07:06 -05:00
Yihui Xie
ce4ea7e7a9
allow users to pass initialization options to datatables
2013-10-22 02:07:06 -05:00
Yihui Xie
50ab5e7517
BSD license for DataTables
2013-10-22 02:07:06 -05:00
Yihui Xie
431c1d7f66
css for the processing indicator
2013-10-22 02:07:06 -05:00
Yihui Xie
a55090dc2f
the searching should use intersection instead of union
2013-10-22 02:07:06 -05:00
Yihui Xie
d76cdb73b0
remove the ColumnFilter plugin; it is too heavy, and I just added the <input> by myself and implemented searching by individual columns
2013-10-22 02:07:05 -05:00
Yihui Xie
2594664330
use the nicer bootstrap style
2013-10-22 02:07:05 -05:00
Yihui Xie
f9ed075db6
write a datatable output binding; the column names and action url are passed from renderDataTable() to the output binding
2013-10-22 02:07:05 -05:00
Yihui Xie
099ced4f94
implement searching by columns
2013-10-22 02:07:05 -05:00
Yihui Xie
13d2513930
index from 0, sigh
2013-10-22 02:07:05 -05:00
Yihui Xie
2211b1c65e
now we can sort multiple columns: press Shift and click the column headers
2013-10-22 02:07:05 -05:00
Yihui Xie
1fd37ca2b2
implement sorting; the very basic features are there now, but this still needs a lot of improvement in terms of details
2013-10-22 02:07:05 -05:00
Yihui Xie
7070e3748d
disable default sorting
2013-10-22 02:07:05 -05:00
Yihui Xie
dfaef908c2
make sure the data has two dimensions
2013-10-22 02:07:05 -05:00
Yihui Xie
67540c763b
a simple implementation of global searching
2013-10-22 02:07:05 -05:00
Yihui Xie
14269bd4d9
document renderDataTable() and dataTableOutput()
2013-10-22 02:07:05 -05:00
Yihui Xie
131663032c
the ... argument is not really used
2013-10-22 02:07:05 -05:00
Yihui Xie
8ac71165e9
add dataTableOutput() and renderDataTable() for the DataTables library
...
not yet done, but at least paging is working now
2013-10-22 02:07:05 -05:00
Yihui Xie
346758d3f0
white spaces
2013-10-21 21:40:28 -05:00
Yihui Xie
aef8837b5d
add .csv to fileInput() to make it consistent with the tutorial ( #280 )
2013-10-21 21:25:42 -05:00
Yihui Xie
dc0832adba
should pass a session object to invalidateLater()
2013-10-21 21:20:41 -05:00