Hi! To retrieve datasets from GEO I assume you are accustomed to using GEO2R? An example of this is seen here: https://www.ncbi.nlm.nih.gov/geo/geo2r/?acc=GSE77182
Fortunately, for most microarray datasets, a script is provided to you to load the dataset directly onto R studio. For this though, you will need to have the necessary packages installed and loaded. Could you clarify what seems to be the issue?
I completely agree with Simran Venkatraman's suggestion. You can use GO2R, which is simple, but if you need a type of analysis that doesn't fit with it, you may have to write your own script. As a matter of fact, I have a few custom scripts for analyses such as co-expression, differential expression, etc. Lemme know exactly what you need and I can provide further suggestions. Thanks