R * RStudio7 [R/RStudio]data.frame(데이터 프레임) 생성 완성! data.frame( f = c('c', 'd', 'e', 'p', 'r'), 연료종류 = c('CNG(천연가스)', 'Disel', 'Ethanol E85', 'Premium', 'Regular'), 가격 = c(2.35, 2.38, 2.11, 2.76,2.22) ) 2022. 12. 2. [R/RStudio] 작업경로 지정/확인 setwd() setwd("./dts") # 현재 폴더 내 dts폴더로 이동 # .: 현재 나의 폴더 위치 # ..: 현재 위치 상위 폴더 작업디렉토리를 새로 지정하는 함수 getwd() getwd() 현재 작업디렉토리 경로 확인 2022. 11. 28. R / RStudio 설치 R & RStudio 설치 전 확인사항 - 컴퓨터명 / 사용자명은 영어로 - s/w 설치계정 유형은 반드시 관리자권환으로 R 설치 - R 설치 후 RStudio 설치 -홈페이지: The Comprehensive R Archive Network (r-project.org) The Comprehensive R Archive Network cran.r-project.org - 설치 순서 Download R for Windows > install R for the first time. > Download R-4.2.2 for Windows - 설치 경로 C드라이브에 폴더 따로 만들어서 설치했다. RStudio 설치 -홈페이지: Posit | The Open-Source Data Science Company Po.. 2022. 11. 24. 이전 1 2 다음