[R] Is it possible to include shiny code in a package?

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Mar 2 11:46:52 CET 2014



On 02.03.2014 08:59, Marc Girondot wrote:
> Dear list member,
> I would like to include shiny code within a package. My idea was to
> include a folder 'shiny' for example and to put in this folder the files
> server.R and ui.R required for shiny as well as the css file and a
> style.R file that call this css file.
> Is it possible ?
> When I call the build command, how to say to include this folder? Or are
> there other way to do?

Put it in the ./inst/shiny folder which is copied to ./shiny in the 
installed package. See Writing R Extensions.

Best,
Uwe Ligges


> Thanks a lot
> Marc
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list