mode(1) mode(1L) mode(3.24) mode(TRUE) mode('홍길동') mode(3+4i) typeof(1) typeof(2.3) typeof(1L) typeof(1) typeof(TRUE) typeof('홍길동') typeof(3+4i) ------------------------------------- > mode(1) [1] "numeric" > mode(1L) [1] "numeric" > mode(3.24) [1] "numeric" > mode(1L) [1] "numeric" > mode(TRUE) [1] "logical" > mode('홍길동') [1] "character" > mode(3+4i) [1] "complex" > typeof(1) [1] "double" > typeof(2.3) [1] "double" > typeof(1L) [1] "integer" > typeof(1) [1] "double" > typeof(TRUE) [1] "logical" > typeof('홍길동') [1] "character" > typeof(3+4i) [1] "complex" >