comply with R format.