load_index: Load an index

Description Usage Arguments Value Examples

View source: R/pastec_api.R

Description

Directs Pastec to load an image index from disk.

Usage

1
load_index(index_path, server)

Arguments

index_path

File contianing a Pastec index.

server

Pastec server.

Value

On successful addition, silently returns list with server response.

Examples

1
2
3
4
5
6
7
## Not run: 
ps <- open_pastec_server()
load_index("index.dat", ps)
#> Pastec index loaded
#> [1] TRUE

## End(Not run)

mdlincoln/PastecR documentation built on May 22, 2019, 4:03 p.m.