Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SASweave? #354

Closed
yihui opened this issue Jul 25, 2012 · 1 comment
Closed

SASweave? #354

yihui opened this issue Jul 25, 2012 · 1 comment
Labels
feature Feature requests

Comments

@yihui
Copy link
Owner

yihui commented Jul 25, 2012

http://stackoverflow.com/questions/11609131/r-markdown-equivalent-in-sas

I do not use SAS but whoever do are welcome to contribute to https://github.com/yihui/knitr/blob/master/R/engine.R

Again, it is nothing a call system('sas code.sas -print label.log'), but it might be slightly more complicated than other languages because of the old-fashioned "log-and-output-everything" nature of SAS. Even you just say hello world, you may get 30 lines of output in which only 1 line is useful. There might be options to suppress the proud logs, though.

The design of knitr has taken care of some gory details in SASweave (http://homepage.cs.uiowa.edu/~rlenth/SASweave/), and two challenges remain:

  • clean up the text output
  • how to deal with graphics output (well, who cares...)

In the end we can write code chunks like this

<<engine='sas'>>=
data _null_;
put 'Hello, world!';
run;
@
@yihui yihui closed this as completed in 4fef720 Nov 10, 2012
yihui added a commit that referenced this issue Nov 10, 2012
@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature requests
Projects
None yet
Development

No branches or pull requests

1 participant