I have a sql query in a txt file and I want to read it into a variable so I do:
q<- readLines("sql.txt")
but that does not work. It just returns "yp" and then blanks when the actual .txt file contains
"select * from myTable" etc...
how can I use readLines to read the lines of the txt file?