Skip to content

Commit c947a62

Browse files
authored
Merge pull request #88331 from dagiro/cats81
cats81
2 parents b9efb24 + 7e9b3f7 commit c947a62

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

articles/hdinsight/r-server/r-server-submit-jobs-r-tools-vs.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ RTVS enhances your R workflow by offering tools such as the [R Interactive windo
5050
5. Open the `1-Getting Started with R.R` file in the `A first look at R` solution folder.
5151
6. Starting at the top of the file, press Ctrl+Enter to send each line, one at a time, to the R Interactive window. Some lines might take a while as they install packages.
5252
* Alternatively, you can select all lines in the R file (Ctrl+A), then either execute all (Ctrl+Enter), or select the Execute Interactive icon on the toolbar.
53-
![Execute interactive](./media/r-server-submit-jobs-r-tools-vs/execute-interactive.png)
53+
54+
![Execute interactive](./media/r-server-submit-jobs-r-tools-vs/execute-interactive1.png)
5455

5556
7. After running all the lines in the script, you should see an output similar to this:
5657

@@ -77,20 +78,20 @@ Using a Microsoft ML Server/Microsoft R Client from a Windows computer equipped
7778
# Create the Spark Cluster compute context
7879
mySparkCluster <- RxSpark(
7980
sshUsername = mySshUsername,
80-
sshHostname = mySshHostname,
81-
sshSwitches = mySshSwitches,
82-
sshProfileScript = mySshProfileScript,
83-
consoleOutput = TRUE,
84-
hdfsShareDir = myHdfsShareDir,
85-
shareDir = myShareDir,
86-
sshClientDir = mySshClientDir
81+
sshHostname = mySshHostname,
82+
sshSwitches = mySshSwitches,
83+
sshProfileScript = mySshProfileScript,
84+
consoleOutput = TRUE,
85+
hdfsShareDir = myHdfsShareDir,
86+
shareDir = myShareDir,
87+
sshClientDir = mySshClientDir
8788
)
88-
89+
8990
# Set the current compute context as the Spark compute context defined above
9091
rxSetComputeContext(mySparkCluster)
9192
```
92-
93-
![Setting the Spark context](./media/r-server-submit-jobs-r-tools-vs/spark-context.png)
93+
94+
![Setting the Spark context](./media/r-server-submit-jobs-r-tools-vs/apache-spark-context.png)
9495

9596
1. Execute the following commands in the R Interactive window:
9697

@@ -102,13 +103,13 @@ Using a Microsoft ML Server/Microsoft R Client from a Windows computer equipped
102103

103104
You should see an output similar to the following:
104105

105-
![Successful rx command execution](./media/r-server-submit-jobs-r-tools-vs/rx-commands.png)
106-
106+
![Successful rx command execution](./media/r-server-submit-jobs-r-tools-vs/successful-rx-commands.png)
107+
a
107108
1. Verify that the `rxHadoopCopy` successfully copied the `people.json` file from the example data folder to the newly created `/user/RevoShare/newUser` folder:
108109

109110
1. From your HDInsight ML Services cluster pane in Azure, select **Storage accounts** from the left-hand menu.
110111

111-
![Storage accounts](./media/r-server-submit-jobs-r-tools-vs/storage-accounts.png)
112+
![Storage accounts](./media/r-server-submit-jobs-r-tools-vs/hdinsight-storage-accounts.png)
112113

113114
2. Select the default storage account for your cluster, making note of the container/directory name.
114115

@@ -118,7 +119,7 @@ Using a Microsoft ML Server/Microsoft R Client from a Windows computer equipped
118119

119120
4. Select your cluster's container name, browse to the **user** folder (you might have to click *Load more* at the bottom of the list), then select *RevoShare*, then **newUser**. The `people.json` file should be displayed in the `newUser` folder.
120121
121-
![Copied file](./media/r-server-submit-jobs-r-tools-vs/copied-file.png)
122+
![Copied file](./media/r-server-submit-jobs-r-tools-vs/hdinsight-copied-file.png)
122123
123124
1. After you are finished using the current Apache Spark context, you must stop it. You cannot run multiple contexts at once.
124125

0 commit comments

Comments
 (0)