[R] Regarding Issue Running Parallel Computing on Linux RHEL version 8

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Tue Jan 21 14:17:11 CET 2025


В Mon, 20 Jan 2025 13:45:25 +0000
"Huseni, Sadamhusen" <Sadamhusen.Huseni using genpact.com> пишет:

> Error in as.data.frame.default(x[[i]], optional = TRUE) :
>   cannot coerce class ‘"call"’ to a data.frame
> Calls: write.table ... data.frame -> as.data.frame ->
> as.data.frame.default

The underlying issue is that somehow the code gave a function call
instead of a data.frame or a matrix as an argument to write.table:

write.table(quote(any_function()))

It may help to run the script with options(error = recover) set or make
use of other debugging tips in the free book R Inferno
<https://www.burns-stat.com/documents/books/the-r-inferno/> to find out
how that happened.

-- 
Best regards,
Ivan



More information about the R-help mailing list