I would like to hide a column (col4 in example below) in a dataframe using the DT package.
I\'ve incorporated the code snippet found here, to no avail - col4 still
The targets should be numeric values of the column number
targets
datatable(test, options=list(columnDefs = list(list(visible=FALSE, targets=c(4))))) %>%