Hello world/Web server: Difference between revisions

m
Add R solution
m (Add R solution)
Line 1,585:
except KeyboardInterrupt:
pass
</lang>
 
=={{header|R}}==
<lang rsplus>
library(httpuv)
 
runServer("0.0.0.0", 5000,
list(
call = function(req) {
list(status = 200L, headers = list('Content-Type' = 'text/html'), body = "Hello world!")
}
)
 
 
</lang>