Learning SAS? Welcome to the exclusive online community for all SAS learners.

Is there a way to change font for proc reg when using SAS UE?

Accepted Solution Solved
Reply
Super User
Posts: 8,213
Accepted Solution

Is there a way to change font for proc reg when using SAS UE?

When I run proc reg using SAS UE I always get the following warning in my log:

WARNING: The font <sans-serif> is not available. Albany AMT will be used.

 

Is there a way to get around that?

 

Art, CEO, AnalystFinder.com

 


Accepted Solutions
Solution
‎03-30-2018 02:33 PM
SAS Employee
Posts: 167

Re: Is there a way to change font for proc reg when using SAS UE?

We're working on it.  I wasn't expecting to have another release of University Edition this spring but the issues with the new version of Virtual Box (they changed the way they handle shared folders & broke us) are driving us to get something out quickly.  We can get the fix in for these annoying font warnings as well.  Hope to have this out in a few weeks. 

View solution in original post


All Replies
Community Manager
Posts: 3,449

Re: Is there a way to change font for proc reg when using SAS UE?

Hey @art297 - this might be related to this query about SGMAP, where some styles have font values for graphics, referencing fonts that are not included in SAS UE.  Try a different ODS style?

 

If that fixes it, then it is possible to define/derive your own style to avoid the warning.  Of course, if this is happening with default settings then we should look to address it.  Can you supply a generic program that replicates the issue?  And share whether you're sending output to anything other than HTML5 (the default for SAS Studio).

Super User
Posts: 8,213

Re: Is there a way to change font for proc reg when using SAS UE?

Posted in reply to ChrisHemedinger

@ChrisHemedinger: The only graphics are the default ones. Here is a simple example that results in the warning:

proc reg data=sashelp.class;
  model height=weight;
run;

However, I was actually running proc regs on each country participating in the winter olympics, thus got many screens showing warning messages.

 

I got around it by specifying noprint but, if I had needed the default graphs, I obviously couldn't have done that.

 

Art, CEO, AnalystFinder.com

 

Super User
Posts: 23,937

Re: Is there a way to change font for proc reg when using SAS UE?

What's your default style set to at the moment? 

 

Did you change that? I suspect you changed it at some point or tried to and that's sticking around causing the issues. 

 

If you change the default style back to HTMLBlue or HTMLSASBlue it should reset...or at least it's worth a try Smiley Happy

Super User
Posts: 8,213

Re: Is there a way to change font for proc reg when using SAS UE?

@Reeza: I've never changed it (in fact, never changed any of the preferences). FWIW, I just looked and, out of the two you mentioned, only HTMLBlue is available and it was already set as the default.

 

Art, CEO, AnalystFinder.com

 

Super User
Posts: 23,937

Re: Is there a way to change font for proc reg when using SAS UE?

Well, when all else fails in SAS UE I recommend reimporting the ova file Smiley Happy

 

I don't get the error with PROC REG for the record. 

 

 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 69         
 70         ods graphics on;
 71         proc reg data=sashelp.class;
 72         model height = weight age;
 73         run;
 
 74         
 75         ods graphics off;
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
Contributor
Posts: 44

Re: Is there a way to change font for proc reg when using SAS UE?

Hi all,

 

is there any news on this problem?

It is really frustrating - so many warnings, and all have to checked :-(

"WARNING: The font <sans-serif> is not available. Albany AMT will be used."

 

It is not only with proc reg - sgplot also and I would think some more.

 

Thx

Frank

Solution
‎03-30-2018 02:33 PM
SAS Employee
Posts: 167

Re: Is there a way to change font for proc reg when using SAS UE?

We're working on it.  I wasn't expecting to have another release of University Edition this spring but the issues with the new version of Virtual Box (they changed the way they handle shared folders & broke us) are driving us to get something out quickly.  We can get the fix in for these annoying font warnings as well.  Hope to have this out in a few weeks. 

Super User
Posts: 8,213

Re: Is there a way to change font for proc reg when using SAS UE?

Very much appreciated!

 

Art, CEO, AnalystFinder.com

 

Contributor
Posts: 44

Re: Is there a way to change font for proc reg when using SAS UE?

Thank you for this information.
So I have not to search for own errors ;-)
Super User
Posts: 8,213

Re: Is there a way to change font for proc reg when using SAS UE?

@AmyP_sas: The problem appears to have been fixed with this morning's update.

 

Thanks again,

Art, CEO, AnalystFinder.com

 

SAS Employee
Posts: 167

Re: Is there a way to change font for proc reg when using SAS UE?

Always nice when it works out the way you hoped.  Here's the new release announcement that was just posted.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 11 replies
  • 610 views
  • 3 likes
  • 5 in conversation