R like example function plugin