<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shiny app in sas studio in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665831#M22944</link>
    <description>Shiny apps require a running R server to host them, which is usually the R Installation or they're hosted elsewhere. They do not generate a self hosting HTML page so I'm not sure that this approach would work at all. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://shiny.rstudio.com/tutorial/written-tutorial/lesson7/" target="_blank"&gt;https://shiny.rstudio.com/tutorial/written-tutorial/lesson7/&lt;/A&gt;</description>
    <pubDate>Mon, 29 Jun 2020 16:07:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-06-29T16:07:30Z</dc:date>
    <item>
      <title>Shiny app in sas studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665801#M22939</link>
      <description>&lt;P&gt;Hi im transferring an R code to sas using the "submit / R;" of IML. My code has a shiny app and when i try to run it, it doesnt give me an error but it never stops running:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Anotación 2020-06-29 112231.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46766i1A9C87FB17FC7DD4/image-size/small?v=v2&amp;amp;px=200" role="button" title="Anotación 2020-06-29 112231.png" alt="Anotación 2020-06-29 112231.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Heres a simple example of what im trying to do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
print "-------------  R Results  --------------------";
submit / R;




  library(dplyr)
  library(lubridate)
  library(shiny)
  ui &amp;lt;- fluidPage(
    "The population of France in 1972 was",
    textOutput("answer")
)

# Define the server function
server &amp;lt;- function(input, output) {
    output$answer &amp;lt;- renderText({
        
        "&lt;SPAN&gt;50,763,920&lt;/SPAN&gt;"  })
}&lt;BR /&gt;endsubmit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 14:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665801#M22939</guid>
      <dc:creator>ManuelaVila</dc:creator>
      <dc:date>2020-06-29T14:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Shiny app in sas studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665823#M22941</link>
      <description>&lt;P&gt;It doesn't make much sense to try to call Shiny from SAS.&amp;nbsp; Shiny is a tool for making a WEBPAGE.&amp;nbsp; Did you want SAS to open a URL in a browser to look at the webpage that Shiny is building?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead look at the actual R functions that your Shiny app is calling and just call those in the R code you submit via PROC IML.&lt;/P&gt;
&lt;P&gt;What types of output does your R function generate? How do you want to return that to SAS?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665823#M22941</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-06-29T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Shiny app in sas studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665826#M22943</link>
      <description>&lt;P&gt;i need the shiny app because in there i select the variables i need based on a reactive graph that changes depending of what i choose.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 16:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665826#M22943</guid>
      <dc:creator>ManuelaVila</dc:creator>
      <dc:date>2020-06-29T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Shiny app in sas studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665831#M22944</link>
      <description>Shiny apps require a running R server to host them, which is usually the R Installation or they're hosted elsewhere. They do not generate a self hosting HTML page so I'm not sure that this approach would work at all. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://shiny.rstudio.com/tutorial/written-tutorial/lesson7/" target="_blank"&gt;https://shiny.rstudio.com/tutorial/written-tutorial/lesson7/&lt;/A&gt;</description>
      <pubDate>Mon, 29 Jun 2020 16:07:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Shiny-app-in-sas-studio/m-p/665831#M22944</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-06-29T16:07:30Z</dc:date>
    </item>
  </channel>
</rss>

