首页 > 解决方案 > SAS 中任何图形输出的问题

问题描述

无论我使用什么函数在 SAS 中生成图形,即使是简单的

proc gchart data=data;
vbar hello / type=percent;
run;

我收到这个错误

ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: The PNG driver can not find any fonts.  No output will be created.
ERROR: Physical file does not exist, C:\Windows\Fonts\sasmono.ttf..
WARNING: No output destinations active.

您对错误有任何想法吗?谢谢

标签: graphfontssas

解决方案


如果您在没有其他设置的全新会话中运行以下命令会发生什么:

proc sgplot data=sashelp.class;
vbar sex / stat=freq;
run; 

推荐阅读