<?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: Calling R from IML on Linux - error while loading shared libraries in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259322#M2646</link>
    <description>&lt;P&gt;Any problems wiht your It-department?&lt;BR /&gt;&lt;FONT face="Calibri"&gt;"If this is e.g. an issue with how R is installed and I need to go through our IT department, then I likely need to start looking for other solutions"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Calibri"&gt;It is the way how data-governance should be done, That is supported by&amp;nbsp; en involved with&amp;nbsp;your It-department.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2016 10:07:59 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2016-03-28T10:07:59Z</dc:date>
    <item>
      <title>Calling R from IML on Linux - error while loading shared libraries</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259309#M2645</link>
      <description>&lt;P&gt;I am trying to use R from within SAS on my company's Linux (Linux LIN X64)&amp;nbsp;system. I had heard about the IML to R interface&amp;nbsp;and I thought I would try that one and tried the following with&amp;nbsp;SAS 9.4 M2 with SAS/IML 13.2:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#ff0000"&gt;&lt;CODE class=" language-sas"&gt;PROC OPTIONS OPTION=RLANG; 
RUN;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;SAS (r) Proprietary Software Release 9.4 TS1M2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;RLANG Enables SAS to execute R language statements.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;real time 0.00 seconds&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;cpu time 0.00 seconds&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;That looks good, right?&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#993366"&gt;&lt;CODE class=" language-sas"&gt;%put %sysget(R_HOME);&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;/CHBS/apps/R/3.0.2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Also good.&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#993366"&gt;&lt;CODE class=" language-sas"&gt;PROC IML; 
SUBMIT / R; 
 a &amp;lt;- 2 
 b &amp;lt;- 3 
 c &amp;lt;- a * b 
 paste("c:",c) 
ENDSUBMIT; 
QUIT;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this point SAS hangs itself up (i.e. neither proceeds to do anything nor terminates) and on the Linux command prompt I get:&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT color="#ff0000" face="Calibri" size="3"&gt;/CHBS/apps/dev_apps/SAS/9.4M2/SASFoundation/9.4/utilities/bin/tkrproxy: error while loading shared libraries: libRblas.so: cannot open shared object file: No such file or directory&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT color="#ff0000" face="Calibri" size="3"&gt;&lt;FONT color="#000000"&gt;Any idea what the problem is and whether I can solve it without having admin rights? &lt;FONT face="Calibri"&gt;If this is e.g. an issue with how R is installed and I need to go through our IT department, then I likely need to start looking for other solutions. If that's the case, are there any other suggestions for how to call R within SAS that are reasonably stable and allow me to hand over datasets in either direction (the main think I would be doing)? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 06:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259309#M2645</guid>
      <dc:creator>BjoernHolzhauer</dc:creator>
      <dc:date>2016-03-28T06:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calling R from IML on Linux - error while loading shared libraries</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259322#M2646</link>
      <description>&lt;P&gt;Any problems wiht your It-department?&lt;BR /&gt;&lt;FONT face="Calibri"&gt;"If this is e.g. an issue with how R is installed and I need to go through our IT department, then I likely need to start looking for other solutions"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Calibri"&gt;It is the way how data-governance should be done, That is supported by&amp;nbsp; en involved with&amp;nbsp;your It-department.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 10:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259322#M2646</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2016-03-28T10:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calling R from IML on Linux - error while loading shared libraries</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259330#M2647</link>
      <description>&lt;P&gt;I think you or your IT dept needs to contact SAS Technical Support. It might be that the issue is how the R executable was built from source code. There are known issues about optimization&amp;nbsp;flags that the compiler should/shouldn't use. Many of the compiler issues were resolved in SAS 9.4m3, but I'm sure Tech Support can give helpful advice for your versions of SAS and R.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 11:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Calling-R-from-IML-on-Linux-error-while-loading-shared-libraries/m-p/259330#M2647</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-03-28T11:57:50Z</dc:date>
    </item>
  </channel>
</rss>

