Achieving a seamless workflow between R, Python and SAS from within RStudio
summary
Statistics Canada must run confidential G-Confid SAS macros, so workflow requires shuttling data between SAS and R; solution options include using SASPy (requires Java and often admin rights) to call SAS from Python/R, embedding SAS chunks with SASmarkdown (no data interchange), or enabling RLANG and proc IML with ImportDataSetFromR/ExportDataSetToR to move frames back and forth. An internal R package saves a dataframe to temp files, generates a temporary SAS program, runs SAS, and returns results as an R dataframe.
AI-written summary · about
chapters (5)
related talks
15mAchieving a seamless workflow between R, Python and SAS from within RStudio
35mEffective Python and R collaboration
17mPolyglot Data Science: Why and How to Combine R and Python
37mRewriting your R analysis code in Python
24mLet's play together: Collaborative Data Science
22mUsing Python & R in Harmony
32mInterfacing R and Python
45mPython useRs
