Tables to pass to R

The tables to make available to the R expression.

Only the tables listed here are available to the R expression. Table names are automatically adjusted to be valid R names if needed, and are listed below.

Packages to load in R

The packages to import for use in the R expression.

These packages will be imported (and installed, if needed) for you. List them here, separated by commas.

The R expression to run

The R code to run and turn into a table.

The R code can have multiple lines. The last line will be turned into a Columnal table. If it's a data frame it will be turned into a full table. If it's a column or single value, it will be turned into a table with a single column. R types will be converted to the most suitable Columnal types. Note that numbers in Columnal may be more precise than in R.

Available R variables

The tables and columns that will be available in R

Based on the selected tables, this is a convenience list of available tables and columns in R. You can click each one to insert it at the current cursor position in the R expression, rather than having to type them out yourself.