generate_chunk_header function

Generate R chunk header