diff --git a/content/applications/app_specific/running_sas.md b/content/applications/app_specific/running_sas.md index 2520b590b2494f18e2a04cb4a61a7440f728ed85..f8dbabd1e85a538720d8e96a3f2971d363f67a5a 100644 --- a/content/applications/app_specific/running_sas.md +++ b/content/applications/app_specific/running_sas.md @@ -4,9 +4,9 @@ description = "How to run SAS on HCC resources." +++ -- [Running SAS through the command line](#connecting-to-jupyterhub) -- [Running SAS on JupyterHub](#connecting-to-jupyterhub) -- [Running SAS on Anvil](#connecting-to-jupyterhub) +- [Running SAS through the command line](#sas-on-hcc-clusters) +- [Running SAS on JupyterHub](#sas-on-jupyterhub) +- [Running SAS on Anvil](#sas-on-anvil) This quick start demonstrates how to implement a SAS program on HCC supercomputers through the command line and JupyterHub, and on HCC's Anvil platform. The sample code and submit scripts can be @@ -95,51 +95,18 @@ Replace `<username>` with your HCC username. #### Sample Output -The results of the t-test are computed and printed to the `.lst` file (see -below). -{{%expand "t-test.lst" %}} -{{< highlight batchfile>}} -The SAS System +The results of the t-test are computed and printed to the `.lst` file - Obs pre post - - 1 62 61 - 2 63 62 - 3 58 59 - 4 64 61 - 5 64 63 - 6 61 58 - 7 68 61 - 8 66 64 - 9 65 62 - 10 67 68 - 11 69 65 - 12 61 67 - 13 64 65 - 14 61 63 - 15 63 62 - - The SAS System - - The TTEST Procedure - - Difference: pre - post - - N Mean Std Dev Std Err Minimum Maximum - - 15 1.0000 3.0237 0.7807 -6.0000 7.0000 - - Mean 95% CL Mean Std Dev 95% CL Std Dev - - 1.0000 -0.6745 2.6745 3.0237 2.2137 4.7687 - - DF t Value Pr > |t| +## SAS on JupyterHub - 14 1.28 0.2211 -{{< /highlight >}} -{{% /expand %}} -## SAS on JupyterHub +## SAS on Anvil +SAS can also be ran on a Windows 10 instance on anvil. This allows SAS scripts to be run with a full GUI environment. -## SAS on Anvil \ No newline at end of file +Start off creating a `Windows 10 SAS` instance from the [Anvil dashboard](https://anvil.unl.edu/). [Create an instance]({{< relref "../../anvil/creating_an_instance.md" >}}) and use the image labeled `Windows 10 SAS`. Once the instance is fully launched, [connect to the instance]({{< relref "../../anvil/connecting_to_windows_instances.md" >}}) using the retrieved password. After connecting to the instance and logging , SAS can be launched from the desktop shortcut. +{{< figure src="/images/sasAnvilDesktop.png" height="450" >}} +From here sas scripts can be ran from the editor at the bottom of the SAS window. Scripts can also be opened from a script file on the Anvil instance. +{{< figure src="/images/sasAnvil.png" height="450" >}} +Executing a script is done at the top of the SAS window `Run` and click `Submit`. When the script finishes executing, the results will be displayed. +{{< figure src="/images/sasAnvilResults.png" height="450" >}} \ No newline at end of file diff --git a/static/images/sasAnvil.png b/static/images/sasAnvil.png new file mode 100644 index 0000000000000000000000000000000000000000..38af8adba312ae40b73a0927e97b03e78c98e292 Binary files /dev/null and b/static/images/sasAnvil.png differ diff --git a/static/images/sasAnvilDesktop.png b/static/images/sasAnvilDesktop.png new file mode 100644 index 0000000000000000000000000000000000000000..a50272f295fabde9e51ff28bde9719a66049f949 Binary files /dev/null and b/static/images/sasAnvilDesktop.png differ diff --git a/static/images/sasAnvilResults.png b/static/images/sasAnvilResults.png new file mode 100644 index 0000000000000000000000000000000000000000..f999730819cd4ec00e7bbb4ecc22779f47d7db56 Binary files /dev/null and b/static/images/sasAnvilResults.png differ