Say we have a data.table DT
Could we change DT[,.(myLongVarName=f(myLongVarName))] by DT[,.(f(myLongVarName))] ?
Right now a V1 column name is created but it is quite a wate of space. This would replicate the behaviour of kdb+.
DT[,.(f(myLongVarName,varName2))] will still create a myLongVarName column, and if there is a column name clash we can come back to Vs
Say we have a data.table DT
Could we change
DT[,.(myLongVarName=f(myLongVarName))]byDT[,.(f(myLongVarName))]?Right now a
V1column name is created but it is quite a wate of space. This would replicate the behaviour of kdb+.DT[,.(f(myLongVarName,varName2))]will still create a myLongVarName column, and if there is a column name clash we can come back to Vs