In R, I'd suggest using the
GEOquery package (see tutorial). When using this package, it will download the dataset directly into R. This will usually be in the form of an specific R class object (similar to an
ExpressionSet), which will contain the matrix with expression data, metadata, etc. It is helpful to become familiarized with the specific R objects, so you know how to access each feature.