Comments (7)
I don't know where the breakage came from. This minimal example still works fine:
library(shiny)
library(rpivotTable)
shinyApp(
ui = fluidPage(rpivotTableOutput('foo')),
server = function(input, output) {
output$foo = renderRpivotTable({
rpivotTable(mtcars)
})
}
)
I'm afraid it will be a little difficult to debug your specific app due to its scale https://vnijs.shinyapps.io/marketing/ The error in the JavaScript console seems to indicate that there were issues with jQueryUI. FWIW, shiny uses a tailored version of jQueryUI 1.10.4 and this package uses 1.9.4: https://github.com/smartinsightsfromdata/rpivotTable/blob/master/inst/htmlwidgets/lib/jqueryui/jquery-ui.min.js I'm not sure if that could be the problem.
Since the error message is not clear enough. I guess you will have to reduce the number of elements in the UI and try to isolate the problem as much as you can.
from rpivottable.
Your example does indeed still work. I will see what I can find out and will check with @smartinsightsfromdata
from rpivottable.
@vnijs I've just tested the shiny example (Canadian election) that goes with the package and works fine.
I have:
- shiny 0.11.1.9004
- rpivotTable 0.1.3.4 (and the last changes I made were largely cosmetic)
- jsonlite 0.9.16
- htmlwidget 0.3.3
As my wrapper basically pass the data to the pivottable, it looks like a possible conflict due to jQueryUI.
I have used the same libraries used by Nicolas (pivottable author) on his github page. The jquery-ui version is 1.9.2. (but I found a buglet in rpivotTable yaml: it was wrongly labelled as 1.11.2).
Nicolas recently had this to say about dependencies etc. nicolaskruchten/pivottable#309
The examples have all been tested and all work with jQuery 1.8.3 and jQueryUI 1.9.2.
It's a good bet that later versions will work well, and it's kind of a crapshoot if you want to use later versions.
Because of the above I prefer to keep rpivottable aligned to Nicolas' libraries.
I will do the following (in the next few minutes):
- correct yaml file and push the version as 0.1.3.5
- create a jquery-ui-1.10.4 branch and post it (I just tested it and appear to work - but I haven't tested it in all context)
Let me know if I you would like me to add other changes to this branch (namely a different jquery version).
Please note that d3 and c3 are "unchangeable" and aligned.
from rpivottable.
It seems there was also a version of jquery-ui in Radiant. Once removed everything works fine. Sorry to waste your time
from rpivottable.
@vnijs no problem!
from rpivottable.
Nice of you to say that Enzo
On Wed, Apr 15, 2015 at 12:10 AM, Enzo [email protected] wrote:
@vnijs no problem!
Reply to this email directly or view it on GitHub:
#18 (comment)
from rpivottable.
Thanks @smartinsightsfromdata. As I said, I'm a little worried about the jQuery UI library included in shiny, because currently it has excluded the slider component (rstudio/shiny#799). But if you use a higher version than shiny's jQuery UI, htmlwidgets will choose your version.
from rpivottable.
Related Issues (20)
- Using pivotTable from static html HOT 1
- factor levels order is not retained HOT 7
- aggregate name: identity HOT 7
- reduce area of metadata in output table HOT 3
- append style to rpivotTable css styles HOT 2
- Easier extendibility of rpivotTable() for custom S3 classes
- Support Excel Date Slice? HOT 1
- rpivotTable doesn't display anything HOT 1
- Question: Is there a way to sort table by values displayed in current column selection?
- My question is, How to colorize "Heatmap", creating a function with "ifelse ()"?????
- Plotting multiple rpivotTable with for loop in html r-markdown
- Compatibility with Bootstrap 4? HOT 1
- Top row missing (where remaining pivot variables sit)
- Drop down arrows problem with crosstalk v.1.1.1.
- rpivotTable is not working together with shinyjqui
- Drop down lists open in wrong position HOT 9
- Can't sort the Total column in the Pivot Table
- Sort rows in locale with characters not found in English
- Is this Package still being maintained?
- How to Make rpivottable Work in Jupyter Notebook? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpivottable.