httpuv provides low-level socket and protocol support for handling HTTP and WebSocket requests directly from within R. It is primarily intended as a building block for other packages, rather than making it particularly easy to create complete web applications using httpuv alone. httpuv is built on top of the libuv and http-parser C libraries, both of which were developed by Joyent, Inc.
Questions tagged [httpuv]
12 questions
3
votes
0 answers
httpuv fails to compile on Azure HDI cluster
Context
I'm working on Rstudio Server on an HDI cluster to work faster on large datasets but i encountered a problem.
When i'm trying to install packages, i get this error (example with package sparklyr)
> install.packages("sparklyr", repos =…

Orhan Yazar
- 909
- 7
- 19
2
votes
0 answers
can't install httpuv on AWS EC2 Ubuntu instance (for Shiny)
I'm following the many online tutorials for setting up a Shiny server using AWS. I created a free tier EC2 instance with Ubuntu 20.04 (64-bit), and I've installed R 3.6.3.
I can't install the httpuv package, which is a dependency of shiny. (Other…

A. S. K.
- 2,504
- 13
- 22
2
votes
1 answer
Having trouble installing R package httpuv
I am using R 3.3.3 on Debian/Linux 8 and I am having trouble installing the package httpuv, which is a dependency for another package I want to use. The installing error message is shown below. It seems like there are problems with libuv, but I am…

Yilei Huang
- 77
- 1
- 7
1
vote
0 answers
URL decode with R for RFC1738 (PHP default)
I need to decode with R strings that are URL encoded using RFC 1738.
These strings are coming from PHP requests and encoded with the PHP function http_build_query which uses RFC1738 by default.
For example, Hello, World! becomes…

asachet
- 6,620
- 2
- 30
- 74
1
vote
1 answer
Access locally served files within an R session
Context
In order to test the web capabilities of an R package I am writing, I'm attempting to serve a file locally use the httpuv package so that I can run tests using an offline copy of the page.
Issue
However, curl doesn't seem to want to play…

owenjonesuob
- 117
- 8
0
votes
0 answers
Later Package event loop 0
I am trying to use httpuv and for that the later package has to be installed, when i do library(httpuv) i get this:
Error: package or namespace load failed for ‘httpuv’:
.onLoad failed in loadNamespace() for 'later', details:
call: NULL
error: Can't…

SaiFB12
- 1
0
votes
1 answer
Authentication Error with R retweet package
I have academic access to Twitter. Since the Twitter policy changes, I cannot authenticate (I was able to do so before, using the default authentication method). Since the default authentication method no longer works, I am using the app…

knelson3
- 1
0
votes
1 answer
How to send a WebSocket message from an httpuv server in R without using message callback?
I have set up a simple httpuv WebSocket server which can receive messages from a WebSocket client and echo them back upon receipt.
For example:
library(httpuv)
s <- startServer("0.0.0.0", 8080,
list(
onWSOpen =…

deluxefeeling
- 21
- 3
0
votes
1 answer
How to implement async calls in R HTTPUV startServer?
The R httpuv startServer function should support async processing in the call portion of the app parameter but I'm not able to get it to work. Does anyone know how to do this? The example below won't work but it shows the idea of what I'm trying to…

Tim
- 13
- 4
0
votes
1 answer
Rscript Not Starting httpuv Server
I am attempting to start a server using startServer() from the httpuv package through Rscript on Ubuntu 20.04. The server will bind to the port if I run create_server.R from RStudio or if I run from the command line R interface, but when I…

Tim
- 13
- 4
0
votes
1 answer
RStudio Server, Shiny app doesn't launch, the app's page goes grey immediately
Shiny apps used to run perfectly before the update of packages and RStudio server (shiny (1.3.2) and httpuv (1.5.1)). The app's page goes grey inmediately after running the app.
I have tried this…

Anderson Arroyo
- 327
- 2
- 13
0
votes
1 answer
How to install most recent httpuv?
I've downloaded the tar.gz for httpuv but can't read it properly. I need it to install shiny.
install.packages("c:/.../httpuv_1.4.5.tar.gz", repos = NULL)
produces
Warning: running command 'make -f "Makevars.win" -f
…

Charles Stangor
- 292
- 7
- 21