Hello,
I would like to save the output of a result table in .png format so that I can then import it into a powerpoint. I searched, but couldn't find an answer. Can you help me ?
Sincerely yours,
Nathalie
Here, is an example :
data TP.freqs1;
set TP.freqs1;
label grp = 'Groupe' num1 = 'Numérateur' num2 = 'Dénominateur' rapport = 'Pourcentage';
run;
proc print data=TP.freqs1 noobs label;
where num1 ne .;
var grp num1 num2 rapport;
run;
Example:
ods printer printer=png file="test.png";
proc print data=sashelp.class;
run;
ods printer close;
Example:
ods printer printer=png file="test.png";
proc print data=sashelp.class;
run;
ods printer close;
Thank you very much.
There is a small point to improve, is it possible to remove "the SAS system" and the date?
Sincerely yours,
Nathalie
Thank you very much for your two responses, I obtain what I want.
SAS communities is wonderful.😊
Sincerely yours,
Nathalie
ODS printer printer=png file = "C:\Users\771\Pictures\test.png" ;
OPTIONS NODATE NONUMBER;
title;
proc print data=sashelp.class;
run;
ods printer close;
No, I don't know. I have to export my graphs and my tables in powerpoint, I am again a beginner (several years of illness) and I am alone to work in my team. In addition, I have to learn R for bioinformatics.🙄
https://documentation.sas.com/doc/en/pgmsascdc/v_040/odsgs/p0pt9frq9pagk3n1swh91pu3znzk.htm
Ideally, someday, HTML5 slides via HTML would be an ideal destination.
Thank you for your help and the links. Is it possible to make an output HTML with tabs ?
Nathalie
@Reeza wrote:
Also, you know that you can export straight to a PowerPoint file?
Yes you can output directly to PowerPoint, but you are limited in how much can appear on one slide in PowerPoint, you don't have complete control. There was a recent BASUG talk on this, and there are a lot of drawbacks to sending output directly to PowerPoint. I personally have decided to not even consider that as an option.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.
Find more tutorials on the SAS Users YouTube channel.