目录

  1. 目录

  2. What difference between Project and Script

  3. Why download so slow?

  4. The Hidden Secrets of information:

  5. Why the package failed to install?

  6. Linux: the best system around world!

  7. Not just R

  8. Learn More

What difference between Project and Script

Project: A folder with a .Rproj file in it.

Script: A .R file.

2 / 9

给R语言初学者的一些小建议

Tips for beginner

2023-02-24

Kangguo Li

School of Public Health, Xiamen University

Press Space for next page
1

目录

  1. 目录

  2. What difference between Project and Script

  3. Why download so slow?

  4. The Hidden Secrets of information:

  5. Why the package failed to install?

  6. Linux: the best system around world!

  7. Not just R

  8. Learn More

2

What difference between Project and Script

Project: A folder with a .Rproj file in it.

Script: A .R file.

3

Why download so slow?

Setting CRAN mirror in China.

Tools -> Global Options -> Packages ->Management

Best CRAN: Hefei > Lanzhou > Beijing


A temporary solution:

options("repos" = c(CRAN="https://mirrors.ustc.edu.cn/CRAN/"))
4

The Hidden Secrets of information:

What difference between error, warning and message?

R Markdown alert messages

5

Why the package failed to install?

Permission denied:

Just delete and restart rstudio for windows.

C++ error:

Install Rtools for windows.

6

Linux: the best system around world!

Using Linux Desktop Distribution

Ubuntu Desktop 18.04 and 20.04.

7

Not just R

GithubDesktop for git.

VS code for anything.

Typora and Notepad-- for markdown.

8

Learn More

PDF downloadGitHub RepositoryMy Resume
9