Hi,
I am having trouble trying to figure out how i can make a macro that outputs data from sas into a table in latex.
thank you!
Hi:
There IS an ODS destination for LaTeX. Here's a sample invocation -- since I don't have a LaTeX viewer, I can create it, but I can't post a screen shot of what it looks like.
The code:
ods tagsets.latex file='c:\temp\test_latex.txt';
proc print data=sashelp.class;
run;
ods tagsets.latex close;
Hope this helps,
Cynthia
I stand corrected and will remove my reply to avoid confusion! 🙂
Note that a LaTex file is just a text file. So you can can use any text editor to look at the file to see if it contains valid Tex code that used the LaTex package.
But you will need something to render the file to see whether it really works, especially if you ability to interpret Tex (or LaTex) code is as bad as mine.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.