BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
klroesner
Quartz | Level 8

Hi Folks,

we've installed the R-core.x86_64 RPM from the EPEL Repository on Red Hat 7. The Version of R is 3.6.0 (2019-04-26). If we run a test program now then we get some warning:

 

52         proc iml;
NOTE: IML Ready
53             submit /R;
54                print("Hello World!")
55            endsubmit;
WARNING: R: 1: package ‘methods’ was built under R version 3.6.1 
WARNING: R: 2: package ‘datasets’ was built under R version 3.6.1 
WARNING: R: 3: package ‘utils’ was built under R version 3.6.1 
WARNING: R: 4: package ‘grDevices’ was built under R version 3.6.1 
WARNING: R: 5: package ‘graphics’ was built under R version 3.6.1 
WARNING: R: 6: package ‘stats’ was built under R version 3.6.1 
56         quit;
NOTE: Exiting IML.
NOTE: PROCEDURE IML used (Total process time):
      real time           0.28 seconds
      cpu time            0.01 seconds
      

What can we do to avoid this warning (except installing R version 3.6.1 😉 )? We use the SAS Version 9.4M6.

Cheers,

Klaus

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I don't know. The usual way these warnings occur is when you install a version of R and then later install packages from a more recent version. But I think the packages in his message are all “core packages” that are auto-created and auto-loaded by R. When you compiled the R source, did you also compile the packages, or did you download them later?

 

Here is a link to the installation instructions for installing R on Linux: https://support.sas.com/documentation/installcenter/en/iktkintrii/64028/PDF/default/install.pdf

Make sure that the R_HOME variable in SAS and RGui are the same. You can check the value with the R function

Sys.getenv("R_HOME")

 

View solution in original post

4 REPLIES 4
Rick_SAS
SAS Super FREQ

What do you get if you run the program in RGui?

klroesner
Quartz | Level 8
We do not get a warning:

> print("Hello World!")
[1] "Hello World!"
>
Rick_SAS
SAS Super FREQ

I don't know. The usual way these warnings occur is when you install a version of R and then later install packages from a more recent version. But I think the packages in his message are all “core packages” that are auto-created and auto-loaded by R. When you compiled the R source, did you also compile the packages, or did you download them later?

 

Here is a link to the installation instructions for installing R on Linux: https://support.sas.com/documentation/installcenter/en/iktkintrii/64028/PDF/default/install.pdf

Make sure that the R_HOME variable in SAS and RGui are the same. You can check the value with the R function

Sys.getenv("R_HOME")

 

klroesner
Quartz | Level 8
Hi Rick,
That was the perfect hint! R_HOME was different in Rgui and SAS.... A relict from an old Anaconda installation.

Thanks!

Cheers, Klaus

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 4 replies
  • 6500 views
  • 0 likes
  • 2 in conversation