Error in read.table(decoder.file, header = TRUE, stringsAsFactors = FALSE) :
no lines available in input
In addition: Warning message:
In file(file, "rt") :
file("") only supports open = "w+" and open = "w+b": using the former
I'm not sure why you are using system.file(). You just need to pass the file path as a string. Does it work if you modify your read.table() call as follows:
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: