I would like to create a simple web server using Rook, however I get strange errors when trying it in R-Studio:
Code
library(Rook)
s <- Rhttpd$new()
s$start()
print(s)
returns a useless error
"Error in listenPort> 0: comparison (6) is only possible for atomic and list types."
When I try to use the same code in a simple R-console, everything works - so I would like to understand why this is happening and how I can fix it.
RStudio is version 0.99.484 and R is R 3.2.2
source
share