neptune_extend: Extends the field with collection of values.

View source: R/neptune_extend.R

neptune_extendR Documentation

Extends the field with collection of values.

Description

Extends the field with collection of values. Available for following field types (https://docs.neptune.ai/api-reference/field-types): * 'FloatSeries' * 'StringSeries' * 'FileSeries'

Usage

neptune_extend(x, values, steps=NULL, timestamps=NULL, wait=FALSE, ...)

Arguments

x

Field, for which we want to append value

values

Collection of values to be added to the field.

steps

Collection of steps (numeric or integer) - Indexes of the log entries being extended. Must be strictly increasing.

timestamps

(numeric or integer) - Time indexes of the log entries being extended in form of Unix time. If NULL current time will be used as a timestamp.

wait

logical - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

...

Other arguments passed on to the ggsave function in case of logging a ggplot2 object.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

## Not run: 
# We are using api token for an anonymous user neptuner. For your projects use your private token.
run <- neptune_init(api_token = ANONYMOUS_API_TOKEN,
                    project = "common-r/quickstarts")
neptune_extend(run['loss'], c(0.1, 0.2, 0.3))

## End(Not run)

neptune-ai/neptune-r documentation built on Aug. 21, 2023, 6:51 p.m.