How To Check The Data Type In R