rt ) cannot open the connection stackoverflow code example Example: Error in file(file, "rt") : cannot open the connection directory <- ("./specdata")