R&Rstudio2018-05-08

https://www.edx.org

Mac Users

To Install R

  1. Open an internet browser and go to www.r-project.org.
  2. Click the "download R" link in the middle of the page under "Getting Started."
  3. Select a CRAN location (a mirror site) and click the corresponding link.
  4. Click on the "Download R for (Mac) OS X" link at the top of the page.
  5. Click on the file containing the latest version of R under "Files."
  6. Save the .pkg file, double-click it to open, and follow the installation instructions.
  7. Now that R is installed, you need to download and install RStudio.

To Install RStudio

  1. Go to www.rstudio.com and click on the "Download RStudio" button.
  2. Click on "Download RStudio Desktop."
  3. Click on the version recommended for your system, or the latest Mac version, save the .dmg file on your computer, double-click it to open, and then drag and drop it to your applications folder.

To Install the SDSFoundations Package

  1. Download SDSFoundations to your desktop (make sure it has the ".tgz" extension).
  2. Open RStudio.
  3. Click on the Packages tab in the bottom right window.
  4. Click "Install."
  5. Select install from "Package Archive File."
  6. Select the SDSFoundations package file from your desktop.
  7. Click install. You are done! You can now delete the SDSpackage file from your desktop.

Windows Users

To Install R:

  1. Open an internet browser and go to www.r-project.org.
  2. Click the "download R" link in the middle of the page under "Getting Started."
  3. Select a CRAN location (a mirror site) and click the corresponding link.
  4. Click on the "Download R for Windows" link at the top of the page.
  5. Click on the "install R for the first time" link at the top of the page.
  6. Click "Download R for Windows" and save the executable file somewhere on your computer. Run the .exe file and follow the installation instructions.
  7. Now that R is installed, you need to download and install RStudio.

To Install RStudio

  1. Go to www.rstudio.com and click on the "Download RStudio" button.
  2. Click on "Download RStudio Desktop."
  3. Click on the version recommended for your system, or the latest Windows version, and save the executable file. Run the .exe file and follow the installation instructions.

To Install the SDSFoundations Package

  1. Download SDSFoundations to your desktop (make sure it has the ".zip" extension).
  2. Open RStudio.
  3. Click on the Packages tab in the bottom right window.
  4. Click "Install."
  5. Select install from "Package Archive File."
  6. Select the SDSFoundations package file from your desktop.
  7. Click install. You are done! You can now delete the SDSpackage file from your desktop.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,593评论 5 6
  • 在繁华里久了,有时候回忆不起来自己的初衷。 也曾经在山野里做梦,陪伴这青山绿水一生。 到头来,也终究待要奔赴这尘世...
    叶落岁暮阅读 2,555评论 0 2
  • 今夜 我们架起篝火 今夜 我将你的唇印上我的吻 今夜 微风撩拨着每一丝神经 今夜 星星记录着我们的最深的愿望 执子...
    Dialing阅读 695评论 0 0
  • 序#最近我哥来家里做客,聊起他那个网站的盈利模式,他说来钱的地方有两个渠道,其一网站上挂广告,其二线下活动。其实,...
    宁小南阅读 5,900评论 0 15
  • 在开始之前,我想先对大家做一个调查。 1.请问你是一本,二本还是三本的学生呢? 2.请问你是刚入大学的大一新生...
    晴雪初开阅读 2,656评论 5 2