(R library qs) function qread cannot locate file, even with correct path?

Post author
Cecile Avery

Hello! 

Hoping someone can help me with this problem. I'm trying to use the package qs, but when I supply the path to the file, qread cannot find the file. I have double checked the path to see if it is correct, and it definitely is (see below). Could this be an issue with how the package is looking for the file? I'm wondering if this is something I need to take to the developer. 

 

library(qs)
qread('gs://fc-secure-e2ecf24f-82c7-417f-a97a-356801da47e7/var_files/AJ_345/AJ_345_UDN_phenotype_file.qs')

Error in qread("gs://fc-secure-e2ecf24f-82c7-417f-a97a-356801da47e7/var_files/AJ_345/AJ_345_UDN_phenotype_file.qs") : 
  For file gs://fc-secure-e2ecf24f-82c7-417f-a97a-356801da47e7/var_files/AJ_345/AJ_345_UDN_phenotype_file.qs: Failed to open for reading. Does the file exist? Do you have file permissions? Is the file name long? (>255 chars)

Comments

0 comments

Please sign in to leave a comment.