<?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: Is it possible to directly import a RData file into SAS? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958500#M6453</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/107944"&gt;@Visiting&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I use SAS EG at a cloud server.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No idea what that means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you running a virtual PC in the cloud so you can run the Windows application that is Enterprise Guide?&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you mean that the SAS server your Enterprise Guide sessions are using to actually run SAS code is in the cloud?&lt;/P&gt;
&lt;P&gt;Perhaps both machines are in the cloud.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whose cloud.&amp;nbsp; Your companies cloud?&amp;nbsp; or are you paying SAS to host the your EG and SAS servers?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be able to execute R code from within PROC IML it has nothing to do with Enterprise Guide.&amp;nbsp; Only with the SAS sessions you are using Enterprise Guide to access.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to use Enterprise guide to run this code you need&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) R is installed on the machine where SAS (not Enterprise Guide) is running.&lt;/P&gt;
&lt;P&gt;2) PROC IML is licensed (and installed).&lt;/P&gt;
&lt;P&gt;3) The SAS session was started with the -RLANG option.&amp;nbsp; And the RHOME environment variable is set properly so that R runs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- For Enterprise Guide that means that the application server that you connect to from EG to be able to run SAS code has to have the first 3 things set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you cannot do that then you will probably need to just run an independent R session to read in the Rdata file and convert it to something that SAS can read directly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You could write a CSV file. Make sure you do not have any character variables with imbedded end-of-line characters since they will cause the CSV file to be hard or impossible to read for SAS.&amp;nbsp; Since you know what you are writing it should be easy to write the data step to read it into a dataset. (Don't use PROC IMPORT for anything important as it has to GUESS what you intended.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) There are available R packages that can create SAS transport files.&amp;nbsp; You can then use the SAS autocall macro %XPT2LOC to read the file.&amp;nbsp; &amp;nbsp;If you have trouble with the file you might try seeing if the&amp;nbsp;&lt;A href="https://github.com/sasutils/macros/blob/master/xport2sas.sas" target="_self"&gt;%XPORT2SAS macro&lt;/A&gt;&amp;nbsp;can read it instead as it has some enhancement to handle some of the mistakes that non-SAS programs for making transport files have made in the past.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) You could use some other format.&amp;nbsp; Perhaps an XLSX file.&amp;nbsp; That has fewer issues with PROC IMPORT since there is less guessing involved on the SAS side than for a CSV file. Especially if the XLSX file is made from a dataset (or what R likes to call dataframes) where the cells in a column are of a single type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 05:12:48 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2025-02-06T05:12:48Z</dc:date>
    <item>
      <title>Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958183#M6426</link>
      <description>&lt;P&gt;Recently working on a project requiring use RData dataset, which created by R, searched online, seems there is no good method to import RData into SAS, any suggestion? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a piece of code to output a RData format table using R:&lt;/P&gt;&lt;P&gt;setwd("C:\path...")&lt;/P&gt;&lt;P&gt;library(car)&lt;/P&gt;&lt;P&gt;test&amp;lt;- mtcars&lt;/P&gt;&lt;P&gt;write.RData(test, "mydata.RData)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to output sas7bdat format table from R, but it can't be opened by SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 12:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958183#M6426</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-04T12:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958184#M6427</link>
      <description>Either if you can output to a csv-file instead.&lt;BR /&gt;Or if you have an IML license, call R from there and output that to a SAS dataset:&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/29376903/is-there-a-way-to-load-rda-rdata-data-from-r-into-sas" target="_blank"&gt;https://stackoverflow.com/questions/29376903/is-there-a-way-to-load-rda-rdata-data-from-r-into-sas&lt;/A&gt;</description>
      <pubDate>Tue, 04 Feb 2025 12:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958184#M6427</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-02-04T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958185#M6428</link>
      <description>&lt;P&gt;I second the PROC IML solution if you have it available.&amp;nbsp; Everything between the SUBMIT / R; and the ENDSUBMIT; statements is R code.&amp;nbsp; You can then use this call routine to import the R dataframe to a SAS dataset:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/casimllang/casimllang_proc_sect041.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_059/casimllang/casimllang_proc_sect041.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The only thing you'll need to figure out is what R statement you need to read the .RDat file into a dataframe (after SUBMIT / R;)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958185#M6428</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-02-04T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958250#M6429</link>
      <description>&lt;P&gt;How to check if IML license available? CSV has limitation, worrying about losing records if the dataset is too big.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 18:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958250#M6429</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-04T18:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958252#M6430</link>
      <description>&lt;P&gt;The RData file is already saved by others, don't need to generate dataset in SAS, could you please paste a sample code for importing data only. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 18:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958252#M6430</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-04T18:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958261#M6431</link>
      <description>&lt;P&gt;Run PROC PRODUCT_STATUS to confirm IML is installed and PROC SETINIT to check if it is licensed:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;

proc setinit;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 19:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958261#M6431</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-02-04T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958263#M6432</link>
      <description>&lt;P&gt;The license is available until Dec2025.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 19:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958263#M6432</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-04T19:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958266#M6433</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/107944"&gt;@Visiting&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The RData file is already saved by others, don't need to generate dataset in SAS, could you please paste a sample code for importing data only. Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You have lost me here.&amp;nbsp; You started by saying you wanted to create SAS datasets, now you saying you don't?&amp;nbsp; What is it that you need to do?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 19:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958266#M6433</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-02-04T19:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958288#M6434</link>
      <description>&lt;P&gt;I want to import RData format data into SAS, which is generated by R.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 22:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958288#M6434</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-04T22:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958290#M6435</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/107944"&gt;@Visiting&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I want to import RData format data into SAS, which is generated by R.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To make the data available to SAS you need to convert your R data frame to a format SAS can read. The most obvious format is a SAS data set.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223320"&gt;@quickbluefish&lt;/a&gt;&amp;nbsp;already shared &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/casimllang/casimllang_proc_sect041.htm" target="_self"&gt;this link&lt;/A&gt; with a code template how to achieve this. &lt;BR /&gt;As documented under the link you need SAS/IML as well as:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1738712359251.png" style="width: 750px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104344iB1B0DD9A20E50267/image-dimensions/750x45?v=v2" width="750" height="45" role="button" title="Patrick_0-1738712359251.png" alt="Patrick_0-1738712359251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If above requirements are not met then convert your R data frame to a .csv on any environment where R is installed and then load this csv to a location that SAS can access. The read the csv into a SAS data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure what you mean by "&lt;EM&gt;CSV has limitation, worrying about losing records if the dataset is too big&lt;/EM&gt;". A csv is just a text file that can become very very big. Just don't open it with Excel as there you've got of course limitations - but that has nothing to do with the csv.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;And just thinking: If you're on SAS Viya 3.5 or newer then consider writing the R data frame to a parquet file and then use the SAS parquet libname engine to read it. Parquet has the advantage over csv that it maintains the variable names and types and it's also compressed meaning less data to push from your R environment to your SAS environment.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 00:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958290#M6435</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-02-05T00:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958302#M6436</link>
      <description>&lt;P&gt;As quickbluefish said , you get job done with SAS/IML .&lt;/P&gt;
&lt;P&gt;Firstly read in RData by R statement,&lt;/P&gt;
&lt;P&gt;Once read this Rdata as a DataFrame with R and&amp;nbsp; &amp;nbsp;using function&amp;nbsp;&amp;nbsp;call ImportDataSetFromR() to bring it in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;


proc iml;
submit / R;
setwd("C:\path...")
library(car)
read.RData(test, "mydata.RData)   /*&amp;lt;---Read in RData with R statement*/
endsubmit;

call ImportDataSetFromR("Work.MyData", "test");   /*&amp;lt;--- write DataFrame "test" into a sas dataset "MyData"*/
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 01:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958302#M6436</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-02-05T01:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958367#M6437</link>
      <description>&lt;P&gt;SAS supports importing dataframes. So instead of using write.RData(), just import the dataframe directly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;

submit / R;
library(datasets)
test&amp;lt;- mtcars
endsubmit;

call ImportDataSetFromR("MySASData", "test");
quit;

proc print data=MySASData; run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958367#M6437</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2025-02-05T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958377#M6438</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;SAS supports importing dataframes. So instead of using write.RData(), just import the dataframe directly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;

submit / R;
library(datasets)
test&amp;lt;- mtcars
endsubmit;

call ImportDataSetFromR("MySASData", "test");
quit;

proc print data=MySASData; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The requestor said they already have a disk file (Rdata file).&amp;nbsp; Is that the same thing as a data frame?&amp;nbsp; Or could it contain some other type of R object?&amp;nbsp; If what was saved in the Rdata file is not a data frame can you still use that same call routine? Or would they first need to run some R code to convert the object into a dataframe?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 14:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958377#M6438</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-02-05T14:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958383#M6439</link>
      <description>&lt;P&gt;It is close to get it work, thank you!&lt;/P&gt;&lt;P&gt;But I got an error: "The RLANG system option must be specified in the SAS configuration file or on the SAS invocation command line to enable the submission of R language statements".&lt;/P&gt;&lt;P&gt;How can I solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 15:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958383#M6439</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-05T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958396#M6440</link>
      <description>&lt;P&gt;That option needs to be set when you launch SAS.&amp;nbsp; How are you accessing SAS?&lt;/P&gt;
&lt;P&gt;Do you run SAS directly? On a personal computer? Or on&amp;nbsp;a shared multi-user server?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you using some front end to run SAS.&amp;nbsp; Like SAS/Studio or Enterprise Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 15:40:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958396#M6440</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-02-05T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958398#M6441</link>
      <description>&lt;P&gt;RData files can store multiple R objects. But SAS can import only data frames, which are rectangular and are analogous to SAS data sets. This is documented at&amp;nbsp;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/imlug/imlug_langref_sect198.htm" target="_blank"&gt;SAS Help Center: IMPORTDATASETFROMR Call&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/imlug/imlug_r_sect005.htm" target="_blank"&gt;SAS Help Center: Transferring Data between SAS and R Software&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 15:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958398#M6441</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2025-02-05T15:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958478#M6447</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/107944"&gt;@Visiting&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It is close to get it work, thank you!&lt;/P&gt;
&lt;P&gt;But I got an error: "The RLANG system option must be specified in the SAS configuration file or on the SAS invocation command line to enable the submission of R language statements".&lt;/P&gt;
&lt;P&gt;How can I solve this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Suggest you read the info under the links provided. For example under &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_059/casimllang/casimllang_proc_sect041.htm" target="_self"&gt;the one already shared earlier&lt;/A&gt; it clearly states:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1738799861915.png" style="width: 872px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104418i3BA4FBC523A01C83/image-dimensions/872x85?v=v2" width="872" height="85" role="button" title="Patrick_0-1738799861915.png" alt="Patrick_0-1738799861915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 23:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958478#M6447</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-02-05T23:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958485#M6449</link>
      <description>Check this to see how to build a connection between R and SAS:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/How-to-RUN-R-or-Python-in-SAS/m-p/330170" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/How-to-RUN-R-or-Python-in-SAS/m-p/330170&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/The-Open-Source-Integration-node-installation-cheat-sheet/ta-p/223470" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/The-Open-Source-Integration-node-installation-cheat-sheet/ta-p/223470&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-run-R-code-in-SAS-OnDemand-for-Academics/m-p/769766" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-run-R-code-in-SAS-OnDemand-for-Academics/m-p/769766&lt;/A&gt;</description>
      <pubDate>Thu, 06 Feb 2025 00:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958485#M6449</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-02-06T00:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958486#M6450</link>
      <description>&lt;P&gt;Thank you remind me! I noticed that, but I use SAS EG, it is in cloud server, R is not installed there, probably that is why sample code doesn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 01:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958486#M6450</guid>
      <dc:creator>Visiting</dc:creator>
      <dc:date>2025-02-06T01:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to directly import a RData file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958488#M6451</link>
      <description>&lt;P&gt;In that case the administrator of your SAS cloud platform needs to add the RLANG option. This is not something you can do.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 01:26:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Is-it-possible-to-directly-import-a-RData-file-into-SAS/m-p/958488#M6451</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-02-06T01:26:32Z</dc:date>
    </item>
  </channel>
</rss>

