Giter Club home page Giter Club logo

Comments (4)

davidroberson avatar davidroberson commented on July 28, 2024

I have actually moved away from using spin lately. I have found that .Rmd is formatted much better in RStudio and allows publishing directly to shinyapps.io with a mouse click. For every project I have 1 long .Rmd that can create 1 or more .R files. These .R files use doctopt to get the commands lines args and feed back to the .Rmd. The last command in the .R is render("project.Rmd") with the command line args present in the environment already.

I suppose this same strategy could be done with 1 .R file but for me I prefer the formatting of the .Rmd in RStudio. The .R file is more concise though and could be used to spin itself.

from sevenbridges-r.

tengfei avatar tengfei commented on July 28, 2024

hi dave, this sounds great, could you please send me your example Rmd privately to me, so I could get a rough idea for your approach? For the spin example, I now simply want to add a short example that people add .R via fileDef and use base command to spin that into a pdf/html report.

from sevenbridges-r.

davidroberson avatar davidroberson commented on July 28, 2024

Sounds great. I will send you an Rmd later this week. It will have a description of how to wrap star genome generate and star aligner using the sevenbridges package.

from sevenbridges-r.

tengfei avatar tengfei commented on July 28, 2024

Thanks Dave!

from sevenbridges-r.

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.