I\'m using RODBC package to access my sql database in R. I haven\'t been able to find any useful information on how to pass a vector from R to sql as a vector.
The new dbplyr package has the best answer for this. It allows any R object to be used, and automatically converts it to SQL
dbplyr
https://db.rstudio.com/dplyr/