Let J be some index set.
I was watching a lecture by Mikhail Gromov and he made a passing comment about why $\mathbb{R}^J$ makes sense because J is a set, but $\mathbb{R}^n$ does not because $n$ is a number.
I thought we just used $n$ because it was a convenient way of saying we are taking $n$ Cartesian products of $\mathbb{R}$ with itself.
Can some explain what this means?