The R Project for Statistical Computing software is available with multiple operating systems such as Windows, MacOS.
It may be downloaded here:
https://www.r-project.org
After installation, try declare values with '=' or '<-' and see the average result with 'mean' function.
> x<-c(1,2,3,4,5)
> mean(x)
[1] 3
> y<-c(2,3,4,5,6,7,8)
> mean(y)
[1] 5
> z=c(5,6,7)
> mean(z)
[1] 6
>
Result:
To remove the above warning messages, open terminal and type:
defaults write org.R-project.R force.LANG en_US.UTF-8
Reference:
[記宅] 在 Mac 上安裝 R 語言 (R Studio, R) 新手介紹
Related Information:
沒有留言:
張貼留言