Error in write.csv

Hi - receiving this error in write.csv:
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection

Code below:

write.csv (df_hospfu %>% filter(`form.case.@case_id` %in% c(
  "db23ebb8-5daf-4fe9-8345-e790726139bf", 
  "4d62926b-2910-434e-a2af-3f5c3cb7c084",
  "a2306025-8a60-4e0e-b21c-82b42f96b1b3",
  "d3e528cc-3e31-49eb-824b-cc7cfe88c42b",
  "7232ccd0-c767-4326-a2c3-7757e899eb3a",
  "09a664e1-7a57-4c3b-9c74-9bac945ea23a",
  "c45667d8-42d6-460b-9b14-e56ab217508b",
  "2e5da9cc-697d-44b2-a7e7-174575cb702a",
  "887358df-249e-4d14-97db-0311193ea034",
  "50c52fbf-2ba7-417e-bde2-ba5bdfc2229f",
  "ed6cfb05-c1be-498f-823d-08944c3aef1f",
  "05f81395-8810-4a4f-b397-1f737bf8b945")), "duplicatesinpatientoutpatient.csv")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.