LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 11 Jan 2011 09:57:57 -0500
Reply-To:   Philip Rack <PhilRack@MINEQUEST.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Philip Rack <PhilRack@MINEQUEST.COM>
Subject:   Re: SAS/IML : using R package
Comments:   To: Jerome <jerome.masset@CEGEDIM.FR>
In-Reply-To:   <201101111435.p0BBnTfL030086@wasabi.cc.uga.edu>
Content-Type:   text/plain; charset="us-ascii"

Take a look at this thread. It might help you out.

http://support.sas.com/forums/thread.jspa?threadID=8847&tstart=0

or tiny url: http://tinyurl.com/45v3sn2

Philip Rack MineQuest, LLC WPS Consulting and WPS Reseller Tel: (614) 457-3714 Web: www.MineQuest.com Blog: www.MineQuest.com/WordPress

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jerome Sent: Tuesday, January 11, 2011 9:36 AM To: SAS-L@LISTSERV.UGA.EDU Subject: SAS/IML : using R package

Hi,

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 I want to use R and his RobustX package.

I'm running - 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 installed.

But when I try to use R in SAS/IML, SAS doesn't found R.

Does someone know how to solve this problem?

Thanks. Jerome.

I just try this code for interaction with R:

* ---- CODE; proc options option=RLANG; run; proc iml; submit / R; rx <- matrix( 1:3, nrow=1) endsubmit; run; quit; * ---- LOG; 87 proc iml; NOTE: IML Ready 88 submit / R; 89 rx <- matrix( 1:3, nrow=1) 90 endsubmit; ERROR: SAS could not initialize the R language interface.

statement : SUBMIT at line 88 column 4 91 run; NOTE: Module MAIN is undefined in IML; cannot be RUN. 92 quit; NOTE: Exiting IML. ERROR: An installed version of R could not be found. * ----------;

References on BACON-EEM : - http://www.statcan.gc.ca/bsolc/olc-cel/olc-cel?lang=eng&catno=12-001- X200800110616 - http://cran.r-project.org/web/packages/robustX/index.html


Back to: Top of message | Previous page | Main SAS-L page