Only 0's may be mixed with negative subscripts

Hello,

Could you create a reprex of this example?
A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:

My guess is that indeed you are trying to subset data structure in two opposing ways. You can either use 'inclusion' like myList[1:3] will select all indices 1 - 3, or 'exclusion' like myList[-c(1:3)] will select everything but index 1 - 3. You can't however combine the two.

Grtz,
PJ