'Permission denied while trying to read TSV file into R on windows

Sorry if this isn't really a programming question. I am trying to read this tsv file into R, but it keeps giving me this error message:

assay<-read.table(file = 'GSE157103_genes.ec.tsv', sep = '\t', header = TRUE)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file 'GSE157103_genes.ec.tsv': Permission denied 

I tried to run as administrator and tried to alter the location of the file but that changed nothing.

I'm guessing that there probably aren't any issues with R, but something to do with my computer's permissions or maybe the McAfee antivirus? Hopefully, someone can help me figure out what's causing this, thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source