Re: [R] From within R, what are "good" ways to run SQL code contained in a text file?

2022-05-18 Thread Jeff Newmiller
I do not agree with the idea that importing generic SQL files is an appropriate way to construct DML interactions between R and an SQL engine. Sort of like responding to "what is the most effective way to beat my dog" would have implications I would not want to be associated with. On May 18,

[R] From within R, what are "good" ways to run SQL code contained in a text file?

2022-05-18 Thread Kelly Thompson
I am interested in this topic and found this post on StackOverflow, https://stackoverflow.com/questions/44853322/how-to-read-the-contents-of-an-sql-file-into-an-r-script-to-run-a-query This response seems especially useful, https://stackoverflow.com/a/44886192/10816734 I'm curious about the