[R] write csv of a structure
Pedro páramo
percent||101 @end|ng |rom gm@||@com
Tue Aug 11 17:34:31 CEST 2020
Hi all,
I want to "save" export in a csv or plain text format the results of my
calculations
I use cbind and I obtain what I call "resultprob" if I put deput it shows
me this
dput(resultprob)
structure(c(88.6572680743221, 7250.7), .Dim = 1:2)
> str(resultprob)
num [1, 1:2] 88.7 7250.7
I use
write_csv(resultprob, file = "resultprob.csv", sep=",")
But this error appears:
Error in write_csv(resultprob, file = "resultprob.csv", sep = ",") :
unused arguments (file = "resultprob.csv", sep = ",")
What will be happening?
[[alternative HTML version deleted]]
More information about the R-help
mailing list