Need a special offer?Find out if your project fits.
+

How to insert flexmonster in a Rshiny app

Answered
Vineet Choudhury asked on March 12, 2019

Hi, I have an RSHINY app and for the pivot functionality, I want to use flexmonster. Could you please guide on how to implement it. Thank you.

4 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster March 12, 2019

Hello, Vineet,

Thank you for contacting us.

Flexmonster Pivot is a JavaScript library so it should be embedded into Shiny in the same way as any other JavaScript code. For more detailed instructions we suggest referring to the Shiny documentation: https://shiny.rstudio.com/articles/packaging-javascript.html.

Hope it helps.

Regards,
Tanya

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 14, 2019

Hello Vineet,
We have prepared a sample R shiny project with Flexmonster integrated into it.
Please find it on our GitHub: https://github.com/flexmonster/pivot-r-shiny.
The starting point is the app.r file.
Let us know if everything works fine for you.
Regards,
Dmytro

Public
Vineet Choudhury March 14, 2019

Thank you Dmytro. One question, how can i find a trial key?

Public
Vera Didenko Vera Didenko Flexmonster March 15, 2019

Hello, Vineet,

Thank you for your question.

To get the trial key you need to request Flexmonster package for your data source.
A confirmation email with a trial key and Flexmonster package will be sent to you after the request.

Copy the key and paste it into the licenseKey property.
For example:

var pivot = new Flexmonster({
		container: "pivotContainer",
		componentFolder: "flexmonster/",
		toolbar: true,
/*Insert your trial key here*/ licenseKey: "XXXX-XXXX-XXXX-XXXX-XXXX" });

Here is a link to where you can see how Flexmonster is embedded into a Shiny application.

Please contact us if you have any further questions.

Best Regards,
Vera

Please login or Register to Submit Answer