Code examples (including Perl, Python, and R)