R is case sensitive, which, if your on a Windows machine, requires a bit of getting used to.
R
Try:
readLines()