상세 컨텐츠

본문 제목

R이 먼가요? Rtools, Rstudio 설치까지

R

by 알제이코딩 2022. 5. 28. 15:34

본문

R이 먼가요? (What is R?)

 

R은 통계 계산과 그래픽을 위한 프로그래밍 언어 및 환경입니다. John Chambers와 동료들이 Bell Laboratories(Lucent Technologies)에서 개발한 S 언어 및 환경과 유사한 GNU 프로젝트 입니다.

 

SPSS나 SAS와 같은 상업용 프로그램과는 달리 무료 공개 소프트웨어를 지향 하며 전 세계에 배포되고 있기 때문에 누구나 아무런 사용제약 없이 사용할 수 있다는 큰 장점을 지니고 있다.

 

 

R은 다음과 같은 장점을 가집니다.

 

1. 통계 분석 등에 활용할 수 있는 패키지 수가 많다.

R의 다양한 통계 기법들

(linear and nonlinear modelling, classical statistical tests, time series analysis, classification, clustering, …)

 

2. 커뮤니티 활성화가 잘되어 있어 다양한 정보를 공유할 수 있다.

 

R tutorial https://www.r-tutor.com/

 

An R Introduction to Statistics | R Tutorial

Deep learning has a wide range of applications, from speech recognition, computer vision, to self-driving cars and mastering the game of Go. While the concept is intuitive, the implementation is often tedious and heuristic. We will take a stab at simplifyi

www.r-tutor.com

R-bloggers https://www.r-bloggers.com/

 

R-bloggers

R news and tutorials contributed by hundreds of R bloggers

www.r-bloggers.com

R-Korea https://www.facebook.com/groups/korearusers

 

Facebook에 로그인

메뉴를 열려면 alt + / 키 조합을 누르세요

www.facebook.com

3. 무료

데이터 분석이 3대 Tools SPSS, SPS와 달리, R은 무료입니다

그럼 R을 설치해봅시다

 

구글에서 R 검색

 

Download -> CRAN

 

Korea (필자의 경우 seoul 이용)

 

Download R for Windows (본인의 운영체제에 맞게 선택)

 

install R for the first time (최신버전 설치)

Download R-4.2.0 for Windows (다운로드)

최선버전의 CRAN에서 지원하지 않는 패키지를 사용하기 위하여 이전버전의 R을 사용할 경우 Previous releases 클릭

최신버전 Windows R 다운로드 링크 https://cran.seoul.go.kr/bin/windows/base/R-4.2.0-win.exe

 

 

R 설치

 

관리자 권한으로 설치

 

C드라이브 R에 설치 (기타옵션은 수정할 필요없음)

R, Rtools, Rstudio 모두 C 드라이브 R에 설치

 

마지막으로 C드라이브 R폴더 읽기 전용 해제 (종종 package 설치나 library 로드시 permission 거부나 wirte 거부 방지)

 

이상 R, Rtools, Rstudio를 사용하기 위한 모든 설치를 마쳤습니다

관련글 더보기