RScript로 실행하기

#test.r
args=commandArgs(trailingOnly = TRUE)
print(args[1])
print(args[2])

#실행
RScript --vanilla test.r hi hello

댓글

이 블로그의 인기 게시물

R 패키지, vignette 그리고 설치

Bradley-Terry Model: paired comparison models