title: Cannot save a file in R. Permissions denied
body: <blockquote>
    <p>saveRDS(seqtab, "C:/Users/Bioinfo/Desktop/Dada2")
    Error in gzfile(file, mode) : cannot open the connection
    In addition: Warning message:
    In gzfile(file, mode) :
      cannot open compressed file 'C:/Users/Bioinfo/Desktop/Dada2', probable reason 'Permission denied'</p>
  </blockquote>
  
  <p>In a R package called DADA2, I got the following error when I tried to save the sequence table created. Can anyone please help?</p>