mpiccirilli/USMassShootings

could not find function "."

Closed this issue · 1 comments

weeklyIncidents = DT[,.(Date, year, nVictims)][,week := week(Date)][order(Date)]
Error in eval(expr, envir, enclos) : could not find function "."

I am new to the use of data tables. There are several places where the '.' function is used and they all throw the same error.

I got it working. I had to upgrade my version of R. R 3.2.2 seems to have fixed the problem.