<?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: Access to the data on a SAS server (Enterprise Guide) with R. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/911461#M44169</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;If it is your intention to read SAS datasets (sas7bdat files) then you can read them directly without connecting to a SAS server.&lt;BR /&gt;The following link has the details with examples.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://haven.tidyverse.org/reference/read_sas.html" target="_blank"&gt;https://haven.tidyverse.org/reference/read_sas.html&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2024 04:09:18 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2024-01-13T04:09:18Z</dc:date>
    <item>
      <title>Access to the data on a SAS server (Enterprise Guide) with R.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/910403#M44148</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I am brand new and would like to access the data on my SAS server with the R program.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Is it possible to create such a connection with ODBC? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;R Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;library&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;odbc&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;connection_string &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;"DRIVER={SAS IOM Data Server};SERVER="...";PORT="...";TRUSTED_CONNECTION=YES;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;con &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;-&lt;/SPAN&gt;&lt;SPAN&gt; dbConnect&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;odbc&lt;/SPAN&gt;&lt;SPAN class=""&gt;::&lt;/SPAN&gt;&lt;SPAN&gt;odbc&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; .connection_string &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; connection_string&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data_sources &lt;SPAN class=""&gt;&amp;lt;-&lt;/SPAN&gt; odbcListDataSources&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dbDisconnect&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;con&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If yes, how can i setup ODBC on my server, otherwise are there other options here?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 09:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/910403#M44148</guid>
      <dc:creator>pipposz</dc:creator>
      <dc:date>2024-01-04T09:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the data on a SAS server (Enterprise Guide) with R.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/911461#M44169</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;If it is your intention to read SAS datasets (sas7bdat files) then you can read them directly without connecting to a SAS server.&lt;BR /&gt;The following link has the details with examples.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://haven.tidyverse.org/reference/read_sas.html" target="_blank"&gt;https://haven.tidyverse.org/reference/read_sas.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 04:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/911461#M44169</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-01-13T04:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the data on a SAS server (Enterprise Guide) with R.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/911465#M44170</link>
      <description>&lt;P&gt;You would need the SAS ODBC driver on the computer where you run R, and SAS/SHARE licensed and set up on the SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS/IML licensed, you can use R from within SAS.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 08:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Access-to-the-data-on-a-SAS-server-Enterprise-Guide-with-R/m-p/911465#M44170</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-01-13T08:14:36Z</dc:date>
    </item>
  </channel>
</rss>

