Joe Cheng
3bbf06ba49
Don't indent HTML during knit_print
2014-04-14 15:31:45 -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
Yihui Xie
5d70e68a0b
the development version of knitr can be installed from rforge.net
2014-04-12 12:33:42 -05:00
Joe Cheng
529f2325b2
Fix tests
2014-04-11 15:46:32 -07: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
12ea950c5f
use more idiomatic syntax for resolving rmarkdown.runtime
2014-04-11 14:41:06 -07:00
Yihui Xie
f4d12220ca
Merge pull request #437 from trestletech/winslash
...
Make normalizePath calls Windows-compatible.
2014-04-11 15:41:54 -05: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
fa0a91a75d
Fix createUniqueId logic
2014-04-11 12:06:22 -07: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
Joe Cheng
f67e17b287
Allow NULL input labels; add actionLink
2014-04-11 11:00:41 -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
d803bae874
Bump ver
2014-04-11 10:17:51 -07:00
Joe Cheng
14606f4087
Remove unnecessary :::
2014-04-11 10:16:59 -07:00
Joe Cheng
599fdc7ee5
Refactor private random seed code
2014-04-10 15:03:18 -07:00
Joe Cheng
722e205db5
Isolate createUniqueId randomness from rest of R
...
TODO: Generalize to our own runif
Reviewed by @jmcphers
2014-04-09 17:16:36 -07:00
Joe Cheng
f67849eb47
Doc cleanup
2014-04-09 17:10:37 -07:00
Joe Cheng
662ca4e40a
Fix travis?
2014-04-09 16:28:36 -07:00
Joe Cheng
aa61be74d8
Merge pull request #432 from jcheng5/multiple-apps
...
Support reactive documents and embedded Shiny apps in rmarkdown
2014-04-09 16:23:43 -07:00
Joe Cheng
10296fcd6b
Clear handler manager anytime runApp is called
2014-04-09 16:10:43 -07:00
Joe Cheng
f8bf146b6c
Render functions can be inserted directly into .Rmd
...
All render functions need to call markRenderFunction on their
return values for this mechanism to work.
Also:
- Remove runRmdContainer (it's moved to rmarkdown)
- Remove some bad .Rbuildignore entries
- Make height/width in shinyApp respected
2014-04-09 14:53:56 -07:00
Joe Cheng
52f104c517
Automatically remove subapps when their owning session finishes
2014-04-08 16:38:45 -07:00
Joe Cheng
6c1fc224f0
Merge pull request #1 from jcheng5/reactive-domains
...
Reactive domains
2014-04-08 15:44:51 -07:00
Joe Cheng
6b9ae3a8b3
Move "@include globals.R" directives to top; slight doc fixes
2014-04-08 15:39:57 -07:00
Joe Cheng
07f73030c6
More reactive domain work
...
- observers' autodestroy behavior is now optional
- tests
2014-04-08 14:47:32 -07:00
Joe Cheng
47130c79ee
Code review feedback
2014-04-08 11:16:42 -07:00
Joe Cheng
f3a3bdfe4f
Port showcase mode execution highlighting to domains
2014-04-07 21:59:16 -07:00
Joe Cheng
e5e54fe4c1
Implement reactive domains
2014-04-07 21:55:05 -07:00
Joe Cheng
29c0f9a43a
Ignore additional knit_print parameters
2014-04-07 17:10:44 -07:00
Joe Cheng
0b78229c77
Travis!! *shakes fist*
2014-04-07 11:45:46 -07:00
Joe Cheng
c2a1d70070
Fix travis
2014-04-07 10:54:21 -07:00
Joe Cheng
260ecd1d9f
Travis: Install latest knitr master
2014-04-07 09:24:51 -07:00
Joe Cheng
3dce2e761a
Fix debugging of server files
...
.global$server becomes appvars$server
2014-04-04 10:30:42 -07:00
Joe Cheng
80a54200ce
Comment tweaks
2014-04-03 23:45:08 -07:00
Joe Cheng
51227d438a
Get rid of "incomplete final line" warnings in showcase code
2014-04-03 21:33:40 -07:00
Joe Cheng
6fb4199d37
Make the worker ID global across all sub apps
2014-04-03 21:30:56 -07:00
Joe Cheng
6ba46aff6b
Fix gitignores for literate
2014-04-03 21:02:18 -07:00
Joe Cheng
5da34d0646
Fix makefile on windows
2014-04-03 20:43:55 -07:00
Joe Cheng
f215088939
Update staticdocs index, tests pass
2014-04-03 19:43:11 -07:00
Joe Cheng
df34dcdb0c
Pass R CMD check
2014-04-03 19:37:45 -07:00
Joe Cheng
89f464af99
Fix Rmd build tooling
2014-04-03 15:31:49 -07:00
Joe Cheng
3f6f02f7d2
More docs
2014-04-03 14:41:59 -07:00
Joe Cheng
0d861e5389
Add documentation for handlers/middleware
2014-04-03 14:24:55 -07:00
Joe Cheng
b290c8700c
Allow the use of .Rmd files for shiny impl scripts
2014-04-03 11:12:16 -07:00
Joe Cheng
81b6fbe263
Remove obsolete print.shiny.appdir
2014-04-03 01:51:30 -07:00
Joe Cheng
b3af293f66
Fix scoping bug
2014-04-03 01:49:36 -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
b449d9759c
Minor doc updates
2014-04-01 23:02:22 -07:00