Suppose $R=F[x_1,\dots, x_n]/(x_1^m,\dots, x_n^m)$ with the standard grading and $F$ is any field. I want to be able to define the $i$th graded component $R_i$ in Macaulay2. Right now, I'm comfortable getting Macaulay2 to tell me many useful things about $R_i$ such as its dimension (as an $F$-vector space) but I've been unsuccessful in defining it as its own object that I'm able to call and manipulate. To be somewhat more explicit, I'd like something with the following flavor:
i1: F=GF(7);
i2: R=F[x,y]/(x^49,y^49);
i3: C=R_10;
It's unclear to me how to get "R_10" explicitly. I tried
i3: B=basis(10,R);
i4: C=image B;
but these objects aren't actually the same despite having the same dimension.