[R] write csv of a structure

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Aug 12 09:58:45 CEST 2020


On Tue, 11 Aug 2020 17:34:31 +0200
Pedro páramo <percentil101 using gmail.com> wrote:

> Error in write_csv(resultprob, file = "resultprob.csv", sep = ",") :
>   unused arguments (file = "resultprob.csv", sep = ",")

There is utils::write.csv and there is readr::write_csv. Judging by the
parameters you pass, you seem to want to call the former, not the
latter.

Hint: use help() to find out the correct arguments of a function if R
tells you that there was a mistake.

-- 
Best regards,
Ivan



More information about the R-help mailing list