Date: Wed, 12 Jan 2011 11:55:02 -0500
Reply-To: MASSET Jérôme
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: MASSET Jérôme
Subject: Re: SAS/IML : using R package
Thanks for this reply.
That's a part of the solution.
According a technical support statistician :
>The short answer is that IML 9.22 does not support R 2.12.0 or R 2.12.1.
>You need to use R 2.11.1.
>R has changed the directory structure it uses to install and we are
currently working on getting IML to recognize the new structure.
So, with the 2.11.1 release, proc IML can use R.
On Tue, 11 Jan 2011 09:57:57 -0500, Philip Rack <PhilRack@MINEQUEST.COM>
>Take a look at this thread. It might help you out.
>or tiny url:
>WPS Consulting and WPS Reseller
>Tel: (614) 457-3714
>From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jerome
>Sent: Tuesday, January 11, 2011 9:36 AM
>Subject: SAS/IML : using R package
>I'm trying to use R in SAS/IML, but my SAS session doesn't seem to find it.
>I want to test outliers detection with the Bacon-Eem algorithm, that's why
>want to use R and his RobustX package.
>- a SAS 9.2 (Product Status : Base 9.21_M3 / IML 9.22)
>- a R 2.12.1 (both 32bits and 64bits are installed)
>on a windows server 2003 R2 Enterprise x64 edition with service pack 2
>But when I try to use R in SAS/IML, SAS doesn't found R.
>Does someone know how to solve this problem?
>I just try this code for interaction with R:
>* ---- CODE;
>proc options option=RLANG;
> submit / R;
> rx <- matrix( 1:3, nrow=1)
>* ---- LOG;
>87 proc iml;
>NOTE: IML Ready
>88 submit / R;
>89 rx <- matrix( 1:3, nrow=1)
>ERROR: SAS could not initialize the R language interface.
> statement : SUBMIT at line 88 column 4
>NOTE: Module MAIN is undefined in IML; cannot be RUN.
>NOTE: Exiting IML.
>ERROR: An installed version of R could not be found.
>References on BACON-EEM :