You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: .GRP should create column named GRP, not .GRP (a la .I, .N) #1243
(Basically, trying to eliminate the first and last yr of observation from each id)
This is an error: cannot change value of locked binding for '.GRP'. I can think of a number of workarounds, but it seems the simpler solution is to simply change the naming behavior.
I imagine this is the same reason why .I and .N return columns named I and N by default.
Not sure but maybe it is only a matter of adjusting regex in two lines of [.data.table: jvnames = gsub("^[.]([NI])$","\\1",as.character(jsub)) in data.table.R#L896 jvnames[jj-1L] = gsub("^[.]([NI])$","\\1",deparse(jsubl[[jj]])) in data.table.R#L907
Activity
eantonya commentedon Jul 22, 2015
I haven't thought this through very carefully, but I assume whatever argument applies to
.GRPalso applies to.BY.jangorecki commentedon Aug 16, 2015
Not sure but maybe it is only a matter of adjusting regex in two lines of
[.data.table:jvnames = gsub("^[.]([NI])$","\\1",as.character(jsub))in data.table.R#L896jvnames[jj-1L] = gsub("^[.]([NI])$","\\1",deparse(jsubl[[jj]]))in data.table.R#L907MichaelChirico commentedon Sep 11, 2015
@jangorecki perhaps these lines as well
arunsrinivasan commentedon Sep 11, 2015
@MichaelChirico no, just the ones Jan's pointed. Would be great to wrap this up..
MichaelChirico commentedon Sep 11, 2015
@arunsrinivasan gonna take care of it now. Is there anything that needs to be changed in the tests / manual for this?
Merge pull request #1327 from MichaelChirico/grpdot