Skip to content

Commit 2aa500b

Browse files
committed
Acrolinx fixes
1 parent 152fc3d commit 2aa500b

6 files changed

Lines changed: 16 additions & 16 deletions

docs/advanced-analytics/r/determine-which-packages-are-installed-on-sql-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.workload: "Inactive"
2121
# Viewing installed R or Python packages
2222
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
2323

24-
If you have installed multiple Python environments, or use multiple R tools, it is easy to install a package to the wrong library and then not be able to find it later, or get confused as to which environment you are using..
24+
If you have installed multiple Python environments, or use multiple R tools, it is easy to install a package to the wrong library or environment and then not be able to find it later.
2525

2626
This article provides some queries you can use to determine your current version, and to list the packages that are installed in the current SQL Server environment.
2727

@@ -238,5 +238,5 @@ C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\PYTHON_SERVICES\lib\si
238238
C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\PYTHON_SERVICES\lib\site-packages\setuptools-27.2.0-py3.5.egg
239239
```
240240

241-
For more information about the variable `sys.path` and how it is used to set the interpreter’s search path for modules, see the Python documenttion](https://docs.python.org/2/tutorial/modules.html#the-module-search-path)
241+
For more information about the variable `sys.path` and how it is used to set the interpreter’s search path for modules, see the [Python documentation](https://docs.python.org/2/tutorial/modules.html#the-module-search-path)
242242

docs/advanced-analytics/r/install-additional-r-packages-on-sql-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ There are multiple methods for installing new R packages, depending on which ver
3232

3333
+ [Install new R packages on a server with **no** internet access](#bkmk_offlineInstall)
3434

35-
If the server does not have internet access, some additional steps are required to prepare the packages. This topic describes how to prepare files required for installation of the package and its dependencies.
35+
If the server does not have internet access, some additional steps are required to prepare the packages. This section describes how to prepare files required for installation of the package and its dependencies.
3636

3737
+ [Install packages using the CREATE EXTERNAL LIBRARY statement](#bkmk_createlibrary)
3838

@@ -122,7 +122,7 @@ This procedure assumes that you have prepared all the packages that you need, in
122122
install.packages("C:\\Temp\\Downloaded packages\\mynewpackage.zip", repos=NULL)
123123
```
124124

125-
This command extracts the R package `mynewpackage` from its local zipped file, assuming you saved the copy in the directory `C:\Temp\Downloaded packages`, and installs the package on the local computer. If the package has any dependencies, the installer checks for existing packages in the library. If you have created a repository that includes the dependencies, the installer installs the requireed packages as well.
125+
This command extracts the R package `mynewpackage` from its local zipped file, assuming you saved the copy in the directory `C:\Temp\Downloaded packages`, and installs the package on the local computer. If the package has any dependencies, the installer checks for existing packages in the library. If you have created a repository that includes the dependencies, the installer installs the required packages as well.
126126

127127
If any required packages are not present in the instance library, and cannot be found in the zipped files, installation of the target package fails.
128128

@@ -189,7 +189,7 @@ This section provides assorted tips and common questions related to R package in
189189

190190
There are multiple sources for R packages, such as CRAN and Bioconductor. The official site for the R language (<https://www.r-project.org/>) lists many of these resources. Many packages are published to GitHub, where you can obtain the source code. Finally, you might have been given R packages that were developed by someone in your company, or you have a custom package you have written.
191191

192-
Regardless of the source, before trying to install the package, ensure that you hae obtained the binary format for the Windows platform.
192+
Regardless of the source, before trying to install the package, ensure that you have obtained the binary format for the Windows platform.
193193

194194
### <a name="bkmk_zipPreparation"></a> Download the package as a zipped file
195195

docs/advanced-analytics/r/installing-and-managing-r-packages.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ms.workload: "On Demand"
2222
# Default package libraries for machine learning on SQL Server
2323
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
2424

25-
This article describes the default libraries for R and Python that are installed with SQL Server.
25+
This article describes the default libraries for R and Python that are installed with SQL Server.
2626

2727
## What is the default instance library
2828

@@ -68,7 +68,7 @@ This section provides a summary of the R or Python features that are installed b
6868

6969
By default the R **base** packages are installed. Base packages include core functionality provided by packages such as `stats` and `utils`.
7070

71-
A base installation of R also includes numerous sample datasets, and standard R tools such as RGui (a lightweight interactive editor) and RTerm (a command line tool).
71+
A base installation of R also includes numerous sample datasets, and standard R tools such as RGui (a lightweight interactive editor) and RTerm (an R command prompt).
7272

7373
Installation of R in SQL Server 2016 or SQL Server 2017 also includes the **RevoScaleR** package, and related enhanced packages and providers, which supports remote compute contexts, streaming, parallel execution of rx function, and many other features.
7474

@@ -106,14 +106,14 @@ The permissions required for package installation have changed between SQL Serve
106106

107107
+ In SQL Server 2017, you can continue to install packages as an administrator for both R and Python, and this is probably the easiest method.
108108

109-
However, if you enable package management on the instance, you can also use database roles and DDL statements to install R packages at the database level. This feature will be extended to support Python in later releases.
109+
The DDL statement, CREATE EXTERNAL LIBRARY, allows the database administrator to install packages without using R tools.
110110

111-
After this feature has been enabled, a database administrator can grant users the ability to install their own packages on a per database basis. You can also use R commands from a remote client to install packages into the instance library. This feature requires some additional configuration on the instance. for more information, see [Enable package management using DDLs](r-package-how-to-enable-or-disable.md).
111+
If you use the package management feature for Machine Learning Server, you can use RevoScaleR to install R packages at the database level. The database administrator must enable the feature and then grant users the ability to install their own packages on a per database basis. For more information, see [Enable package management using DDLs](r-package-how-to-enable-or-disable.md).
112112

113113
### User libraries are not supported
114114

115-
Often users who cannot install a package to a secured location will install a package to a user library. However, this is not possible in the SQL Server environment.
115+
Users who cannot install a package to a secured location often resort to installing a package to a user library. However, this is not possible in the SQL Server environment.Even file system access is often restricted on the server.
116116

117-
Often file system access is restricted on the server, but even if you have admin rights and access to a user document folder on the server, the external script runtime that executes in SQL Server cannot access any packages installed outside the default instance library.
117+
Even if you have admin rights and access to a user document folder on the server, the external script runtime that executes in SQL Server cannot access any packages installed outside the default instance library.
118118

119119
For tips on how to resolve problems related to user libraries, see [Package installed in user libraries](packages-installed-in-user-libraries.md).

docs/advanced-analytics/r/packages-installed-in-user-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ms.workload: "Inactive"
2323

2424
Experienced R users are accustomed to installing R packages in a user library, whenever the default library is blocked or not available. However, this approach is not supported in SQL Server, and installation to a user library usually ends in a “package not found” error.
2525

26-
This topic provides workarounds to help you avoid this error. It explains how you can modify your R code, and suggests the correct R package installation process for using R packages from a SQL Server instance.
26+
This article describes workarounds to help you avoid this error. It explains how you can modify your R code, and suggests the correct R package installation process for using R packages from a SQL Server instance.
2727

2828
## Why R user libraries cannot be accessed from SQL Server
2929

docs/advanced-analytics/r/r-package-management-for-sql-server-r-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ In general, servers that host production databases do not allow connection to th
9090

9191
Identifying all dependencies can be complicated. For R, we recommend that you use [miniCRAN](create-a-local-package-repository-using-minicran.md) to prepare an offline package repository.
9292

93-
For Python, you must similarly prepare all dependencies and save them locally. Be sure to use a Windows-compatible binaries and use the .WHL format.
93+
For Python, you must similarly prepare all dependencies and save them locally. Be sure to use a Windows-compatible binaries and use the WHL format.

docs/advanced-analytics/r/use-revoscaler-to-manage-r-packages.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you have R Server 9.0.1 or later, you can use the [rxInstallPackages](https:/
2929

3030
The new version of RevoScaleR also includes these functions:
3131

32-
+ The [rxFindPackage](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/rxfindpackage) functions gets the path for one or more packages in the specified compute context.
32+
+ The [rxFindPackage](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/rxfindpackage) function gets the path for one or more packages in the specified compute context.
3333

3434
You can use a combination of users and scope to find packages or add packages to a particular database:
3535

@@ -39,7 +39,7 @@ The new version of RevoScaleR also includes these functions:
3939

4040
This function checks for dependencies and ensures that any related packages can be installed to SQL Server, just like R package installation in the local compute context.
4141

42-
+ The [rxRemovePackages](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/rxremovepackages) functions removes packages from a specified compute context.
42+
+ The [rxRemovePackages](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/rxremovepackages) function removes packages from a specified compute context.
4343

4444
It also computes dependencies and ensures that packages that are no longer used by other packages on SQL Server are removed, to free up resources.
4545

@@ -131,7 +131,7 @@ print(sqlPackagePaths)
131131
"C:/Program Files/Microsoft SQL Server/MSSQL14.MSSQLSERVER/R_SERVICES/library/RevoScaleR"
132132

133133
> [!TIP]
134-
> If you have enabled the option to see SQL console output, you might also get a lot of status messages from the function that precedes the `print` statement. After you have finished testing your code, set `consoleOutput` to FALSE in the compute context constructor to eliminate messages.
134+
> If you have enabled the option to see SQL console output, you might get status messages from the function that precedes the `print` statement. After you have finished testing your code, set `consoleOutput` to FALSE in the compute context constructor to eliminate messages.
135135
136136
### Get locations for multiple packages
137137

0 commit comments

Comments
 (0)