第 3 章 Start a Project

3.1 Project

以下在RStudio進行:

Start a new project

File -> New Project …

Step 1

Step 2

Step 3

Step 4

Here we check create a git repository.
  • 避免中文路徑

Start a new file

Create a notebook: File–>New File–>R Notebook.

  1. Title: “YYYY-MM-DD”

  2. Click save: Name your file as YYYY-MM-DD

Step 1

Step 2

Step 3

  • 避免中文檔名

Save with Encoding

  1. File–>Save with Encoding…

  2. choose UTF8 and check Set as default encoding for source files.

Step 1

Step 2

3.2 GitHub Desktop

以下在GitHub Desktop進行:

Add local repository

File–>Add Local Repository…

Step 1

Step 2

Publish repository

  1. Type your Summary

  2. Click Commit to master

  3. Click Publish repository.

  4. (不打勾) Uncheck Keep this code private.

  5. click Publish repository.

Step 1

Step 2

Step 3

New your project is saved in the cloud of your GitHub.com account. To see it,

In GitHub desktop,

click Repository–>View on GitHub

Step 1

Step 2

Step 3

From View on GitHub, you will see your repository (i.e. project) URL as https://github.com/{username}/{repo name}.

往後的課堂練習同學請固定使用該repo。

請到以下表單填寫你的課堂練習repo資訊。 http://bit.ly/2D0e0qt