Here is my code.
install.packages("rstan" , dependencies=TRUE)
install.packages("hBayesDM", dependencies=TRUE)
library(hBayesDM)
library(rstan)
dataPath = system.file("extdata/RPEdata.txt",package="hBayesDM")
data = read.table(dataPath, header=TRUE)
I can't import my data. The warning message is as follows:
Error in read.table(dataPath, header = TRUE) : There are no more rows in the input. In addition: warning message: in file (file, "RT"): file ("") only supports two modes: open = "w+" and open = "w+b": now use the former
Here is my code.
install.packages("rstan" , dependencies=TRUE)
install.packages("hBayesDM", dependencies=TRUE)
library(hBayesDM)
library(rstan)
dataPath =
system.file("extdata/RPEdata.txt",package="hBayesDM")data = read.table(dataPath, header=TRUE)
I can't import my data. The warning message is as follows:
Error in read.table(dataPath, header = TRUE) : There are no more rows in the input. In addition: warning message: in file (file, "RT"): file ("") only supports two modes: open = "w+" and open = "w+b": now use the former