Code Monkey home page Code Monkey logo

Comments (11)

sckott avatar sckott commented on June 8, 2024

Thanks. I will see how it can fit in to the task view.

from webtechnologies.

ramnathv avatar ramnathv commented on June 8, 2024

I think servr is a great package and in fact a much needed package for rstats. I have been abusing shiny to get this basic server functionality for rendering static files. Any plans to submit this to CRAN @yihui ?

from webtechnologies.

sckott avatar sckott commented on June 8, 2024

Sounds like it's useful and should go on the task view...

from webtechnologies.

yihui avatar yihui commented on June 8, 2024

@ramnathv I can certainly submit it to CRAN if it can be useful to other people. I'm not sure if a similar package already exists. Besides, I think this package can be made more generally useful if we do something similar to FastRWeb. To some degree, httpuv is like Rserve, and I think there is one package missing like FastRWeb, which could be servr.

from webtechnologies.

ramnathv avatar ramnathv commented on June 8, 2024

I think the simplicity of servr is its biggest strength. I was looking for a package that would do what python -m SimpleHTTPServer would do, and AFAIK, all other R packages require extensive configuration to do what that python command does. Yes, you can make servr more feature rich, but repeating what Rserve and other full fledged webserver packages do, might defeat the purpose of servr. Maybe, we can continue this dialog on the servr github issues.

from webtechnologies.

rmflight avatar rmflight commented on June 8, 2024

Yes it's bloody useful! @DASpringate and I have been looking for something like this in R. We tried rRook, but haven't been able to get it configured properly for a simple static site, and no feedback on the rRook mailing list.

from webtechnologies.

sckott avatar sckott commented on June 8, 2024

Cool. Added a bit on servr in the task view here. Do edit the description as you like.

from webtechnologies.

yihui avatar yihui commented on June 8, 2024

@ramnathv Agreed. I'll make an initial release to CRAN soon.

@rmflight I'm glad to know it is useful to you.

from webtechnologies.

ramnathv avatar ramnathv commented on June 8, 2024

Terrific @yihui. Finally, I can stop using python or ruby to serve up static sites created using Slidify :)

from webtechnologies.

yihui avatar yihui commented on June 8, 2024

It is on CRAN now: http://cran.r-project.org/package=servr

from webtechnologies.

sckott avatar sckott commented on June 8, 2024

Thanks, will update.

from webtechnologies.

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.