Martina,
This may not be the best way, but I've found that you can simulate
ZZ^n grading by using, for example:
R = QQ[a,b,c,d,e, Degrees => apply(5, i->rotate(-i,
{1,0,0,0,0}))];
Then the resolution and Betti tally of I are ZZ^n graded. (This is
example 1.25 from Miller & Sturmfels "Combinatorial Commutative
Algebra".)
C = res ideal(d*e, a*b*e, a*c*e, a*b*c*d);
B = betti C;
Notice, however, if you print B it's the ZZ-graded tally you will
see. You can use
peek B
to see the ZZ^n-graded Betti numbers. You can also use
poincare B
to see the Poincare polnomial of the ideal (example 1.14 from Miller &
Sturmfels).
Hope this helps,
David