Skip to contents

Append information to the current comment of the x3p object. If there is no comment, a comment will be included in Record2 (general info)

Usage

x3p_paste_comment(x3p, comment, sep = ", ")

Arguments

x3p

x3p object

comment

character value with the appendage

sep

character value to use for separating between existing and new comments

Value

x3p object with expanded comment

Examples

logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
logo %>% x3p_paste_comment("*** added to the current comment ***")
#> x3p object
#> Instrument: N/A 
#> Model: N/A 
#> Date: 2018-01-30T08:30:24 
#> size (width x height): 741 x 419 in pixel 
#> resolution: 6.4500e-07 x 6.4500e-07 
#> Creator: Heike Hofmann, CSAFE 
#> Comment: image rendered from the CSAFE logo, *** added to the current comment ***