library(RODBC)
dbhandle <- odbcDriverConnect('driver={SQL Server};server=mysqlhost;database=mydbname;trusted_connection=true')
res <- sqlQuery(dbhandle, 'select * from information_schema.tables')
More Related Contents:
- Installation of RODBC/ROracle packages on OS X Mavericks
- How to connect R with Access database in 64-bit Window?
- Failure to connect to odbc database in R
- How to make plots from distributed data from R
- Nested facets in ggplot2 spanning groups
- ggplot2: histogram with normal curve
- How to run R on a server without X11, and avoid broken dependencies
- Remove quotes from a character vector in R
- Collapse rows with overlapping ranges
- Joining aggregated values back to the original data frame [duplicate]
- geom_boxplot with precomputed values
- How to avoid: read.table truncates numeric values beginning with 0
- R – converting date and time fields to POSIXct with HHMMSS format
- How to select last N observation from each group in dplyr dataframe?
- Recommendations for Windows text editor for R [closed]
- Seeking workaround for gtable_add_grob code broken by ggplot 2.2.0
- Control the height in fluidRow in R shiny
- Multiple time series in one plot
- Perform multiple paired t-tests based on groups/categories
- What is about the first column in R’s dataset mtcars?
- R – ggplot2 issues with date as character for x-axis
- ggplot2: Setting geom_bar baseline to 1 instead of zero
- Plot background colour in gradient
- Stop lapply from printing to console
- R how can I calculate difference between rows in a data frame
- Preserve proportion of graphs using grid.arrange
- Remove unused factor levels from a ggplot bar plot
- Knit one markdown file to two output files
- given value of matrix, getting it’s coordinate
- Display HTML file in Shiny App