I\'d like to pass argument (stringsAsFactors=FALSE
) to rbind
in do.call
. But the following doesn\'t work:
data <- do.ca
I'm not sure if your function call is valid, but try this:
data <- do.call(rbind,
c(strsplit(readLines("/home/jianfezhang/adoption.txt"),split="\t#\t"),
list(stringsAsFactors=FALSE))
You need pass all arguments to do.call
via one list.
You can concat two list by c
> c(list(1, 2), list(3, 4))
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
[[4]]
[1] 4