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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1400 views
  • 0 likes
  • 2 in conversation