R like example