R Markdown equivalent in SAS
i wonder if there is a equivalent of R Markdown in SAS? Or how to do so in SAS? I want to have colored SAS code and its result below.
link to R Markdown: http://rstudio.org/docs/authoring/using_markdown
r sas knitr
|
show 3 more comments
i wonder if there is a equivalent of R Markdown in SAS? Or how to do so in SAS? I want to have colored SAS code and its result below.
link to R Markdown: http://rstudio.org/docs/authoring/using_markdown
r sas knitr
9
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
I think it is entirely possible to run SAS withknitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just noteknitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.
– Yihui Xie
Jul 23 '12 at 15:11
3
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56
|
show 3 more comments
i wonder if there is a equivalent of R Markdown in SAS? Or how to do so in SAS? I want to have colored SAS code and its result below.
link to R Markdown: http://rstudio.org/docs/authoring/using_markdown
r sas knitr
i wonder if there is a equivalent of R Markdown in SAS? Or how to do so in SAS? I want to have colored SAS code and its result below.
link to R Markdown: http://rstudio.org/docs/authoring/using_markdown
r sas knitr
r sas knitr
edited Jul 23 '12 at 15:13
Yihui Xie
20.6k11108290
20.6k11108290
asked Jul 23 '12 at 8:45
MaciejMaciej
2,2352241
2,2352241
9
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
I think it is entirely possible to run SAS withknitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just noteknitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.
– Yihui Xie
Jul 23 '12 at 15:11
3
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56
|
show 3 more comments
9
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
I think it is entirely possible to run SAS withknitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just noteknitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.
– Yihui Xie
Jul 23 '12 at 15:11
3
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56
9
9
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
I think it is entirely possible to run SAS with
knitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just note knitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.– Yihui Xie
Jul 23 '12 at 15:11
I think it is entirely possible to run SAS with
knitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just note knitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.– Yihui Xie
Jul 23 '12 at 15:11
3
3
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56
|
show 3 more comments
2 Answers
2
active
oldest
votes
Geshi supports SAS. I think it does a pretty nice job. It is the highlighter in Wikimedia and is also available as a Perl module.
It shouldn't be too hard (famous last words :)) to connect Geshi to Markdown. You could obtain the plots by running a console SAS job. However, I think that as of 2012 (SAS 9.3), you would have to automate the workflow yourself. When one of the markup languages becomes dominant you will probably see more formal support.
add a comment |
This link describes how to generate reports using SAS. From skimming the pdf it seems that you can integrate SAS analyses and text:
With SAS procedures, SAS DATA steps, and SAS features such as the
Output Delivery System (ODS) and the macro facility, you have the
tools to succeed at writing programs that analyze your data and
create reports
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
add a comment |
protected by Community♦ Nov 16 '18 at 8:43
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Geshi supports SAS. I think it does a pretty nice job. It is the highlighter in Wikimedia and is also available as a Perl module.
It shouldn't be too hard (famous last words :)) to connect Geshi to Markdown. You could obtain the plots by running a console SAS job. However, I think that as of 2012 (SAS 9.3), you would have to automate the workflow yourself. When one of the markup languages becomes dominant you will probably see more formal support.
add a comment |
Geshi supports SAS. I think it does a pretty nice job. It is the highlighter in Wikimedia and is also available as a Perl module.
It shouldn't be too hard (famous last words :)) to connect Geshi to Markdown. You could obtain the plots by running a console SAS job. However, I think that as of 2012 (SAS 9.3), you would have to automate the workflow yourself. When one of the markup languages becomes dominant you will probably see more formal support.
add a comment |
Geshi supports SAS. I think it does a pretty nice job. It is the highlighter in Wikimedia and is also available as a Perl module.
It shouldn't be too hard (famous last words :)) to connect Geshi to Markdown. You could obtain the plots by running a console SAS job. However, I think that as of 2012 (SAS 9.3), you would have to automate the workflow yourself. When one of the markup languages becomes dominant you will probably see more formal support.
Geshi supports SAS. I think it does a pretty nice job. It is the highlighter in Wikimedia and is also available as a Perl module.
It shouldn't be too hard (famous last words :)) to connect Geshi to Markdown. You could obtain the plots by running a console SAS job. However, I think that as of 2012 (SAS 9.3), you would have to automate the workflow yourself. When one of the markup languages becomes dominant you will probably see more formal support.
answered Nov 12 '12 at 20:18
LeoLeo
1,5481119
1,5481119
add a comment |
add a comment |
This link describes how to generate reports using SAS. From skimming the pdf it seems that you can integrate SAS analyses and text:
With SAS procedures, SAS DATA steps, and SAS features such as the
Output Delivery System (ODS) and the macro facility, you have the
tools to succeed at writing programs that analyze your data and
create reports
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
add a comment |
This link describes how to generate reports using SAS. From skimming the pdf it seems that you can integrate SAS analyses and text:
With SAS procedures, SAS DATA steps, and SAS features such as the
Output Delivery System (ODS) and the macro facility, you have the
tools to succeed at writing programs that analyze your data and
create reports
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
add a comment |
This link describes how to generate reports using SAS. From skimming the pdf it seems that you can integrate SAS analyses and text:
With SAS procedures, SAS DATA steps, and SAS features such as the
Output Delivery System (ODS) and the macro facility, you have the
tools to succeed at writing programs that analyze your data and
create reports
This link describes how to generate reports using SAS. From skimming the pdf it seems that you can integrate SAS analyses and text:
With SAS procedures, SAS DATA steps, and SAS features such as the
Output Delivery System (ODS) and the macro facility, you have the
tools to succeed at writing programs that analyze your data and
create reports
answered Jul 23 '12 at 8:50
Paul HiemstraPaul Hiemstra
48.5k9105133
48.5k9105133
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
add a comment |
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
As I know in SAS ODS i can only report results of my analysis...
– Maciej
Jul 23 '12 at 9:03
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
There is an option ods text but it don't do what i want which is colored syntax.
– Maciej
Jul 23 '12 at 13:45
add a comment |
protected by Community♦ Nov 16 '18 at 8:43
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
9
Just do it in R. You know you want to ;-)
– Andrie
Jul 23 '12 at 8:46
+1 on using R. But I can understand that there might be circumstances where SAS is required, e.g. by the customer.
– Paul Hiemstra
Jul 23 '12 at 8:51
But if i want to do training materials for SAS i need to use SAS :) it would be better to have something similar for SAS.
– Maciej
Jul 23 '12 at 9:01
I think it is entirely possible to run SAS with
knitr
+ markdown if you can define a proper language engine: yihui.name/knitr/demo/engines although it sounds ironic... Just noteknitr
is not restricted to R only; in theory you can use any languages as long as you know how to call them through R.– Yihui Xie
Jul 23 '12 at 15:11
3
Though it is not what you asked for, there is something akin for LaTeX and SAS: SASweave. homepage.cs.uiowa.edu/~rlenth/SASweave Perhaps the infrastructure could be adapted to output Markdown instead of LaTeX.
– Brian Diggs
Jul 23 '12 at 15:56