Hi all,
I saw this pie chart (using proc sgpie) which I really like. But it seems not to work in sas base(32 bits). Is there any way do create similar charts in sas base (32bits)? using gcharts or alternatives
PROC SGPIE is preproduction, and available from 9.4M6 on. Make sure your SAS is current.
okay, thanks
Do you know what version of SAS you have?
While 9.4 is the current version of SAS, lots of additional features have been added with the Maintenance Levels.
Run
%put &sysvlong.;
and post the resulting log.
@Kurt_Bremser this was the results in SAS LOG on running the code above:
2 %put &sysvlong.;
9.04.01M7P080520
This means you are at the current maintenance level (7), so SGPIE should be available. Please post the log from your try of using the procedure.
proc sgpie data=sashelp.class; donut age / response=weight datalabeldisplay=(response); run;
I think it's because I installed the 32-bit windows version
ERROR: SGPIE is not available on this platform. 64-bit Windows or Linux is required.
NOTE: The SAS System stopped processing this step because of errors.
714 proc sgpie data=sashelp.class;
715 donut age / response=weight datalabeldisplay=(response);
716 run;
Then you should switch to 64 bit. But be aware this might cause issues when interacting with 32-bit MS Office installations.
Yes, you are right. Thank you.
I don't generally give it much thought (since I use 64-bit SAS), but Proc SGpie and Proc SGmap are both 'newer' procs, and use slightly newer/different technology than the other ODS Graphics procedures, and both of these procs are only available on 64-bit SAS. This is mentioned in the doc, but you probably have to be "looking for it" to really notice.
yes, I will have to install the 64-bit sas version to get it working
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.