BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
YutongHu
Calcite | Level 5

I want to export coefficient progression plot generated by LASSO, but it seems "proc export" command cannot process *.jpg files.

 

For example, I want to export figure 44.16 on the following website.

 

http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_glmselect_se...

 

Is there a way that I can directly export plot using a few lines of code?

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

It depends on what output type you want.  It could be as simple as putting:

ods rtf file="c:\want.rtf";

...your code...

ods rtf cose;

View solution in original post

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

It depends on what output type you want.  It could be as simple as putting:

ods rtf file="c:\want.rtf";

...your code...

ods rtf cose;
YutongHu
Calcite | Level 5

Thank you so much. I exported pdf files, and it worked.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1108 views
  • 0 likes
  • 2 in conversation