qp: Replace XiMpLe.node objects with their ID value

View source: R/qp.R

qpR Documentation

Replace XiMpLe.node objects with their ID value

Description

This function is a shortcut for id which sets some useful defaults (quote=TRUE, collapse=" + ", js=TRUE). The abbreviation stands for "quote + plus".

Usage

qp(...)

Arguments

...

One or several character strings and/or XiMpLe.node objects with plugin nodes, and/or objects of classes rk.JS.arr or rk.JS.opt, simply separated by comma.

Value

A character string.

See Also

rk.JS.vars, rk.JS.array, rk.JS.options, echo, id, and the Introduction to Writing Plugins for RKWard

Examples

# an example checkbox XML node
cbox1 <- rk.XML.cbox(label="foo", value="foo1", id.name="CheckboxFoo.ID")
qp("The variable name is: ", cbox1, "!")

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.