I want to have NULL values in my data.frame (not NA). And the following doesn't seem to work.
> data.frame(x = c(1, 2, 3), y = c(NULL, NULL, NULL))
Error in data.frame(x = c(1, 2, 3), y = c(NULL, NULL, NULL)) :
arguments imply differing number of rows: 3, 0
My goal is to output my data.frame into a .csv file, and the cells with the NULL values should be blank.