Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 31d2654

Browse files
Merge branch 'patch-9' of https://github.com/arunguru-msft/sql-docs into 20220926-ml-setup-linux
2 parents 199985e + c670351 commit 31d2654

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

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

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,26 +93,21 @@ If you encounter any installation errors during setup, check the summary log in
9393
install.packages("jsonlite")
9494
```
9595

96-
7. Install the latest version of RevoScaleR package and its dependencies. Download links available here:
96+
7. Download and Install the latest version of RevoScaleR package and its dependencies.
9797

98-
- [CompatibilityAPI Windows](https://go.microsoft.com/fwlink/?LinkID=2193827)
99-
- [RevoScaleR package for Windows](https://go.microsoft.com/fwlink/?LinkID=2193828)
100-
101-
Assuming you have installed version 4.2.0 of R in its default location, for example `C:\Program Files\R\R-4.2.0`, and downloaded the required packages in `C:\temp` directory, the following sample scripts can be adapted for the installation:
98+
```r
99+
install.packages("https://aka.ms/sqlml/r4.2/windows/CompatibilityAPI_1.1.0.zip", repos=NULL)
102100

103-
```cmd
104-
cd C:\Program Files\R\R-4.2.0\bin
105-
R.exe CMD INSTALL -l "C:\Program Files\R\R-4.2.0\library" "C:\temp\CompatibilityAPI.zip"
106-
R.exe CMD INSTALL -l "C:\Program Files\R\R-4.2.0\library" "C:\temp\RevoScaleR.zip"
101+
install.packages("https://aka.ms/sqlml/r4.2/windows/RevoScaleR_10.0.1.zip", repos=NULL)
107102
```
108103

109104
8. 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 depending on the installation, usually in `%ProgramFiles%\R\R-4.2.0\library\RevoScaleR\rxLibs\x64`.
110105

111106
The following script can be used 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.
112107

113-
```cmd
114-
.\RegisterRext.exe /configure /rhome:"%ProgramFiles%\R\R-4.2.0" /instance:"MSSQLSERVER"
115-
```
108+
```cmd
109+
.\RegisterRext.exe /configure /rhome:"%ProgramFiles%\R\R-4.2.0" /instance:"MSSQLSERVER"
110+
```
116111

117112
9. Using [SQL Server Management Studio (SSMS)](../../ssms/download-sql-server-management-studio-ssms.md) or [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md), connect to the instance where you installed SQL Server Machine Learning Services. Select **New Query** to open a query window, and **Execute*** the following command to enable the external scripting feature:
118113

@@ -145,11 +140,11 @@ If you encounter any installation errors during setup, check the summary log in
145140
1. Select all **Optional Features** options, or as desired.
146141
1. On the **Advanced Options** page, check **Install for all users**, accept other default options, and select **Install**. It is recommended that the Python installation path is accessible by all users such as `C:\Program Files\Python310 `and it is not specific to a single user.
147142
148-
6. Download the latest version of RevoScalePY package and its dependencies: [revoscalepy Python Windows](https://go.microsoft.com/fwlink/?LinkID=2193924) and install revoscalepy from the Python custom install location. For example:
143+
6. Download and install the latest version of RevoScalePY package and its dependencies.
149144
150145
```cmd
151146
cd C:\Program Files\Python310\
152-
python -m pip install C:\Users\%username%\Downloads\revoscalepy-10.0.0-py3-none-any.whl
147+
python -m pip install https://aka.ms/sqlml/python3.10/windows/revoscalepy-10.0.1-py3-none-any.whl
153148
```
154149
155150
7. 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 install location, for example: `C:\Program Files\Python310\Lib\site-packages\revoscalepy\rxLibs`.

0 commit comments

Comments
 (0)