if (FALSE) {
# Please configure conda environment first
x <- tempfile()
writeLines(c(
"import re",
"zipcode = re.findall(r'[0-9]{5,6}', r.address)"
), con = x)
address <- '2341 Main St., 72381'
rpymat::run_script(x)
py$zipcode
}
Run the code above in your browser using DataLab