Closed tisseuil closed 2 years ago
To my knowledge, SAS Enterprise Guide does not run in batch mode, you need the classic SAS executable instead.
Doug Hemken
Statistical consultant Social Science Computing Cooperative Univ. of Wisc. – Madison
dehemken@wisc.edumailto:dehemken@wisc.edu 608-262-4327
From: tisseuil notifications@github.com Sent: Thursday, March 4, 2021 10:13 AM To: Hemken/SASmarkdown SASmarkdown@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Hemken/SASmarkdown] Provide server credentials to SAS engine (#15)
Hi,
When trying run sas chunck code, I need to provide my SASapp server credentials.
I have tried to pass different options to the sasopts argument without success.
Anu sggestions ?
library(SASmarkdown)
saspath <- "C:/Program Files (x86)/SASHome/x86/SASEnterpriseGuide/7.1/SEGuide.exe"
sasopts <- "-nosplash -linesize 75 -password_on_stdin true -metauser xxxx-metapass xxxx -user_ID xxxx-password xxxx-serverusername xxxx-serverpassword xxxx"
knitr::opts_chunk$set(engine="sas", engine.path=saspath,engine.opts=sasopts, comment=NA)
knitr::opts_chunk$get()$engine
knitr::opts_chunk$get()$engine.path
knitr::opts_chunk$get()$engine.opts
proc means data=sashelp.class;
run;
data null;
put 'Hello, world!';
run;
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Hemken/SASmarkdown/issues/15, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYBMEZKUUER26L3D7KXXYTTB6WRXANCNFSM4YTRDBJQ.
Hi,
When trying run sas chunck code, I need to provide my SASapp server credentials.
I have tried to pass different options to the
sasopts
argument without success.Anu sggestions ?