Learn R Programming

servr (version 0.33)

A Simple HTTP Server to Serve Static Files or Dynamic Documents

Description

Start an HTTP server in R to serve static files, or dynamic documents that can be converted to HTML files (e.g., R Markdown) under a given directory.

Copy Link

Version

Install

install.packages('servr')

Monthly Downloads

46,660

Version

0.33

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

June 16th, 2026

Functions in servr (0.33)

redirect

Create a redirect response
httd

Serve static files under a directory
auth_basic

Generate Basic authentication strings
jekyll

Serve R Markdown based websites
random_port

Find a random available TCP port
browse_last

Reopen the last browsed page
make

Serve files under a directory based on GNU Make
serve_example

A convenience function to serve examples in this package
daemon_stop

Utilities for daemonized servers
create_server

Create a server
server_config

Server configurations
vign

Serve R Markdown/HTML package vignettes