Hi all, is there a way to compile a macro directly from GitHub gist?
SAS macros are code pieces provided as text. Copy/paste into a code window, and run that. That compiles the macro for the current SAS session.
SAS macros are code pieces provided as text. Copy/paste into a code window, and run that. That compiles the macro for the current SAS session.
I am using the following but it doesn't work
%include "https://gist.github.com/.../....";
Here is the warning:
WARNING: Physical file does not exist, C:\Windows\system32\https:\\gist.github.com\...\...
%include only works from the local filesystem, it can't resolve URLs.
So you need to download the file to your SAS machine and include from there.
Thank you, I will advise those plan to use the macro to download and run %include.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.