-
Hi, I have been using saspy for a few months within VSCode now and it has been a good experience. Recently, I am running some R scripts and wanted to run .py files in my project using the Posting here hoping to get insights from saspy perspective. Below is the python command I ran via
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Managed to find two ways for this. One is to include https://sassoftware.github.io/saspy/configuration.html#the-authinfo-file-authinfo-on-windows |
Beta Was this translation helpful? Give feedback.
-
So, when using vscode, you were typing in your credentials every time you connected? You hadn't put them in a authinfo file or in your config file? Sounds like something in your R setup doesn't support prompting in that environment; if you can't type in when prompted. So yes, using the authinfo file is the best way in both of these environments; rather than being prompted in the first place; where you actually can type in a response to the prompt, and certainly where it doesn't support prompting correctly! |
Beta Was this translation helpful? Give feedback.
Managed to find two ways for this. One is to include
omruser
andomrpw
inSASsession()
. This would mean exposing userid and password thus not recommended. The other, which is more more secured, is to use a _authinfo file (or .authinfo in linux). Reference to user guide below.https://sassoftware.github.io/saspy/configuration.html#the-authinfo-file-authinfo-on-windows
https://sassoftware.github.io/saspy/configuration.html#remote