Giter Site home page Giter Site logo

mlu-sfbayarea / rsqlserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agstudy/rsqlserver

0.0 1.0 0.0 3.64 MB

Sql Server driver database interface (DBI) driver for R. This is a DBI-compliant Sql Server driver based on the System.Data.SqlClient.

rsqlserver's Introduction

rsqlserver

==========

Sql Server driver database interface (DBI) driver for R. This is a DBI-compliant Sql Server driver based on the The .NET Framework Data Provider for SQL Server (SqlClient) System.Data.SqlClient.

Motivation

The .NET Framework Data Provider for SQL Server (SqlClient) uses its own protocol to communicate with SQL Server. It is lightweight and performs well because it is optimized to access a SQL Server directly without adding an OLE DB or Open Database Connectivity (ODBC) layer.

Prerequisites and package dependencies

The rsqlserver package uses the .NET framework SDK to build some a small C# project. Typically if you have on your machine the file "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe", you can skip this paragraph. Otherwise you need to install the Microsoft Windows SDK for Windows 7 and .NET Framework 4. An overview of list of Microsoft SDKs is available here

The interoperability of R and .NET code relies on the rClr R package. You can download an installable R package for windows (zip file). Make sure to at least skim through the installation instructions.

Installation

rsqlserver is currently available only on github. It is also only available for windows user. A linux version using mono is planned.

You can install it from github using the devtools package

require(devtools)
install_github("rClr", 'jmp75')
install_github('rsqlserver', 'agstudy',args='--no-multiarch')

Features

rsqlserver presentes many features:

  • fast and easy connection to Sql server.[see benchamrking]
  • dbSendQuery Querying the data base : low levels functions using sql statement.
  • Full DBI compliant: for example Support of Higher level convenient functions :dbReadTable,dbWriteTable,dbRemoveTable,..)
  • dbTransaction, dbCommit, dbRollback for Transaction management
  • dbCallProc (in development) for Stored procedure call.
  • dbBulkCopy using Bulk Copy for quickly bulk copying Big data.frame or large files into SQL server tables or views.
  • Many DBI extension like dbGetScalar , dbGetNoQuery , dbBulkCopy
  • dbParameter(coming soon) to handle Transact-SQL named parameters. This will provide better type checking and imporve performance.

Benchmarking

You can see rsqlserver benchmarking performance versus drivers :RODBC and RJDBC.

Acknowledgements

I want to thank Jean-Michel Perraud the author of rClr package.

githalytics.com alpha

rsqlserver's People

Contributors

agstudy avatar ggpmxdevelopment avatar nnajm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.