insert_include_command: Insert Graphics Inclusion Command Into Rmd-Source

View source: R/odg_graphics.R

insert_include_commandR Documentation

Insert Graphics Inclusion Command Into Rmd-Source

Description

When creating a new graphics object, this function tries to automatically generate the associated command to include the generated graphics object into the respective Rmd-source document. This process needs as input the current working directory where of the Rmd-source document and the name of the file in which the graphics object is stored.

Usage

insert_include_command(ps_path, ps_rmd_src = NULL, ps_cwd = get_wd())

Arguments

ps_path

path to the odg graphics file

ps_rmd_src

name of and path to the rmd-source file

ps_cwd

current working directory of the rmd-source file


charlotte-ngs/rmdhelp documentation built on Oct. 31, 2023, 10:21 a.m.