0

I have a data frame which I am trying to write to csv file as this:

write.csv(data_df, file = "dev.csv", quote = FALSE, row.names=FALSE)

I get this error:

Error in if (inherits(X[[j]], "data.frame") && ncol(xj) > 1L) X[[j]] <- as.matrix(X[[j]]) : 
  missing value where TRUE/FALSE needed
user1471980
  • 10,383
  • 47
  • 132
  • 225

0 Answers0