R: using scripts for sql.conf