This is probably an easy question, but I have been looking for hours before posting it. I want for a given finite set say $S$ (in particular a set of homogeneous polynomials), to define the vector space over a finite field $\mathbb{F}$ spanned from that set. I wasn't able to find out online how to create a non-standard vector space $V$; a standard vector space (I use magma's terminology) is defined to be $\mathbb{F}^n$. Moreover, I can't find out how to define the vector space of the homogeneous component of degree $d$, say $R^{(d)}$ for a given polynomial algebra, $R:=\mathbb{F}[x_1,...,x_n]$. Any reference is welcomed.
P.S. My question may be a naive one, though I've spent much time looking for it. Any sort of help is appreciated since I really need that command to proceed.