object of type ‘builtin’ is not subsettable

I think you intended to have this:

d[,2:length(d)]

Leave a Comment