Yihui Xie
07bed0c7c7
factor out a function columnToRowData() so both updateSelectInput() and selectizeJSON() can use it
2014-04-25 02:37:45 -05:00
Joe Cheng
59dbca250f
Fix roxygen
2014-04-21 16:50:06 -07:00
Joe Cheng
45669cacb1
Merge pull request #434 from jcheng5/private-random
...
Refactor private random seed code
2014-04-15 15:24:41 -07:00
Yihui Xie
d9be6f1d2e
implementing the server-side selectize input
...
also added a new method shinysession$registerDataObj(), which was designed to be a general data retrieval method: we can store arbitrary data objects as "downloads", and return arbitrary http response based on the filter function; see renderDataTable() and updateSelectizeInput() for two examples
2014-04-13 00:02:08 -05:00
Joe Cheng
314d433f86
Merge pull request #436 from rstudio/feature/shiny-docs
...
Improved support for R Markdown Shiny documents
2014-04-11 15:43:43 -07:00
Jonathan McPherson
6a9cba90f4
have validateCssUnit treat unit-free character strings as pixel units
2014-04-11 12:59:15 -07:00
trestletech
6873e1f1cb
Make normalizePath calls Windows-compatible.
2014-04-11 14:55:51 -05:00
Joe Cheng
020bb659c5
Rename tempSet to withTemporary
2014-04-11 12:00:55 -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
Jonathan McPherson
81bd57c5ea
emit appropriate warnings in R Markdown mode; collect <head> contents
2014-04-11 10:53:25 -07:00
Joe Cheng
599fdc7ee5
Refactor private random seed code
2014-04-10 15:03:18 -07:00
Joe Cheng
df34dcdb0c
Pass R CMD check
2014-04-03 19:37:45 -07:00
Joe Cheng
b187485172
Major refactor of runApp/addSubApp pipeline
...
- shinyUI and shinyServer calls are no longer required in ui.R and server.R
- shinyAppObj renamed to shinyApp
- runApp can take pathname, list(ui=..., server=...), shinyApp, and shinyAppDir
as appDir argument
- Unify all Shiny app representations around shiny.appobj
- BREAKING CHANGE: shinyUI no longer has a "path" argument
- Instead of returning UI, ui.R can return a function that returns UI; it will
be invoked each time the page is requested. (Note that this is NOT the same
as saying ui.R will be run each time the page is requested.) The function can
take either no args or a single "req" arg which is the request.
2014-04-03 01:42:01 -07:00
Joe Cheng
7e3717243f
Merge remote-tracking branch 'origin/master' into multiple-apps
...
Conflicts:
staticdocs/index.r
2014-03-31 12:08:59 -07:00
Joe Cheng
221849aa3a
More-correct impl of %OR%
2014-03-31 12:07:57 -07:00
Jonathan McPherson
fc9bedacc0
guard against null source references
2014-03-20 16:00:51 -07:00
Yihui Xie
b2d004ca1a
closes #31 : try to avoid scientific notation of numbers
2014-02-25 22:58:08 -06:00
Yihui Xie
80ce7a36f8
make it possible to filter numeric columns based on the specified range of the form "lower,upper"
2014-02-24 23:59:12 -06:00
Yihui Xie
705a8666be
iDisplayLength == -1 means "display all data" ( #400 )
...
we can use this feature via several ways, e.g.
- renderDataTable(..., options = list(bPaginate = FALSE))
- iDisplayLength = -1
- aLengthMenu = list(c(10, 30, -1), list(10, 30, 'All'))
2014-02-24 23:31:28 -06:00
Yihui Xie
9167905118
respect the bRegex option (as well as bRegex_j for individual columns)
...
however, this option is not part of the initialization options, so actually users can never use it...
#400
2014-02-24 23:29:10 -06:00
Yihui Xie
9a7b042594
respect the individual bSearchable_j options in datatables
2014-02-24 21:02:25 -06:00
Yihui Xie
88d2425ca3
respect the bFilter option: when it is false, do not show the search boxes
2014-02-20 18:21:36 -06:00
Yihui Xie
c21c407416
a few cosmetic changes
...
= to <-, and camelCase instead of under_score
2014-02-20 16:44:09 -06:00
Yihui Xie
eb8fec7f2d
when searching is turned on, we need to make sure the filtering indices i are smaller than nrow(filtered data) instead of original data
...
this fixes the bug reported at https://groups.google.com/forum/#!topic/shiny-discuss/xk2Gh7KJQBM
2014-02-19 23:09:25 -06:00
Yihui Xie
16279695a9
factor out the code to determine which options should be evaluated into a utility function checkAsIs(), so that it can be applied to selectizeInput() as well
2014-02-19 11:58:33 -06:00
Joe Cheng
9770bd8005
Tweak two Rd titles
2014-02-17 16:01:57 -08:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Yihui Xie
66181fdcdf
reactive(NULL) works now
2014-01-17 22:40:13 -06:00
Yihui Xie
ef4e10bbb1
Merge pull request #355 from jcheng5/bugfix/null-children
...
Ignore NULL tag elements
2014-01-08 18:51:20 -08:00
Joe Cheng
99c3c2fc80
Ignore NULL tag elements
...
We already do the right thing for NULL tag attributes
2014-01-07 15:59:42 -08:00
Jonathan McPherson
3d031265d1
satisfy R CMD CHECK: validate srcfile, use with(tags rather than withTags
2014-01-07 12:51:03 -08:00
Jonathan McPherson
f600cb4f2c
allow source highlighting in files other than server.R
2014-01-06 14:33:31 -08:00
Jonathan McPherson
f754f028dc
simplify showcase mode setting in DESCRIPTION
2014-01-06 13:43:02 -08:00
Jonathan McPherson
41b292b45b
complete refactoring of raw text output to tags$... methods
2014-01-06 13:19:07 -08:00
Jonathan McPherson
ccfaea64c5
simplify & clean up construction of markdown content
2014-01-06 10:38:05 -08:00
Jonathan McPherson
f0eb9d48c9
show license beneath code
2013-12-30 14:31:45 -08:00
Jonathan McPherson
6d5f06a61d
initial support for showcase mode from DESCRIPTION (not complete)
2013-12-18 17:06:31 -08:00
Jonathan McPherson
676affdd03
add new header-free showcase mode (use showcase=2 on query string)
2013-12-16 14:12:13 -08:00
Jonathan McPherson
c2cf4e72f8
decouple showcase mode from app boot; factor out of shiny.js
2013-12-13 14:46:31 -08:00
Jonathan McPherson
95b69f0003
initial support for sending source refs for reactives (not wired)
2013-12-12 12:57:04 -08:00
Jonathan McPherson
d0c4093f5a
use built-in parseQueryString
2013-12-10 10:46:03 -08:00
Jonathan McPherson
10dd0d07dc
showcase mode stub controlled by showcase=1 parameter
2013-12-10 09:50:51 -08:00
Yihui Xie
916ad6535a
fixes #299 : RJSONIO is unable to convert a matrix of 0 row to [], in which case we have to use an empty list() instead
...
toJSON(list(x = matrix(nrow = 0, ncol = 3))) gives '{\n "x": \n}', which is an invalid JSON expression
2013-12-03 15:03:39 -06: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
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
a55090dc2f
the searching should use intersection instead of union
2013-10-22 02:07:06 -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