Closed venkattoluchuri closed 4 years ago
I've never seen that error before. I do see that there is an error before it even gets to swat though when loading DBI. Can you try to install that manually first then install SWAT and see what happens?
install.packages("DBI")
Thank you this is resolved. Similar to SASPy can we connect to Grid 9.4 using R?
SWAT is only for connecting to CAS servers. SAS 9.4 is a very different architecture and we don't currently have an R interface for that.
We have SAS 9.4 Grid Architecture, if we want to enable running R on our SAS, what were the options and how to accomplish.
Regards, Venkat +91 9642454566
From: Kevin D Smith [mailto:notifications@github.com] Sent: Friday, April 17, 2020 9:36 AM To: sassoftware/R-swat Cc: Toluchuri, Venkateswarlu; State change Subject: Re: [sassoftware/R-swat] Not able to Install R-swat-1.4.1-win64.tar.gz on windows client machine. (#23)
SWAT is only for connecting to CAS servers. SAS 9.4 is a very different architecture and we don't currently have an R interface for that.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sassoftware/R-swat/issues/23#issuecomment-615279941, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AET4YOOISZU5BZP6MVX4ONLRNBSNTANCNFSM4MJ6XI4A.
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
We don't have an R interface to SAS, like we have a Python interface to SAS (saspy). saspy fully supports the SAS Grid Architecture, but I'm afraid there isn't an R equivalent to saspy.
Thank you Tom. Do we have any option to run R codes with in SAS then if we do not have R interface to run SAS ? if Yes, any steps please ?
Regards, Venkat +91 9642454566
From: Tom Weber [mailto:notifications@github.com] Sent: Friday, April 17, 2020 10:13 AM To: sassoftware/R-swat Cc: Toluchuri, Venkateswarlu; State change Subject: Re: [sassoftware/R-swat] Not able to Install R-swat-1.4.1-win64.tar.gz on windows client machine. (#23)
We don't have an R interface to SAS, like we have a Python interface to SAS (saspy). saspy fully supports the SAS Grid Architecture, but I'm afraid there isn't an R equivalent to saspy.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sassoftware/R-swat/issues/23#issuecomment-615300478, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AET4YOL3JFOIOQ53HZYU6NDRNBWXNANCNFSM4MJ6XI4A.
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
Well, I'm not personally familiar with it, but there is some kind of support for executing R code from w/in a SAS session. Here's a link to a post that has information about this. I can also see if someone else who has more experience with this can provide more direct input ... https://communities.sas.com/t5/General-SAS-Programming/Run-R-code-inside-SAS-easily/td-p/210116
See Rick Wicklin's post on this topic here: Twelve advantages to calling R from the SAS/IML language. You do need SAS/IML, a part of SAS that offers a matrix-style language that should feel familiar to R users.
Thank you Chris. Do we really need SAS/IML licensed for SAS 9.4 to run R on SAS ?
Regards, Venkat +91 9642454566
From: Chris Hemedinger [mailto:notifications@github.com] Sent: Friday, April 17, 2020 10:55 AM To: sassoftware/R-swat Cc: Toluchuri, Venkateswarlu; State change Subject: Re: [sassoftware/R-swat] Not able to Install R-swat-1.4.1-win64.tar.gz on windows client machine. (#23)
See Rick Wicklin's post on this topic here: Twelve advantages to calling R from the SAS/IML languagehttps://blogs.sas.com/content/iml/2013/11/25/twelve-advantages-to-calling-r-from-the-sasiml-language.html. You do need SAS/IML, a part of SAS that offers a matrix-style language that should feel familiar to R users.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sassoftware/R-swat/issues/23#issuecomment-615324181, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AET4YONJ5M4PWQYTRAWD2CTRNB3VXANCNFSM4MJ6XI4A.
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
Yes, for this submit R technique to work you do need IML. There are some other techniques that use system commands to run R from SAS. This GitHub project has code for that.
Hi,
I had able to setup Jupyter notebook can connect to CAS for Viya and we are good. Now I am trying to setup CAS to be run from R studio.
However, I have been following instructions from sassoftware github and stuck running below install package on my windows machine and given ERROR below.
install.packages('https://github.com/sassoftware/R-swat/releases/download/v1.4.1/R-swat-1.4.1-win64.tar.gz', repos=NULL, type='file')