14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

486 Extending JMP Chapter 14<br />

Working with R<br />

2. Connect to your <strong>SAS</strong> Metadata Server using an account with administrative privileges.<br />

3. Expand the BI Manager node in the left pane of the <strong>SAS</strong> Management Console.<br />

4. Navigate to the folder in the tree under which you would like to create the imported sample stored<br />

processes.<br />

5. Right-click on that folder in either the left pane or the right pane of the <strong>SAS</strong> Management Console and<br />

select Import.<br />

The Import Wizard appears.<br />

6. Enter the full path to sampleStoredProcesses.spk or use the Browse button to navigate to it.<br />

7. Select All Objects in the Import Options section of the wizard.<br />

8. Click Next.<br />

The next panel reports that during the import process, you must specify values for Application servers<br />

and Source code repositories.<br />

9. Click Next.<br />

Select which of the application servers defined in your <strong>SAS</strong> Metadata Server that you would like to use<br />

to execute the imported stored processes.<br />

10. Select an application server from the drop-down list under Target.<br />

11. Click Next.<br />

Select the source code repository (directory) defined on your <strong>SAS</strong> Metadata Server where you would like<br />

the <strong>SAS</strong> code for the imported stored processes to be placed.<br />

12. Select a source code repository from the drop-down list under Target Path.<br />

13. Click Next.<br />

The next panel gives a summary of what occurs if you click Import.<br />

14. Review the information about the panel, and if it looks correct, click Import.<br />

15. During the Import process, you might be asked to provide login credentials for connecting to the<br />

metadata server to perform the import. Provide credentials with administrative privileges and click OK.<br />

After the import completes, you will find a folder named BIP Tree under the folder that you imported the<br />

stored processes into. Under BIP Tree is a folder named JMP Samples, and in the JMP Samples folder are<br />

two sample stored processes: Shoe Chart and Diameter.<br />

Please note that the paths to the sample stored processes needs to be adjusted in the sample scripts<br />

storedProcessHTML.jsl and storedProcessJSL.jsl to match the folder into which you imported the<br />

sample stored processes. Otherwise, these scripts will not work correctly.<br />

Working with R<br />

You can interact with R using JSL:<br />

• Submit statements to R from within a JSL script.<br />

• Exchange data between JMP and R.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!