Because of security, you cannot just call the install.packages()
R function from the sys.sp_exacute_external_script
system procedure on the server side. There are many other ways to do it. You can find the complete list of options for installing R packages in the article Install new R packages on SQL Server at https://docs.microsoft.com/en-us/sql/advanced-analytics/r/install-additional-r-packages-on-sql-server?view=sql-server-2017. I will just show one option here, the one I am using when writing this book. I have my SQL Server installed on a virtual machine, and I can enable a web connection for the machine. Then the process of installing an additional R package is simple. You just need to run the R console, R.exe
, from the ML Services (In-Database) installation, which is located in the C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\R_SERVICES\bin
folder for the default instance installation. You need to run R.exe
as an administrator...
Data Science with SQL Server Quick Start Guide
By :
Data Science with SQL Server Quick Start Guide
By:
Overview of this book
SQL Server only started to fully support data science with its two most recent editions. If you are a professional from both worlds, SQL Server and data science, and interested in using SQL Server and Machine Learning (ML) Services for your projects, then this is the ideal book for you.
This book is the ideal introduction to data science with Microsoft SQL Server and In-Database ML Services. It covers all stages of a data science project, from businessand data understanding,through data overview, data preparation, modeling and using algorithms, model evaluation, and deployment.
You will learn to use the engines and languages that come with SQL Server, including ML Services with R and Python languages and Transact-SQL. You will also learn how to choose which algorithm to use for which task, and learn the working of each algorithm.
Table of Contents (15 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Free Chapter
Writing Queries with T-SQL
Introducing R
Getting Familiar with Python
Data Overview
Data Preparation
Intermediate Statistics and Graphs
Unsupervised Machine Learning
Supervised Machine Learning
Other Books You May Enjoy
Index
Customer Reviews