You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: What is standalone Machine Learning Server or R Server?
2
+
title: What Is Standalone Machine Learning Server or R Server?
3
3
description: Learn the differences between standalone R Server and Machine Learning Server in SQL Server Setup.
4
4
author: VanMSFT
5
5
ms.author: vanto
6
6
ms.date: 08/01/2023
7
7
ms.service: sql
8
8
ms.subservice: machine-learning-services
9
9
ms.topic: how-to
10
-
ms.custom: intro-overview
10
+
ms.custom:
11
+
- intro-overview
11
12
monikerRange: ">=sql-server-2016"
12
13
---
14
+
13
15
# What are standalone Machine Learning Server or R Server in SQL Server?
16
+
14
17
[!INCLUDE [SQL Server 2016 and later](../../includes/applies-to-version/sqlserver2016.md)]
15
18
16
19
[!INCLUDE [ML Server retirement banner](~/includes/machine-learning-server-retirement.md)]
17
20
18
-
SQL Server provides installation support for a standalone R Server or Machine Learning Server that runs independently of SQL Server. Depending on your SQL Server version, a standalone server has a foundation of open-source R and possibly Python, overlaid with high-performance libraries from Microsoft that add statistical and predictive analytics at scale. Libraries also enable machine learning tasks scripted in R or Python.
21
+
SQL Server provides installation support for a standalone R Server or Machine Learning Server that runs independently of SQL Server. Depending on your SQL Server version, a standalone server has a foundation of open-source R and possibly Python, overlaid with high-performance libraries from Microsoft that add statistical and predictive analytics at scale. Libraries also enable machine learning tasks scripted in R or Python.
19
22
20
-
In SQL Server 2016, this feature is called **R Server (Standalone)** and is R-only. In SQL Server 2017, it's called **Machine Learning Server (Standalone)** and includes both R and Python.
23
+
In SQL Server 2016, this feature is called **R Server (Standalone)** and is R-only. In SQL Server 2017, it's called **Machine Learning Server (Standalone)** and includes both R and Python.
21
24
22
-
> [!Note]
25
+
> [!NOTE]
23
26
> As installed by SQL Server Setup, a standalone server is functionally equivalent to the non-SQL-branded versions of [Microsoft Machine Learning Server](/machine-learning-server/what-is-machine-learning-server), supporting the same user scenarios, including remote execution, operationalization and web services, and the complete collection of R and Python libraries.
24
27
25
28
## Components
26
29
27
30
SQL Server 2016 is R only. SQL Server 2017 supports R and Python. The following table describes the features in each version.
28
31
29
32
| Component | Description |
30
-
|-----------|-------------|
31
-
| R packages |[**RevoScaleR**](ref-r-revoscaler.md) is the primary library for scalable R with functions for data manipulation, transformation, visualization, and analysis.<br/>[**MicrosoftML**](ref-r-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis.<br/>[**sqlRUtils**](ref-r-sqlrutils.md) provides helper functions for putting R scripts into a T-SQL stored procedure, registering a stored procedure with a database, and running the stored procedure from an R development environment.<br/>[**olapR**](ref-r-olapr.md) is for specifying MDX queries in R.|
33
+
|---|---|
34
+
| R packages |[**RevoScaleR**](ref-r-revoscaler.md) is the primary library for scalable R with functions for data manipulation, transformation, visualization, and analysis.<br/>[**MicrosoftML**](ref-r-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis.<br/>[**sqlRUtils**](ref-r-sqlrutils.md) provides helper functions for putting R scripts into a T-SQL stored procedure, registering a stored procedure with a database, and running the stored procedure from an R development environment.<br/>[**olapR**](ref-r-olapr.md) is for specifying MDX queries in R.|
32
35
| Microsoft R Open (MRO) | Microsoft R Open ([retired](https://techcommunity.microsoft.com/t5/azure-sql-blog/microsoft-r-application-network-retirement/ba-p/3707161)) was Microsoft's open-source distribution of R. |
33
36
| R tools | R console windows and command prompts are standard tools in an R distribution. Find them at \Program files\Microsoft SQL Server\140\R_SERVER\bin\x64. |
34
-
| R Samples and scripts |Open-source R and RevoScaleR packages include built-in data sets so that you can create and run script using pre-installed data. Look for them at \Program files\Microsoft SQL Server\140\R_SERVER\library\datasets and \library\RevoScaleR. |
35
-
| Python packages |[**revoscalepy**](../python/ref-py-revoscalepy.md) is the primary library for scalable Python with functions for data manipulation, transformation, visualization, and analysis.<br/>[**microsoftml**](../python/ref-py-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis.|
37
+
| R Samples and scripts | Open-source R and RevoScaleR packages include built-in data sets so that you can create and run script using pre-installed data. Look for them at \Program files\Microsoft SQL Server\140\R_SERVER\library\datasets and \library\RevoScaleR. |
38
+
| Python packages |[**revoscalepy**](../python/ref-py-revoscalepy.md) is the primary library for scalable Python with functions for data manipulation, transformation, visualization, and analysis.<br/>[**microsoftml**](../python/ref-py-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
36
39
| Python tools | The built-in Python command-line tool is useful for ad hoc testing and tasks. Find the tool at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\python.exe. |
37
40
| Anaconda | Anaconda is an open-source distribution of Python and essential packages. |
38
-
| Python samples and scripts | As with R, Python includes built-in data sets and scripts. Find the revoscalepy data at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\lib\site-packages\revoscalepy\data\sample-data. |
41
+
| Python samples and scripts | As with R, Python includes built-in data sets and scripts. Find the revoscalepy data at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\lib\site-packages\revoscalepy\data\sample-data. |
39
42
| Pre-trained models in R and Python | Pre-trained models are created for specific use cases and maintained by the data science engineering team at Microsoft. You can use the pre-trained models as-is to score positive-negative sentiment in text, or detect features in images, using new data inputs that you provide. Pre-trained models are supported and usable on a standalone server, but you cannot install them through SQL Server Setup. For more information, see [Install pretrained machine learning models on SQL Server](../install/sql-pretrained-models-install.md). |
40
43
41
44
## Using a standalone server
@@ -54,38 +57,38 @@ Start with setup, attach the binaries to your favorite development tool, and wri
54
57
55
58
Install either one of these versions:
56
59
57
-
+[SQL Server 2017 Machine Learning Server (standalone)](../install/sql-machine-learning-standalone-windows-install.md)
58
-
+[SQL Server 2016 R Server (Standalone) - R only](../install/sql-machine-learning-standalone-windows-install.md?view=sql-server-2016&preserve-view=true)
60
+
-[SQL Server 2017 Machine Learning Server (standalone)](../install/sql-machine-learning-standalone-windows-install.md)
61
+
-[SQL Server 2016 R Server (Standalone) - R only](../install/sql-machine-learning-standalone-windows-install.md?view=sql-server-2016&preserve-view=true)
59
62
60
63
### Step 2: Configure a development tool
61
64
62
65
On a standalone server, it's common to work locally using a development installed on the same computer.
63
66
64
-
+[Set up R tools](set-up-data-science-client.md)
65
-
+[Set up Python tools](../python/setup-python-client-tools-sql.md)
67
+
-[Set up R tools](set-up-data-science-client.md)
68
+
-[Set up Python tools](../python/setup-python-client-tools-sql.md)
66
69
67
70
### Step 3: Write your first script
68
71
69
72
Write R or Python script using functions from RevoScaleR, revoscalepy, and the machine learning algorithms.
70
-
71
-
+[Explore R and RevoScaleR in 25 Functions](/machine-learning-server/r/tutorial-r-to-revoscaler): Start with basic R commands and then progress to the RevoScaleR distributable analytical functions that provide high performance and scaling to R solutions. Includes parallelizable versions of many of the most popular R modeling packages, such as k-means clustering, decision trees, and decision forests, and tools for data manipulation.
72
73
73
-
+[Quickstart: An example of binary classification with the microsoftml Python package](/machine-learning-server/python/quickstart-binary-classification-with-microsoftml): Create a binary classification model using the functions from microsoftml and the well-known breast cancer dataset.
74
+
-[Explore R and RevoScaleR in 25 Functions](/machine-learning-server/r/tutorial-r-to-revoscaler): Start with basic R commands and then progress to the RevoScaleR distributable analytical functions that provide high performance and scaling to R solutions. Includes parallelizable versions of many of the most popular R modeling packages, such as k-means clustering, decision trees, and decision forests, and tools for data manipulation.
75
+
76
+
-[Quickstart: An example of binary classification with the microsoftml Python package](/machine-learning-server/python/quickstart-binary-classification-with-microsoftml): Create a binary classification model using the functions from microsoftml and the well-known breast cancer dataset.
74
77
75
-
Choose the best language for the task. R is best for statistical computations that are difficult to implement using SQL. For set-based operations over data, leverage the power of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to achieve maximum performance. Use the in-memory database engine for very fast computations over columns.
78
+
Choose the best language for the task. R is best for statistical computations that are difficult to implement using SQL. For set-based operations over data, use the power of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to achieve maximum performance. Use the in-memory database engine for very fast computations over columns.
76
79
77
80
### Step 4: Operationalize your solution
78
81
79
82
Standalone servers can use the [operationalization](/machine-learning-server/what-is-operationalization) functionality of the non-SQL-branded [Microsoft Machine Learning Server](/machine-learning-server/what-is-machine-learning-server). You can configure a standalone server for operationalization, which gives you these benefits: deploy and host your code as web services, run diagnostics, test web service capacity.
80
83
81
84
### Step 5: Maintain your server
82
85
83
-
SQL Server releases cumulative updates on a regular basis. Applying the cumulative updates adds security and functional enhancements to an existing installation.
86
+
SQL Server releases cumulative updates on a regular basis. Applying the cumulative updates adds security and functional enhancements to an existing installation.
84
87
85
-
Descriptions of new or changed functionality can be found in the [CAB Downloads](../install/sql-ml-cab-downloads.md) article and on the web pages for [SQL Server 2016 cumulative updates](https://support.microsoft.com/help/3177312/sql-server-2016-build-versions) and [SQL Server 2017 cumulative updates](https://support.microsoft.com/help/4047329).
88
+
Descriptions of new or changed functionality can be found in the [CAB Downloads](../install/sql-ml-cab-downloads.md) article and on the web pages for [SQL Server 2016 cumulative updates](https://support.microsoft.com/help/3177312/sql-server-2016-build-versions) and [SQL Server 2017 cumulative updates](/troubleshoot/sql/releases/sqlserver-2017/build-versions).
86
89
87
90
For more information on how to apply updates to an existing instance, see [Apply updates](../install/sql-machine-learning-standalone-windows-install.md#apply-cu) in the installation instructions.
88
91
89
-
## See also
92
+
## Related content
90
93
91
-
[Install R Server (Standalone) or Machine Learning Server (Standalone)](../install/sql-machine-learning-standalone-windows-install.md)
94
+
-[Install R Server (Standalone) or Machine Learning Server (Standalone)](../install/sql-machine-learning-standalone-windows-install.md)
0 commit comments