title: How do I troubleshoot 404 Errors for a GEO file in R?
body: <p>I am currently trying to analyze a GSE file in R that should contain gene expression data I need. I have followed the necessary steps to load the data, however, I keep getting a 404 error. When I run the below code, there are no issues.</p>
  <pre><code>GSE161621 &lt;- getGEO(filename='GSE161621_family.soft')
  </code></pre>
  <p>However, when I try to access the expression data, by setting GSEMatrix to either true or false I get errors. I have tried searching for how to overcome these errors, but still have not been able to locate a solution.</p>
  <pre><code>GSE161621 &lt;- getGEO('GSE161621_family.soft', GSEMatrix=FALSE)
  </code></pre>
  <p>Error: HTTP error 404.File stored at:
  /var/folders/mr/ncmfjdg57hl6x011zqcl16lc0000gn/T//RtmpPFvfTc/GSE161621_FAMILY.SOFT.soft.gz
  Error in downloadFile(myurl, destfile, mode) :
  Failed to download /var/folders/mr/ncmfjdg57hl6x011zqcl16lc0000gn/T//RtmpPFvfTc/GSE161621_FAMILY.SOFT.soft.gz!</p>
  <pre><code>GSE161621 &lt;- getGEO('GSE161621_family.soft', GSEMatrix=TRUE)
  </code></pre>
  <p>Error: Error in open.connection(x, &quot;rb&quot;) : HTTP error 404.</p>
  <p>Any help in understanding what is going on would be greatly appreciated.</p>