insertRcode: Insert R code into an Alteryx macro

Description Usage Arguments

View source: R/workflow.R

Description

Insert R code into an Alteryx macro

Usage

1
2
insertRcode(template, rfile, outFile = template,
  n = as.numeric(gsub("^.*([1-9])\\.R$", "\\1", rfile)))

Arguments

template

yxmc file to insert code into

rfile

R file containing code to insert

outFile

output file to save the udpated macro to

n

position of the RScript node at which to insert the R code RScript nodes are numbered sequentially in the order in which they appear in the macro.


AlteryxLabs/AlteryxRhelper documentation built on May 5, 2019, 4:55 a.m.