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

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
Obsidian | Level 7
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
Obsidian | Level 7
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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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