set_jazz_host: Set the name of the Jazz server to avoid passing it in all...

Description Usage Arguments Value Examples

View source: R/set_jazz_host.R

Description

Sets the name of the Jazz server to avoid passing it in all function calls. It simply assigns it to the global variable .host.

Usage

1

Arguments

host

The name of the jazz server host (including the port).

Value

Returns TRUE if the argument is a single string. No other checks done.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
set_jazz_host('127.0.0.1:8888')
page <- '<html>\n<body>\n<br/>Hello world!\n</body>\n</html>'
create_web_resource('my_test',
                    '/my_test/hello.html',
                    type_const[['BLOCKTYPE_RAW_MIME_HTML']],
                    page)
# See http://127.0.0.1:8888/my_test/hello.html with a browser.

list_web_sources()
delete_web_source('my_test')

## End(Not run)

rjazz documentation built on May 2, 2019, 2:45 p.m.