I seem to have problems using column names within data.table that have certain characters, including currency symbols and numeric characters?
Are there any sensible ways of working with these, e.g. referring to such column names by reference? Here's an example:
e <- data.table(a = 1:5, b = 2:6, Revenues_(£000) = 3:7)
e[,Tax_(£000) = a + Revenues_(£000),]
Many Thanks in advance