Skip to content

Commit 2ecc457

Browse files
authored
Merge pull request MicrosoftDocs#8279 from arunguru-msft/patch-11
Support for standalone RevoScale package scenario - Windows
2 parents 1798dae + 85eca63 commit 2ecc457

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

docs/machine-learning/install/sql-machine-learning-services-windows-install-sql-2022.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ If you encounter any installation errors during setup, check the summary log in
7676

7777
Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes for R, Python, and Java are no longer shipped or installed with SQL Server setup. Instead, use the following sections to install your custom runtimes and packages.
7878

79-
### Install R
79+
### Setup R support
80+
81+
#### Install R runtime
8082

8183
1. Download and install the most recent version of [R 4.2 for Windows](https://cran.r-project.org/bin/windows/base/).
8284

@@ -98,6 +100,8 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
98100
install.packages("https://aka.ms/sqlml/r4.2/windows/RevoScaleR_10.0.1.zip", repos=NULL)
99101
```
100102

103+
#### Configure R runtime with SQL Server
104+
101105
1. Configure the installed R runtime with SQL Server. You can change the default version by using the `RegisterRext.exe` command-line utility. The utility is in an R application folder that depends on the installation. Usually, it's in `%ProgramFiles%\R\R-4.2.0\library\RevoScaleR\rxLibs\x64`.
102106
103107
You can use the following script to configure the installed R runtime from the installation folder location of `RegisterRext.exe`. The instance name is `MSSQLSERVER` for a default instance of SQL Server, or the instance name for a named instance of SQL Server.
@@ -130,7 +134,9 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
130134
GO
131135
```
132136
133-
### Install Python
137+
### Setup Python support
138+
139+
#### Install Python runtime
134140
135141
1. Download the most recent version of [Python 3.10 for Windows](https://www.python.org/downloads/). Install it by using the following options:
136142
@@ -148,6 +154,8 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
148154
python -m pip install https://aka.ms/sqlml/python3.10/windows/revoscalepy-10.0.1-py3-none-any.whl
149155
```
150156
157+
#### Configure Python runtime with SQL Server
158+
151159
1. Configure the installed Python runtime with SQL Server. You can change the default version by using the `RegisterRext.exe` command-line utility. The utility is in the custom installation location (for example, `C:\Program Files\Python310\Lib\site-packages\revoscalepy\rxLibs`).
152160
153161
You can use the following script to configure the installed Python runtime from the installation folder location of `RegisterRext.exe`. The instance name is `MSSQLSERVER` for a default instance of SQL Server, or the instance name for a named instance of SQL Server.
@@ -238,6 +246,10 @@ Packages that you want to use from SQL Server must be installed in the default l
238246
239247
To install and manage additional packages, you can set up user groups to share packages on a per-database level. Or you can configure database roles to enable users to install their own packages. For more information, see [Install Python packages](../package-management/install-additional-python-packages-on-sql-server.md) and [Install new R packages](../package-management/install-additional-r-packages-on-sql-server.md).
240248
249+
### Standalone RevoScale packages for Python and R runtime
250+
251+
RevoScale packages are also supported as a standalone package with Python and R runtimes. In order to setup Python or R runtime for the standalone scenario, follow the instructions in the [Install Python runtime](#install-python-runtime) and [Install R runtime](#install-r-runtime) sections respectively.
252+
241253
## Next steps
242254
243255
Python developers can learn how to use Python with SQL Server by following these tutorials:

0 commit comments

Comments
 (0)