Barbara Borges Ribeiro
cc406262ac
added spaces after commas in a couple of places where they were missing
2016-03-12 17:23:43 +00:00
Barbara Borges Ribeiro
0f20063eb8
added "$" to regex to make sure we're subbing "</table>" only at the end of the input
2016-03-12 17:04:29 +00:00
Barbara Borges Ribeiro
5f32b165f2
updated createWrapper() per Joe's suggestion, added spaces between the "="
2016-03-12 16:46:59 +00:00
Barbara Borges Ribeiro
7fe6453bbb
vectorized form to add format args to classNames
2016-03-11 16:26:07 +00:00
Barbara Borges Ribeiro
9f88d2b6d6
made isNumber() 1000x more elegant
2016-03-11 16:19:29 +00:00
Barbara Borges Ribeiro
8f9d52699d
return NULL instead of the empty string if no data is provided
2016-03-11 16:00:00 +00:00
Barbara Borges Ribeiro
0a774a8c55
"the" changed to "of"
2016-03-11 15:52:05 +00:00
Barbara Borges Ribeiro
d4ced34a11
2nd update to width documentation (copied straight from plotOutput() )
2016-03-11 15:36:14 +00:00
Barbara Borges Ribeiro
85a762a0b9
updated width documentation
2016-03-11 15:34:34 +00:00
Barbara Borges Ribeiro
734d2e2594
latex bug in documentation (but shouldn't this be allowed?)
2016-03-11 10:58:18 +00:00
Barbara Borges Ribeiro
2e292b4636
commenting and documenting
2016-03-11 10:44:02 +00:00
Barbara Borges Ribeiro
f0bc7356ac
made sure theader is only present the argument colnames is set to TRUE
2016-03-10 23:34:53 +00:00
Barbara Borges Ribeiro
ef65937662
replaced format argument with 4 flags (striped, bordered, hover, condensed) and made headers look like bootstrap's
2016-03-09 22:54:11 +00:00
Barbara Borges Ribeiro
3369b8b5b2
finally got headers to align nicely with columns
2016-03-09 01:44:23 +00:00
Barbara Borges Ribeiro
d0e3279a67
aesthethics
2016-03-08 17:00:42 +00:00
Barbara Borges Ribeiro
979b4a8861
used row.names() function instead of rownames() to avoid naming conflicts
2016-03-07 12:56:00 +00:00
Barbara Borges Ribeiro
4aa1d19845
replaced renderTable with renderBootstrapTable (but kept name renderTable) and ensured backward compatibility
2016-03-07 12:29:43 +00:00
Barbara Borges Ribeiro
7ff51d89fc
check if rownames are numbers or strings
2016-03-07 12:21:39 +00:00
Barbara Borges Ribeiro
a9ba0fdb0b
added arguments, minimal functional code
2016-03-04 15:13:07 +00:00
Barbara Borges Ribeiro
af19c3331c
added more function arguments
2016-03-04 00:01:09 +00:00
Barbara Borges Ribeiro
057d160392
changes to make function compatible with table demo app
2016-03-03 15:54:59 +00:00
Barbara Borges Ribeiro
6b2899c219
fixed small width bug
2016-03-02 15:22:16 +00:00
Barbara Borges Ribeiro
85290e687c
added customizable width
2016-03-02 15:05:50 +00:00
Barbara Borges Ribeiro
d778e81f42
aesthetic changes
2016-03-02 14:03:56 +00:00
Barbara Borges Ribeiro
2bfad21604
added renderBootstrapTable
2016-03-01 15:55:58 +00:00
Winston Chang
cbe76aab83
Merge pull request #1117 from rstudio/joe/feature/abort-output
...
Add ability to abort the processing of outputs
2016-02-22 11:20:17 -06:00
Joe Cheng
26de088520
s/abortOutput/cancelOutput/; add req option
2016-02-22 09:12:30 -08:00
Winston Chang
98430edb17
Merge branch 'replay-plot'
2016-02-19 13:57:38 -06:00
Winston Chang
48c6784e51
Change 'replay' option to 'execOnResize'
2016-02-19 13:52:36 -06:00
Winston Chang
dc0f5af3ef
Rename 'render' to 'plotObj'
2016-02-19 13:42:54 -06:00
Joe Cheng
4e91af4d64
Add ability to abort the processing of outputs
...
abortOutput() leaves the state of the output unchanged,
unlike req(), validate(), or stop().
2016-02-19 00:33:10 -08:00
Yihui Xie
faf87a5dee
Closes #810 : check if the input file is encoded in UTF-8 and warn if not
...
The validUTF8() function is still in R-devel, and they probably will never export it, so let's use iconv(x, from = 'UTF-8', to = 'UTF-8') to test if x is encoded in UTF-8
also closes #1113
2016-02-19 00:02:25 -06:00
Winston Chang
afd00edee3
Add replay option
2016-02-16 14:07:49 -06:00
Winston Chang
b712398208
If plot code errors, re-execute on resize
2016-02-16 13:39:11 -06:00
Winston Chang
9eba82c107
Fix vars
2016-02-15 16:01:15 -06:00
Winston Chang
ccdc219a09
More cleanup
2016-02-15 15:39:05 -06:00
mostly-harmless
b5cfd4152e
Fix for https://github.com/rstudio/shiny/issues/692
2016-02-12 22:15:34 -08:00
Winston Chang
32c4c8ae32
Code cleanup
2016-02-12 15:59:10 -06:00
Winston Chang
bd4c506d22
Implement replayPlot when width/height changes
2016-02-12 13:26:41 -06:00
Winston Chang
476dd7cd56
Collect needed data structures
2016-02-11 14:45:43 -06:00
Winston Chang
8176f84715
Restructure ggplot2 coordmap extraction
2016-02-11 14:25:20 -06:00
Winston Chang
6bd33721d8
Separate rendering code into a reactive
2016-02-11 12:27:16 -06:00
Winston Chang
c9d9671288
More restructuring
2016-02-11 12:25:38 -06:00
Winston Chang
2a821edf5f
Small restructure of renderPlot
2016-02-11 12:25:38 -06:00
Winston Chang
83cf5907c3
Merge pull request #1072 from rstudio/rm-do-call
...
Remove unneeded do.call
2016-02-11 10:24:47 -06:00
Joe Cheng
84937b7a0b
Use parent.frame() instead of sys.parent()
2016-02-09 16:29:15 -08:00
Joe Cheng
924b3e16cf
Fix docs/check
2016-02-09 16:29:15 -08:00
Joe Cheng
2a8cf01410
Pass tests. reactive(function() { ... }) is NO LONGER supported.
2016-02-09 16:29:14 -08:00
Joe Cheng
a3a5cfee6c
Partial fix of debugger breakage
...
There are two problems I'm trying to solve here.
1) Somewhere along the way, exprToFunction gained a hardcoded
assumption that two stack frames up is a variable "expr",
meaning anything that called installExprFunction had to have
the first argument be exactly "expr". I think I got this
fixed, now the only assumption made by both installExprFunc
and exprToFunc is if they are called with quoted = FALSE,
then the caller is merely passing through code that originated
exactly one more level up the stack frame. If the code is
less than one level up, i.e. an end user is directly passing
code into installExprFunction or exprToFunction, then it won't
work; and if the code is more than one level up (someone is
passing code into function A which passes through to function
B which calls installExprFunction, with quoted = FALSE) then
it also won't work.
2) registerDebugHook calls were broken in various places by the
name/envir registered with the hook being different than the
name/envir through which the function was actually called.
This generally seems fixable by moving the registerDebugHook
call closer to the name/envir that will ultimately be called
(e.g. call registerDebugHook directly from wrapFunctionLabel).
There still seems to be a problem here in that breakpoints in
RStudio are hit but then the IDE automatically runs "n" multiple
times. Also the unit tests don't currently pass, I haven't
investigated that yet.
2016-02-09 16:29:14 -08:00
Yihui Xie
55d3764169
Fixes #561 : should discard the query when the number of columns in the request is different with the number of columns of the actual data
2016-02-03 10:54:37 -06:00