add simple code to verify r and julia interface