24 December 2019 3 5K Report

Hi, colleagues

I got this error message when I tried to export my data from Rstudio.

I have searched for solution but the problem remains. Could you help? Thanks

"type" is the data list, length 4

The codes:

  • outfile=list()
  • csvfile=paste(1:4, ".csv",sep="")
  • for(i in 1:4){
  • outfile[[i]]=paste("D:/writedata/",csvfile[i],sep="")
  • write.csv(type[[i]],outfile)
  • }

The error message:

  • Error in isOpen(file, "w") : invalid connection
More Yu Ning's questions See All
Similar questions and discussions