Alternatively, you can set stringsAsFactors to FALSE globally using options:
options(stringsAsFactors=FALSE)
Setting this at the top of the script will enforce this throughout the script. You could even add to .Rprofile to set this option for the all the R sessions you open.