Coder Social home page Coder Social logo

Add Plug-In API about radiant HOT 4 CLOSED

vnijs avatar vnijs commented on July 20, 2024
Add Plug-In API

from radiant.

Comments (4)

vnijs avatar vnijs commented on July 20, 2024 1

I will create docs and an example of how you can add components. In the meantime, you need a file with an analysis, a summary, and a plot function (see R/, e.g., single_mean.R). Then you need a file that generates the ui for the tool (e.g., single_mean_ui.R) and then you add a line to the overall app ui-file (e.g., ui.R).

You can also source chunks of one app into another (see here).

from radiant.

picarus avatar picarus commented on July 20, 2024 1

The idea of "add-ins" to be fully developed would require not having to modify the existing code (ui.R) but be able to extend it.
A possible idea would be to call Radiant with an additional parameter that contains the path to a folder containing the required files. As an example:
radiant(“quant”,folder=”myExtensions”)
radiant(folder="myExtensions")
and myExtensions would contain the file pairs xxxx.R and xxxx_ui.R and possibly a third one to extend ui.R.

from radiant.

vnijs avatar vnijs commented on July 20, 2024

@picarus I like this idea. I will try to put an example together in the next couple of weeks.

FYI my hope is that extensions could be housed at the repos linked below. That way they will be organized and improvements can be more easily shared across projects.

https://github.com/radiant-rstats

from radiant.

vnijs avatar vnijs commented on July 20, 2024

That took a bit longer than planned :)

Radiant development has been moved to https://github.com/radiant-rstats. Updated documentation is available at https://radiant-rstats.github.io/docs/. The new structure of the app should make it easier to extend the app with new menus. Take a look at https://github.com/radiant-rstats/radiant.design as an example of how to extend Radiant

As soon as the development versions of Shiny and DT hit CRAN I'll push the new Radiant packages as well

Please open any new issues at https://github.com/radiant-rstats/radiant/issues

from radiant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.