Reference a data table within a R script

Hello everybody,

how can I use a whole table as input for a R script?

I only managed to select all columns and use that as input. Due to the fact that the colum names can change I would prefer to just select the table not the columns.

Or is there a way to just use the table name as an input parameter and use that name as a reference within the R script?

Any advice is appreciated

Best regards,



(1) Answer