Learn R Programming

svHttp (version 1.0.4)

http_server_port: Get or change the port of the HTTP server

Description

Get or change the port of the HTTP server

Usage

http_server_port(port)

HttpServerPort(port)

Arguments

port

port on which the server should run (both help and SciViews). By default, it is port 8888. Note that this server runs only locally and can only serve requests from 127.0.0.1 (because communication is not crypted).

Value

A number with the port of the HTTP server.

See Also

start_http_server() for a complete example.

Examples

Run this code
# NOT RUN {
http_server_port()
# }

Run the code above in your browser using DataLab