tmpfile <- tempfile()
write( "proc format;
value yn 1=\"yes\"
0=\"no\";
value sex 1=\"female\"
0=\"male\";
run;",tmpfile)
parse_formats(tmpfile)
Run the code above in your browser using DataLab