Use Chunks to execute R commands