<?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 Can I import a large file from R (currently saved in *.RData format type) and convert it to a SAS file withOUT the IML license? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Can-I-import-a-large-file-from-R-currently-saved-in-RData-format/m-p/141506#M1168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large file that does not fit into an excel workbook sheet - so I hope to continue processing my STAT analysis with SAS .&amp;nbsp;&amp;nbsp; My problem is how to convert the *.Rdata file to a *.sas7bdat file .&amp;nbsp;&amp;nbsp;&amp;nbsp; I suppose I could first save the file from R as a plain text file (*.CSV) , but I'd like to know if there is something else I can try first to export the file from R into SAS.&amp;nbsp;&amp;nbsp; I have a SAS 9.4 license and am working on windows 64 bit machine. Unfortunately (at this time)&amp;nbsp;&amp;nbsp; I do not have the IML product licensed.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RIck did post something related in his his post from 2.5 years ago "&lt;STRONG&gt; Re: Appending data from R to SAS Apr 9, 2012 8:49 PM" ,&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;but surely other options are available with the latest releases?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I also want to shout out a THANK YOU to&amp;nbsp; Matthew Cohen &lt;/STRONG&gt;NESUG 2012 paper &lt;STRONG&gt;"SAS® and R Working Together".&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;EM&gt;Surely the new FREE enticement SAS granted to University students last spring will inspire more R users to give SAS a try.&amp;nbsp; I thought I would find more questions out there .&amp;nbsp; Actually - its not ?s&amp;nbsp; that I am searching for.... just answers! &lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I do have SAS/STAT -- so maybe STAT studio can help out?&amp;nbsp; Again,&amp;nbsp; I am aware that both SAS Enterprise Miner and SAS/IML handle R formatted data, but I do not have those packages (yet).&amp;nbsp; &lt;/P&gt;&lt;P&gt;We did recently buy The PC ACCESS Utility - and it is helpful with the many *.xlsx&amp;nbsp; conversions I do -- but I don't find any mention of R type of PC files specified in the ACCESS documentation. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;thanks!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 17:49:23 GMT</pubDate>
    <dc:creator>marygc</dc:creator>
    <dc:date>2014-12-08T17:49:23Z</dc:date>
    <item>
      <title>Can I import a large file from R (currently saved in *.RData format type) and convert it to a SAS file withOUT the IML license?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Can-I-import-a-large-file-from-R-currently-saved-in-RData-format/m-p/141506#M1168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large file that does not fit into an excel workbook sheet - so I hope to continue processing my STAT analysis with SAS .&amp;nbsp;&amp;nbsp; My problem is how to convert the *.Rdata file to a *.sas7bdat file .&amp;nbsp;&amp;nbsp;&amp;nbsp; I suppose I could first save the file from R as a plain text file (*.CSV) , but I'd like to know if there is something else I can try first to export the file from R into SAS.&amp;nbsp;&amp;nbsp; I have a SAS 9.4 license and am working on windows 64 bit machine. Unfortunately (at this time)&amp;nbsp;&amp;nbsp; I do not have the IML product licensed.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RIck did post something related in his his post from 2.5 years ago "&lt;STRONG&gt; Re: Appending data from R to SAS Apr 9, 2012 8:49 PM" ,&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;but surely other options are available with the latest releases?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I also want to shout out a THANK YOU to&amp;nbsp; Matthew Cohen &lt;/STRONG&gt;NESUG 2012 paper &lt;STRONG&gt;"SAS® and R Working Together".&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;EM&gt;Surely the new FREE enticement SAS granted to University students last spring will inspire more R users to give SAS a try.&amp;nbsp; I thought I would find more questions out there .&amp;nbsp; Actually - its not ?s&amp;nbsp; that I am searching for.... just answers! &lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I do have SAS/STAT -- so maybe STAT studio can help out?&amp;nbsp; Again,&amp;nbsp; I am aware that both SAS Enterprise Miner and SAS/IML handle R formatted data, but I do not have those packages (yet).&amp;nbsp; &lt;/P&gt;&lt;P&gt;We did recently buy The PC ACCESS Utility - and it is helpful with the many *.xlsx&amp;nbsp; conversions I do -- but I don't find any mention of R type of PC files specified in the ACCESS documentation. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;thanks!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 17:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Can-I-import-a-large-file-from-R-currently-saved-in-RData-format/m-p/141506#M1168</guid>
      <dc:creator>marygc</dc:creator>
      <dc:date>2014-12-08T17:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can I import a large file from R (currently saved in *.RData format type) and convert it to a SAS file withOUT the IML license?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Can-I-import-a-large-file-from-R-currently-saved-in-RData-format/m-p/141507#M1169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like your questions is really "Does SAS provide a utility in Sase SAS for converting a RDATA file to a SAS data set."&amp;nbsp; I assume you are looking for something like PROC IMPORT.&amp;nbsp;&amp;nbsp; As far as I know, the answer is "No, Base SAS doesn't provide a utility like that."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some third-party macros that convert data to/from SAS and R.&amp;nbsp; As far as I know, they all use R's write.csv function to write a CSV file and then read that into SAS by using PROC IMPORT or something equivalent. You can read about the various macros in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2013/11/25/twelve-advantages-to-calling-r-from-the-sasiml-language/" title="http://blogs.sas.com/content/iml/2013/11/25/twelve-advantages-to-calling-r-from-the-sasiml-language/"&gt; Twelve advantages to calling R from the SAS/IML language - The DO Loop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can try Xin Wei's %PROC_R macro if you don't want to run the conversion yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally, you mention SAS Stat Studio.&amp;nbsp; That is the old name of SAS/IML Studio. Since you do not have an IML license, that option won't help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 18:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Can-I-import-a-large-file-from-R-currently-saved-in-RData-format/m-p/141507#M1169</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-12-08T18:21:32Z</dc:date>
    </item>
  </channel>
</rss>

