R: Painfully slow read performance using RODBC & SQL Server
问题 I am new to R but am interested in using Shiny to create dynamic charts using data stored in a SQL Server database. To enable interactivity, I want to bring in the raw data from the database and perform calculations within R rather than have the database summarize the data. I am able to connect to the database using RODBC , execute a query, and receive results in a data.frame . However, the read time in R is about 12x longer than than the same query executed in SQL Server Management Studio