{"id":79878,"date":"2026-03-03T14:26:11","date_gmt":"2026-03-03T06:26:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/79878.html"},"modified":"2026-03-03T14:26:11","modified_gmt":"2026-03-03T06:26:11","slug":"%e6%8a%80%e6%9c%af%e9%80%86%e5%90%91%e8%8b%b1%e8%af%ad202602018","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/79878.html","title":{"rendered":"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>What does a beginner in R do?<\/li>\n<li>Foundation<\/li>\n<li>\u82f1\u8bed\u8bed\u6cd5\u8be6\u7ec6\u5206\u6790<\/li>\n<li>\n<ul>\n<li>\u76ee\u5f55<\/li>\n<li>\u5f15\u8a00\u90e8\u5206\u5206\u6790<\/li>\n<li>\n<ul>\n<li>\u6807\u9898&#xff1a;What does a beginner in R do?<\/li>\n<li>\u53e5\u5b501&#xff1a;R is a free software environment for statistical computing and graphics.<\/li>\n<li>\u53e5\u5b502&#xff1a;As a new user in R, the procedure of what you need to do for the first occasion is installing it as follows:<\/li>\n<\/ul>\n<\/li>\n<li>\u5b89\u88c5\u6b65\u9aa4\u90e8\u5206\u5206\u6790<\/li>\n<li>\n<ul>\n<li>\u6b65\u9aa41&#xff1a;Go to R&#039;s official website: https:\/\/www.r-project.org\/.<\/li>\n<li>\u6b65\u9aa42&#xff1a;Download the appropriate installation package from https:\/\/cran.r-project.org\/mirrors.html and install it correctly.<\/li>\n<li>\u6b65\u9aa43&#xff1a;On your disk, you had better make a new directory where your project&#039;s home will be.<\/li>\n<li>\u6b65\u9aa44&#xff1a;In the terminal of the OS, inputting &#034;R&#034; can get you into its interactive mode to debug your code line by line or learn R programming.<\/li>\n<li>\u6b65\u9aa45&#xff1a;By the way, the &#034;q()&#034; command allows you to quit this environment provided by R.<\/li>\n<\/ul>\n<\/li>\n<li>\u57fa\u7840\u6982\u5ff5\u90e8\u5206\u5206\u6790<\/li>\n<li>\n<ul>\n<li>\u7b2c1\u70b9&#xff1a;Maybe you dislike the prompt &#034;&gt;&#034;, so you can easily change it whenever you want by typing &#096;options(prompt&#061;&#034;goodluck&#034;)&#096;.<\/li>\n<li>\u7b2c2\u70b9&#xff1a;A comment in R is represented by the &#034;#&#034; character, with everything following it being ignored by the compiler when running.<\/li>\n<li>\u7b2c3\u70b9\u7b2c\u4e00\u6bb5&#xff1a;The working directory is a very important aspect of coding in R. As mentioned earlier, it is often overlooked by beginners. You can use &#096;getwd()&#096; and &#096;setwd()&#096; to manage it. This is typically where you store your code, pictures, documents, data files, and everything related to your project.<\/li>\n<li>\u7b2c3\u70b9\u7b2c\u4e8c\u6bb5&#xff1a;Furthermore, the workspace is crucial for debugging projects, even for release versions. It preserves all information from an R session in a file with the &#034;.RData&#034; extension, including all objects, commands used, loaded data, and so on. Managing these workspace files is straightforward using &#096;save.image()&#096; and &#096;load()&#096;.<\/li>\n<li>\u7b2c4\u70b9&#xff1a;Some basic operations are similar to those in other scripting languages like Python and Perl. Both &lt;- and &#061; can be used for assignment (more accurately called &#034;binding&#034; or &#034;assigning a value to an object&#034;).<\/li>\n<li>\u5411\u91cf\u90e8\u5206&#xff1a;Vectors in R differ from most programming languages, particularly in their vectorized operations that can be easily performed in parallel. In other languages, such tasks are more difficult and complex, requiring multiple lines of code.<\/li>\n<li>\u5305\u7684\u90e8\u5206&#xff1a;<\/li>\n<\/ul>\n<\/li>\n<li>\u5e38\u7528\u8bed\u6cd5\u7ed3\u6784\u603b\u7ed3<\/li>\n<li>\n<ul>\n<li>1. \u53e5\u5b50\u7c7b\u578b\u7edf\u8ba1<\/li>\n<li>2. \u4e3b\u8981\u8bed\u6cd5\u70b9\u6c47\u603b<\/li>\n<li>3. \u6280\u672f\u5199\u4f5c\u7279\u70b9<\/li>\n<li>4. \u9ad8\u9891\u8bcd\u6c47\u7edf\u8ba1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>What does a beginner in R do?<\/h2>\n<p>R is a free software environment for statistical computing and graphics. As a new user in R, the procedure of what you need to do for the first occasion is installing it as follows:<\/p>\n<li>Go to R\u2019s official website: https:\/\/www.r-project.org\/.<\/li>\n<li>Download the appropriate installation package from https:\/\/cran.r-project.org\/mirrors.html and install it correctly.<\/li>\n<li>On your disk, you had better make a new directory where your project\u2019s home will be.<\/li>\n<li>In the terminal of the OS, inputting \u201cR\u201d can get you into its interactive mode to debug your code line by line or learn R programming. Usually, the prompt \u201c&gt;\u201d or \u201cR&gt;\u201d will welcome you.<\/li>\n<li>By the way, the \u201cq()\u201d command allows you to quit this environment provided by R.<\/li>\n<h2>Foundation<\/h2>\n<li>\n<p>Maybe you dislike the prompt \u201c&gt;\u201d, so you can easily change it whenever you want by typing options(prompt&#061;&#034;goodluck&#034;).<\/p>\n<\/li>\n<li>\n<p>A comment in R is represented by the \u201c#\u201d character, with everything following it being ignored by the compiler when running.<\/p>\n<\/li>\n<li>\n<p>The working directory is a very important aspect of coding in R. As mentioned earlier, it is often overlooked by beginners. You can use getwd() and setwd() to manage it. This is typically where you store your code, pictures, documents, data files, and everything related to your project.<\/p>\n<p>Furthermore, the workspace is crucial for debugging projects, even for release versions. It preserves all information from an R session in a file with the \u201c.RData\u201d extension, including all objects, commands used, loaded data, and so on. Managing these workspace files is straightforward using save.image() and load().<\/p>\n<\/li>\n<li>\n<p>Some basic operations are similar to those in other scripting languages like Python and Perl. For example:<\/p>\n<p> &gt; 1&#043;8*(6-2^8)<br \/>\n[1] -1999<br \/>\n&gt; x&lt;-1234<br \/>\n&gt; y&lt;-666<br \/>\n&gt; z&#061;x^2&#043;y<br \/>\n&gt; z<br \/>\n[1] 1523422<br \/>\n&gt; v&#061;z^2<br \/>\n&gt; v<br \/>\n[1] 2.320815e&#043;12<\/p>\n<p>Both &lt;- and &#061; can be used for assignment (more accurately called \u201cbinding\u201d or \u201cassigning a value to an object\u201d).<\/p>\n<p>Vectors in R differ from most programming languages, particularly in their vectorized operations that can be easily performed in parallel. In other languages, such tasks are more difficult and complex, requiring multiple lines of code. For example:<\/p>\n<\/li>\n<p>    &gt; x&lt;-c(11,22,33)<br \/>\n    &gt; y &lt;- seq(100, 300, length.out &#061; 3)<br \/>\n    &gt; x&#043;y<br \/>\n    [1] 111 222 333<\/p>\n<p>A package in R refers to a library that supports scientific computation, statistical analysis, machine learning, graphical visualization, and so on. In fact, its functionality is equivalent to libraries in other languages. Use install.packages(\u201cname\u201d) to install a package and library(name) to load it.<\/p>\n<h2>\u82f1\u8bed\u8bed\u6cd5\u8be6\u7ec6\u5206\u6790<\/h2>\n<h3>\u76ee\u5f55<\/h3>\n<ul>\n<li>\u5f15\u8a00\u90e8\u5206\u5206\u6790<\/li>\n<li>\u5b89\u88c5\u6b65\u9aa4\u90e8\u5206\u5206\u6790<\/li>\n<li>\u57fa\u7840\u6982\u5ff5\u90e8\u5206\u5206\u6790<\/li>\n<li>\u4ee3\u7801\u793a\u4f8b\u90e8\u5206\u5206\u6790<\/li>\n<li>\u5e38\u7528\u8bed\u6cd5\u7ed3\u6784\u603b\u7ed3<\/li>\n<\/ul>\n<h3>\u5f15\u8a00\u90e8\u5206\u5206\u6790<\/h3>\n<h4>\u6807\u9898&#xff1a;What does a beginner in R do?<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>beginner \/b\u026a\u02c8\u0261\u026an\u0259r\/ (n.)&#xff1a;\u521d\u5b66\u8005&#xff0c;\u65b0\u624b<\/li>\n<li>R \/\u0251\u02d0r\/ (n.)&#xff1a;R\u8bed\u8a00&#xff08;\u7f16\u7a0b\u8bed\u8a00\u540d\u79f0&#xff09;<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<table>\n<tr>\u6210\u5206\u5355\u8bcd\/\u77ed\u8bed\u8bcd\u6027\u529f\u80fd\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u7591\u95ee\u8bcd<\/td>\n<td>What<\/td>\n<td>\u7591\u95ee\u4ee3\u8bcd<\/td>\n<td>\u4f5cdo\u7684\u5bbe\u8bed<\/td>\n<\/tr>\n<tr>\n<td>\u52a9\u52a8\u8bcd<\/td>\n<td>does<\/td>\n<td>\u52a9\u52a8\u8bcd<\/td>\n<td>\u5e2e\u52a9\u6784\u6210\u7591\u95ee&#xff0c;\u7b2c\u4e09\u4eba\u79f0\u5355\u6570<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u8bed<\/td>\n<td>a beginner<\/td>\n<td>\u540d\u8bcd\u77ed\u8bed<\/td>\n<td>\u53e5\u5b50\u4e3b\u8bed<\/td>\n<\/tr>\n<tr>\n<td>\u540e\u7f6e\u5b9a\u8bed<\/td>\n<td>in R<\/td>\n<td>\u4ecb\u8bcd\u77ed\u8bed<\/td>\n<td>\u4fee\u9970beginner<\/td>\n<\/tr>\n<tr>\n<td>\u8c13\u8bed\u52a8\u8bcd<\/td>\n<td>do<\/td>\n<td>\u53ca\u7269\u52a8\u8bcd<\/td>\n<td>\u5b9e\u4e49\u52a8\u8bcd\u539f\u5f62<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bed\u6cd5\u70b9&#xff1a; \u7279\u6b8a\u7591\u95ee\u53e5\u7ed3\u6784&#xff1a;\u7591\u95ee\u8bcd &#043; \u52a9\u52a8\u8bcd &#043; \u4e3b\u8bed &#043; \u8c13\u8bed\u52a8\u8bcd<\/p>\n<hr \/>\n<h4>\u53e5\u5b501&#xff1a;R is a free software environment for statistical computing and graphics.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>free \/fri\u02d0\/ (adj.)&#xff1a;\u514d\u8d39\u7684&#xff0c;\u81ea\u7531\u7684<\/li>\n<li>software \/\u02c8s\u0252ftwe\u0259r\/ (n.)&#xff1a;\u8f6f\u4ef6<\/li>\n<li>environment \/\u026an\u02c8va\u026ar\u0259nm\u0259nt\/ (n.)&#xff1a;\u73af\u5883<\/li>\n<li>statistical \/st\u0259\u02c8t\u026ast\u026akl\/ (adj.)&#xff1a;\u7edf\u8ba1\u7684<\/li>\n<li>computing \/k\u0259m\u02c8pju\u02d0t\u026a\u014b\/ (n.)&#xff1a;\u8ba1\u7b97<\/li>\n<li>graphics \/\u02c8\u0261r\u00e6f\u026aks\/ (n.)&#xff1a;\u56fe\u5f62&#xff0c;\u7ed8\u56fe<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<p>\u53e5\u5b50 (SVC\u7ed3\u6784)<br \/>\n\u251c\u2500\u2500 \u4e3b\u8bed: R [\u4e13\u6709\u540d\u8bcd]<br \/>\n\u251c\u2500\u2500 \u7cfb\u52a8\u8bcd: is [\u52a8\u8bcd]<br \/>\n\u2514\u2500\u2500 \u4e3b\u8bed\u8865\u8db3\u8bed: a free software environment for statistical computing and graphics [\u540d\u8bcd\u77ed\u8bed]<br \/>\n    \u251c\u2500\u2500 \u524d\u7f6e\u5b9a\u8bed: a free software [\u51a0\u8bcd&#043;\u5f62\u5bb9\u8bcd&#043;\u540d\u8bcd]<br \/>\n    \u2514\u2500\u2500 \u4e2d\u5fc3\u8bcd: environment [\u540d\u8bcd]<br \/>\n        \u2514\u2500\u2500 \u540e\u7f6e\u5b9a\u8bed: for statistical computing and graphics [\u4ecb\u8bcd\u77ed\u8bed]<br \/>\n            \u251c\u2500\u2500 \u4ecb\u8bcd: for<br \/>\n            \u2514\u2500\u2500 \u5bbe\u8bed: statistical computing and graphics [\u5e76\u5217\u540d\u8bcd\u77ed\u8bed]<\/p>\n<p>\u77ed\u8bed\u642d\u914d&#xff1a;<\/p>\n<ul>\n<li>\u201csoftware environment\u201d&#xff1a;\u8f6f\u4ef6\u73af\u5883<\/li>\n<li>\u201cstatistical computing\u201d&#xff1a;\u7edf\u8ba1\u8ba1\u7b97<\/li>\n<\/ul>\n<hr \/>\n<h4>\u53e5\u5b502&#xff1a;As a new user in R, the procedure of what you need to do for the first occasion is installing it as follows:<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>procedure \/pr\u0259\u02c8si\u02d0d\u0292\u0259r\/ (n.)&#xff1a;\u7a0b\u5e8f&#xff0c;\u6b65\u9aa4<\/li>\n<li>occasion \/\u0259\u02c8ke\u026a\u0292n\/ (n.)&#xff1a;\u573a\u5408&#xff0c;\u65f6\u673a<\/li>\n<li>install \/\u026an\u02c8st\u0254\u02d0l\/ (v.)&#xff1a;\u5b89\u88c5<\/li>\n<li>follow \/\u02c8f\u0252l\u0259\u028a\/ (v.)&#xff1a;\u8ddf\u968f&#xff0c;\u5982\u4e0b<\/li>\n<\/ul>\n<p>\u6838\u5fc3\u8bcd\u6c47\u8be6\u89e3&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49\u4f8b\u53e5<\/tr>\n<tbody>\n<tr>\n<td>procedure<\/td>\n<td>\/pr\u0259\u02c8si\u02d0d\u0292\u0259r\/<\/td>\n<td>n.<\/td>\n<td>\u7a0b\u5e8f&#xff0c;\u6b65\u9aa4<\/td>\n<td>Follow the safety procedures.<\/td>\n<\/tr>\n<tr>\n<td>occasion<\/td>\n<td>\/\u0259\u02c8ke\u026a\u0292n\/<\/td>\n<td>n.<\/td>\n<td>\u573a\u5408&#xff0c;\u65f6\u673a<\/td>\n<td>on this occasion<\/td>\n<\/tr>\n<tr>\n<td>install<\/td>\n<td>\/\u026an\u02c8st\u0254\u02d0l\/<\/td>\n<td>v.<\/td>\n<td>\u5b89\u88c5<\/td>\n<td>install the software<\/td>\n<\/tr>\n<tr>\n<td>as follows<\/td>\n<td>&#8211;<\/td>\n<td>\u77ed\u8bed<\/td>\n<td>\u5982\u4e0b<\/td>\n<td>The rules are as follows:<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ece\u53e5\u5206\u6790 &#8211; \u201cwhat you need to do\u201d&#xff1a;<\/p>\n<table>\n<tr>\u5f15\u5bfc\u8bcd\u4e3b\u8bed\u8c13\u8bed\u5bbe\u8bed<\/tr>\n<tbody>\n<tr>\n<td>what (\u8fde\u63a5\u4ee3\u8bcd)<\/td>\n<td>you<\/td>\n<td>need<\/td>\n<td>to do<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bed\u6cd5\u70b9&#xff1a; \u201cwhat&#034;\u5f15\u5bfc\u540d\u8bcd\u6027\u4ece\u53e5&#xff0c;\u76f8\u5f53\u4e8e&#034;the thing that\u201d<\/p>\n<hr \/>\n<h3>\u5b89\u88c5\u6b65\u9aa4\u90e8\u5206\u5206\u6790<\/h3>\n<h4>\u6b65\u9aa41&#xff1a;Go to R\u2019s official website: https:\/\/www.r-project.org\/.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>official \/\u0259\u02c8f\u026a\u0283l\/ (adj.)&#xff1a;\u5b98\u65b9\u7684&#xff0c;\u6b63\u5f0f\u7684<\/li>\n<li>website \/\u02c8websa\u026at\/ (n.)&#xff1a;\u7f51\u7ad9<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a; \u7948\u4f7f\u53e5<\/p>\n<ul>\n<li>\u8c13\u8bed&#xff1a;Go (\u52a8\u8bcd\u539f\u5f62)<\/li>\n<li>\u72b6\u8bed&#xff1a;to R\u2019s official website (\u4ecb\u8bcd\u77ed\u8bed)\n<ul>\n<li>R\u2019s&#xff1a;\u540d\u8bcd\u6240\u6709\u683c&#xff0c;\u8868\u793a&#034;R\u7684&#034;<\/li>\n<li>official&#xff1a;\u5f62\u5bb9\u8bcd\u4fee\u9970website<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a; \u7948\u4f7f\u53e5\u7701\u7565\u4e3b\u8bedyou&#xff0c;\u52a8\u8bcd\u7528\u539f\u5f62<\/p>\n<hr \/>\n<h4>\u6b65\u9aa42&#xff1a;Download the appropriate installation package from https:\/\/cran.r-project.org\/mirrors.html and install it correctly.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>download \/\u02c8da\u028anl\u0259\u028ad\/ (v.)&#xff1a;\u4e0b\u8f7d<\/li>\n<li>appropriate \/\u0259\u02c8pr\u0259\u028apri\u0259t\/ (adj.)&#xff1a;\u9002\u5f53\u7684&#xff0c;\u5408\u9002\u7684<\/li>\n<li>installation \/\u02cc\u026anst\u0259\u02c8le\u026a\u0283n\/ (n.)&#xff1a;\u5b89\u88c5<\/li>\n<li>package \/\u02c8p\u00e6k\u026ad\u0292\/ (n.)&#xff1a;\u5305&#xff0c;\u8f6f\u4ef6\u5305<\/li>\n<li>correctly \/k\u0259\u02c8rektli\/ (adv.)&#xff1a;\u6b63\u786e\u5730<\/li>\n<\/ul>\n<p>\u8bcd\u6c47\u642d\u914d&#xff1a;<\/p>\n<table>\n<tr>\u77ed\u8bed\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>download from\u2026<\/td>\n<td>\u4ece\u2026\u4e0b\u8f7d<\/td>\n<\/tr>\n<tr>\n<td>installation package<\/td>\n<td>\u5b89\u88c5\u5305<\/td>\n<\/tr>\n<tr>\n<td>install correctly<\/td>\n<td>\u6b63\u786e\u5b89\u88c5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a; \u5e76\u5217\u7948\u4f7f\u53e5<\/p>\n<ul>\n<li>\u7b2c\u4e00\u4e2a\u7948\u4f7f\u53e5&#xff1a;Download the appropriate installation package from\u2026<\/li>\n<li>\u8fde\u8bcd&#xff1a;and<\/li>\n<li>\u7b2c\u4e8c\u4e2a\u7948\u4f7f\u53e5&#xff1a;install it correctly\n<ul>\n<li>\u52a8\u8bcd&#xff1a;install<\/li>\n<li>\u5bbe\u8bed&#xff1a;it (\u6307\u4ee3installation package)<\/li>\n<li>\u72b6\u8bed&#xff1a;correctly (\u65b9\u5f0f\u526f\u8bcd)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a; and\u8fde\u63a5\u4e24\u4e2a\u5e76\u5217\u7684\u7948\u4f7f\u53e5&#xff0c;\u8868\u793a\u5148\u540e\u987a\u5e8f<\/p>\n<hr \/>\n<h4>\u6b65\u9aa43&#xff1a;On your disk, you had better make a new directory where your project\u2019s home will be.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>disk \/d\u026ask\/ (n.)&#xff1a;\u78c1\u76d8<\/li>\n<li>directory \/d\u0259\u02c8rekt\u0259ri\/ (n.)&#xff1a;\u76ee\u5f55&#xff0c;\u6587\u4ef6\u5939<\/li>\n<li>project \/\u02c8pr\u0252d\u0292ekt\/ (n.)&#xff1a;\u9879\u76ee<\/li>\n<li>home \/h\u0259\u028am\/ (n.)&#xff1a;\u5bb6&#xff0c;\u5728\u8fd9\u91cc\u6307&#034;\u4e3b\u76ee\u5f55&#034;<\/li>\n<\/ul>\n<p>\u77ed\u8bed\u642d\u914d&#xff1a;<\/p>\n<ul>\n<li>\u201chad better\u201d&#xff1a;\u6700\u597d&#xff08;\u8868\u793a\u5efa\u8bae&#xff09;<\/li>\n<li>\u201cmake a directory\u201d&#xff1a;\u521b\u5efa\u76ee\u5f55<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<li>\u5730\u70b9\u72b6\u8bed&#xff1a; On your disk (\u4ecb\u8bcd\u77ed\u8bed&#xff0c;\u63d0\u524d\u8868\u793a\u5f3a\u8c03)<\/li>\n<li>\u4e3b\u53e5&#xff1a; you had better make a new directory\n<ul>\n<li>\u4e3b\u8bed&#xff1a;you<\/li>\n<li>\u8c13\u8bed&#xff1a;had better make (\u60c5\u6001\u52a8\u8bcd\u77ed\u8bed)<\/li>\n<li>\u5bbe\u8bed&#xff1a;a new directory<\/li>\n<\/ul>\n<\/li>\n<li>\u5b9a\u8bed\u4ece\u53e5&#xff1a; where your project\u2019s home will be\n<ul>\n<li>\u5173\u7cfb\u526f\u8bcd&#xff1a;where (\u76f8\u5f53\u4e8ein which)<\/li>\n<li>\u4e3b\u8bed&#xff1a;your project\u2019s home (\u540d\u8bcd\u6240\u6709\u683c)<\/li>\n<li>\u8c13\u8bed&#xff1a;will be (\u5c06\u6765\u65f6)<\/li>\n<\/ul>\n<\/li>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u201chad better\u201d &#043; \u52a8\u8bcd\u539f\u5f62&#xff0c;\u8868\u793a\u5f3a\u70c8\u7684\u5efa\u8bae<\/li>\n<li>&#034;where&#034;\u5f15\u5bfc\u5b9a\u8bed\u4ece\u53e5\u4fee\u9970\u5730\u70b9\u540d\u8bcddirectory<\/li>\n<li>\u540d\u8bcd\u6240\u6709\u683c&#034;project\u2019s&#034;\u8868\u793a&#034;\u9879\u76ee\u7684&#034;<\/li>\n<\/ul>\n<hr \/>\n<h4>\u6b65\u9aa44&#xff1a;In the terminal of the OS, inputting \u201cR\u201d can get you into its interactive mode to debug your code line by line or learn R programming.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>terminal<\/td>\n<td>\/\u02c8t\u025c\u02d0m\u026anl\/<\/td>\n<td>n.<\/td>\n<td>\u7ec8\u7aef<\/td>\n<\/tr>\n<tr>\n<td>OS<\/td>\n<td>\/\u0259\u028a\u02c8es\/<\/td>\n<td>n.<\/td>\n<td>\u64cd\u4f5c\u7cfb\u7edf(Operating System)<\/td>\n<\/tr>\n<tr>\n<td>input<\/td>\n<td>\/\u02c8\u026anp\u028at\/<\/td>\n<td>v.<\/td>\n<td>\u8f93\u5165<\/td>\n<\/tr>\n<tr>\n<td>interactive<\/td>\n<td>\/\u02cc\u026ant\u0259r\u02c8\u00e6kt\u026av\/<\/td>\n<td>adj.<\/td>\n<td>\u4ea4\u4e92\u5f0f\u7684<\/td>\n<\/tr>\n<tr>\n<td>mode<\/td>\n<td>\/m\u0259\u028ad\/<\/td>\n<td>n.<\/td>\n<td>\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>debug<\/td>\n<td>\/di\u02d0\u02c8b\u028c\u0261\/<\/td>\n<td>v.<\/td>\n<td>\u8c03\u8bd5(\u7a0b\u5e8f)<\/td>\n<\/tr>\n<tr>\n<td>line by line<\/td>\n<td>&#8211;<\/td>\n<td>\u77ed\u8bed<\/td>\n<td>\u9010\u884c\u5730<\/td>\n<\/tr>\n<tr>\n<td>programming<\/td>\n<td>\/\u02c8pr\u0259\u028a\u0261r\u00e6m\u026a\u014b\/<\/td>\n<td>n.<\/td>\n<td>\u7f16\u7a0b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<li>\n<p>\u5730\u70b9\u72b6\u8bed&#xff1a; In the terminal of the OS<\/p>\n<ul>\n<li>\u4ecb\u8bcd\u77ed\u8bed\u63d0\u524d<\/li>\n<li>&#034;of the OS&#034;\u4f5c\u540e\u7f6e\u5b9a\u8bed\u4fee\u9970terminal<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4e3b\u8bed&#xff1a; inputting \u201cR\u201d<\/p>\n<ul>\n<li>\u52a8\u540d\u8bcd\u77ed\u8bed\u4f5c\u4e3b\u8bed<\/li>\n<li>&#034;R&#034;\u662finputting\u7684\u5bbe\u8bed<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8c13\u8bed\u90e8\u5206&#xff1a; can get you into its interactive mode<\/p>\n<ul>\n<li>\u60c5\u6001\u52a8\u8bcd&#xff1a;can<\/li>\n<li>\u4f7f\u5f79\u52a8\u8bcd&#xff1a;get<\/li>\n<li>\u5bbe\u8bed&#xff1a;you<\/li>\n<li>\u5bbe\u8bed\u8865\u8db3\u8bed&#xff1a;into its interactive mode (\u4ecb\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u76ee\u7684\u72b6\u8bed&#xff1a; to debug your code line by line or learn R programming<\/p>\n<ul>\n<li>\u4e0d\u5b9a\u5f0f\u77ed\u8bed\u8868\u793a\u76ee\u7684<\/li>\n<li>\u5e76\u5217\u7ed3\u6784&#xff1a;debug\u2026or learn<\/li>\n<li>\u65b9\u5f0f\u72b6\u8bed&#xff1a;line by line<\/li>\n<\/ul>\n<\/li>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u52a8\u540d\u8bcd\u77ed\u8bed\u4f5c\u4e3b\u8bed&#xff1a;inputting &#034;R&#034;\u662f\u4e3b\u8bed<\/li>\n<li>\u4f7f\u5f79\u7ed3\u6784&#xff1a;get somebody into something<\/li>\n<li>\u5e76\u5217\u4e0d\u5b9a\u5f0f&#xff1a;to debug\u2026or (to) learn&#xff08;\u7b2c\u4e8c\u4e2ato\u53ef\u4ee5\u7701\u7565&#xff09;<\/li>\n<\/ul>\n<hr \/>\n<h4>\u6b65\u9aa45&#xff1a;By the way, the \u201cq()\u201d command allows you to quit this environment provided by R.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>by the way \/ba\u026a \u00f0\u0259 we\u026a\/ (\u77ed\u8bed)&#xff1a;\u987a\u4fbf\u8bf4\u4e00\u4e0b<\/li>\n<li>command \/k\u0259\u02c8m\u0251\u02d0nd\/ (n.)&#xff1a;\u547d\u4ee4<\/li>\n<li>allow \/\u0259\u02c8la\u028a\/ (v.)&#xff1a;\u5141\u8bb8<\/li>\n<li>quit \/kw\u026at\/ (v.)&#xff1a;\u9000\u51fa<\/li>\n<li>environment \/\u026an\u02c8va\u026ar\u0259nm\u0259nt\/ (n.)&#xff1a;\u73af\u5883<\/li>\n<li>provide \/pr\u0259\u02c8va\u026ad\/ (v.)&#xff1a;\u63d0\u4f9b<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<li>\u63d2\u5165\u8bed&#xff1a; By the way (\u72ec\u7acb\u6210\u5206)<\/li>\n<li>\u4e3b\u8bed&#xff1a; the \u201cq()\u201d command<\/li>\n<li>\u8c13\u8bed&#xff1a; allows (\u53ca\u7269\u52a8\u8bcd)<\/li>\n<li>\u95f4\u63a5\u5bbe\u8bed&#xff1a; you<\/li>\n<li>\u76f4\u63a5\u5bbe\u8bed&#xff1a; to quit this environment provided by R\n<ul>\n<li>\u4e0d\u5b9a\u5f0f\u77ed\u8bed\u4f5c\u5bbe\u8bed<\/li>\n<li>\u8fc7\u53bb\u5206\u8bcd\u77ed\u8bed\u4f5c\u540e\u7f6e\u5b9a\u8bed&#xff1a;provided by R (\u4fee\u9970environment)<\/li>\n<\/ul>\n<\/li>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>&#034;allow somebody to do something&#034;\u7ed3\u6784<\/li>\n<li>\u8fc7\u53bb\u5206\u8bcd\u77ed\u8bed&#034;provided by R&#034;\u4f5c\u540e\u7f6e\u5b9a\u8bed&#xff0c;\u76f8\u5f53\u4e8e&#034;which is provided by R&#034;<\/li>\n<\/ul>\n<hr \/>\n<h3>\u57fa\u7840\u6982\u5ff5\u90e8\u5206\u5206\u6790<\/h3>\n<h4>\u7b2c1\u70b9&#xff1a;Maybe you dislike the prompt \u201c&gt;\u201d, so you can easily change it whenever you want by typing options(prompt&#061;&#034;goodluck&#034;).<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<ul>\n<li>maybe \/\u02c8me\u026abi\/ (adv.)&#xff1a;\u4e5f\u8bb8&#xff0c;\u53ef\u80fd<\/li>\n<li>dislike \/d\u026as\u02c8la\u026ak\/ (v.)&#xff1a;\u4e0d\u559c\u6b22<\/li>\n<li>prompt \/pr\u0252mpt\/ (n.)&#xff1a;\u63d0\u793a\u7b26<\/li>\n<li>easily \/\u02c8i\u02d0z\u0259li\/ (adv.)&#xff1a;\u5bb9\u6613\u5730<\/li>\n<li>whenever \/wen\u02c8ev\u0259r\/ (conj.)&#xff1a;\u65e0\u8bba\u4f55\u65f6<\/li>\n<li>type \/ta\u026ap\/ (v.)&#xff1a;\u952e\u5165&#xff0c;\u8f93\u5165<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u5e76\u5217\u590d\u5408\u53e5&#xff0c;\u7531so\u8fde\u63a5\u4e24\u4e2a\u5206\u53e5&#xff1a;<\/p>\n<p>\u7b2c\u4e00\u5206\u53e5&#xff1a; Maybe you dislike the prompt \u201c&gt;\u201d<\/p>\n<ul>\n<li>\u72b6\u8bed&#xff1a;Maybe (\u53e5\u5b50\u526f\u8bcd)<\/li>\n<li>\u4e3b\u8bed&#xff1a;you<\/li>\n<li>\u8c13\u8bed&#xff1a;dislike (\u53ca\u7269\u52a8\u8bcd)<\/li>\n<li>\u5bbe\u8bed&#xff1a;the prompt \u201c&gt;\u201d (\u540d\u8bcd&#043;\u540c\u4f4d\u8bed)<\/li>\n<\/ul>\n<p>\u7b2c\u4e8c\u5206\u53e5&#xff1a; so you can easily change it whenever you want by typing\u2026<\/p>\n<ul>\n<li>\u8fde\u8bcd&#xff1a;so (\u8868\u793a\u7ed3\u679c)<\/li>\n<li>\u4e3b\u8bed&#xff1a;you<\/li>\n<li>\u8c13\u8bed&#xff1a;can change (\u60c5\u6001\u52a8\u8bcd&#043;\u52a8\u8bcd\u539f\u5f62)<\/li>\n<li>\u72b6\u8bed&#xff1a;easily (\u65b9\u5f0f\u526f\u8bcd)<\/li>\n<li>\u5bbe\u8bed&#xff1a;it<\/li>\n<li>\u65f6\u95f4\u72b6\u8bed\u4ece\u53e5&#xff1a;whenever you want\n<ul>\n<li>\u8fde\u63a5\u8bcd&#xff1a;whenever<\/li>\n<li>\u4e3b\u8bed&#xff1a;you<\/li>\n<li>\u8c13\u8bed&#xff1a;want (\u540e\u9762\u7701\u7565\u4e86to change it)<\/li>\n<\/ul>\n<\/li>\n<li>\u65b9\u5f0f\u72b6\u8bed&#xff1a;by typing\u2026 (\u4ecb\u8bcd&#043;\u52a8\u540d\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>&#034;whenever&#034;\u5f15\u5bfc\u65f6\u95f4\u72b6\u8bed\u4ece\u53e5<\/li>\n<li>&#034;by &#043; doing&#034;\u8868\u793a\u65b9\u5f0f\u3001\u624b\u6bb5<\/li>\n<li>\u7701\u7565\u73b0\u8c61&#xff1a;whenever you want (to change it)<\/li>\n<\/ul>\n<hr \/>\n<h4>\u7b2c2\u70b9&#xff1a;A comment in R is represented by the \u201c#\u201d character, with everything following it being ignored by the compiler when running.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>comment<\/td>\n<td>\/\u02c8k\u0252ment\/<\/td>\n<td>n.<\/td>\n<td>\u6ce8\u91ca<\/td>\n<\/tr>\n<tr>\n<td>represent<\/td>\n<td>\/\u02ccrepr\u026a\u02c8zent\/<\/td>\n<td>v.<\/td>\n<td>\u4ee3\u8868&#xff0c;\u8868\u793a<\/td>\n<\/tr>\n<tr>\n<td>character<\/td>\n<td>\/\u02c8k\u00e6r\u0259kt\u0259r\/<\/td>\n<td>n.<\/td>\n<td>\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>ignore<\/td>\n<td>\/\u026a\u0261\u02c8n\u0254\u02d0r\/<\/td>\n<td>v.<\/td>\n<td>\u5ffd\u7565<\/td>\n<\/tr>\n<tr>\n<td>compiler<\/td>\n<td>\/k\u0259m\u02c8pa\u026al\u0259r\/<\/td>\n<td>n.<\/td>\n<td>\u7f16\u8bd1\u5668<\/td>\n<\/tr>\n<tr>\n<td>run<\/td>\n<td>\/r\u028cn\/<\/td>\n<td>v.<\/td>\n<td>\u8fd0\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<li>\n<p>\u4e3b\u53e5&#xff1a; A comment in R is represented by the \u201c#\u201d character<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;A comment<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;in R (\u4fee\u9970comment)<\/li>\n<li>\u8c13\u8bed&#xff1a;is represented (\u88ab\u52a8\u8bed\u6001&#xff0c;\u4e00\u822c\u73b0\u5728\u65f6)<\/li>\n<li>\u65bd\u52a8\u8005&#xff1a;by the \u201c#\u201d character<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u72ec\u7acb\u4e3b\u683c\u7ed3\u6784&#xff1a; with everything following it being ignored by the compiler when running<\/p>\n<ul>\n<li>\u5f15\u5bfc\u8bcd&#xff1a;with<\/li>\n<li>\u903b\u8f91\u4e3b\u8bed&#xff1a;everything<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;following it (\u73b0\u5728\u5206\u8bcd\u77ed\u8bed\u4fee\u9970everything)<\/li>\n<li>\u903b\u8f91\u8c13\u8bed&#xff1a;being ignored (\u88ab\u52a8\u5f62\u5f0f\u7684\u73b0\u5728\u5206\u8bcd)<\/li>\n<li>\u65bd\u52a8\u8005&#xff1a;by the compiler<\/li>\n<li>\u65f6\u95f4\u72b6\u8bed&#xff1a;when running (\u7701\u7565\u4e86it is)<\/li>\n<\/ul>\n<\/li>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u88ab\u52a8\u8bed\u6001&#xff1a;is represented by\u2026<\/li>\n<li>\u72ec\u7acb\u4e3b\u683c\u7ed3\u6784&#xff1a;with &#043; \u540d\u8bcd &#043; \u73b0\u5728\u5206\u8bcd\u77ed\u8bed<\/li>\n<li>\u7701\u7565\u7ed3\u6784&#xff1a;when running &#061; when it is running<\/li>\n<\/ul>\n<hr \/>\n<h4>\u7b2c3\u70b9\u7b2c\u4e00\u6bb5&#xff1a;The working directory is a very important aspect of coding in R. As mentioned earlier, it is often overlooked by beginners. You can use getwd() and setwd() to manage it. This is typically where you store your code, pictures, documents, data files, and everything related to your project.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>working directory<\/td>\n<td>\/\u02c8w\u025c\u02d0k\u026a\u014b d\u0259\u02c8rekt\u0259ri\/<\/td>\n<td>n.<\/td>\n<td>\u5de5\u4f5c\u76ee\u5f55<\/td>\n<\/tr>\n<tr>\n<td>aspect<\/td>\n<td>\/\u02c8\u00e6spekt\/<\/td>\n<td>n.<\/td>\n<td>\u65b9\u9762<\/td>\n<\/tr>\n<tr>\n<td>coding<\/td>\n<td>\/\u02c8k\u0259\u028ad\u026a\u014b\/<\/td>\n<td>n.<\/td>\n<td>\u7f16\u7801&#xff0c;\u7f16\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>overlook<\/td>\n<td>\/\u02cc\u0259\u028av\u0259\u02c8l\u028ak\/<\/td>\n<td>v.<\/td>\n<td>\u5ffd\u89c6&#xff0c;\u5ffd\u7565<\/td>\n<\/tr>\n<tr>\n<td>manage<\/td>\n<td>\/\u02c8m\u00e6n\u026ad\u0292\/<\/td>\n<td>v.<\/td>\n<td>\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>typically<\/td>\n<td>\/\u02c8t\u026ap\u026akli\/<\/td>\n<td>adv.<\/td>\n<td>\u5178\u578b\u5730&#xff0c;\u901a\u5e38<\/td>\n<\/tr>\n<tr>\n<td>store<\/td>\n<td>\/st\u0254\u02d0r\/<\/td>\n<td>v.<\/td>\n<td>\u5b58\u50a8<\/td>\n<\/tr>\n<tr>\n<td>related<\/td>\n<td>\/r\u026a\u02c8le\u026at\u026ad\/<\/td>\n<td>adj.<\/td>\n<td>\u76f8\u5173\u7684<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e5\u5b501&#xff1a;The working directory is a very important aspect of coding in R.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a; SVC\u53e5\u578b<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;The working directory<\/li>\n<li>\u7cfb\u52a8\u8bcd&#xff1a;is<\/li>\n<li>\u8868\u8bed&#xff1a;a very important aspect of coding in R\n<ul>\n<li>\u4e2d\u5fc3\u8bcd&#xff1a;aspect<\/li>\n<li>\u524d\u7f6e\u5b9a\u8bed&#xff1a;a very important<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;of coding in R (\u4ecb\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53e5\u5b502&#xff1a;As mentioned earlier, it is often overlooked by beginners.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<li>\u72b6\u8bed&#xff1a; As mentioned earlier\n<ul>\n<li>As &#043; \u8fc7\u53bb\u5206\u8bcd\u77ed\u8bed&#xff0c;\u76f8\u5f53\u4e8eAs it was mentioned earlier<\/li>\n<\/ul>\n<\/li>\n<li>\u4e3b\u53e5&#xff1a; it is often overlooked by beginners\n<ul>\n<li>\u4e3b\u8bed&#xff1a;it<\/li>\n<li>\u8c13\u8bed&#xff1a;is overlooked (\u88ab\u52a8\u8bed\u6001)<\/li>\n<li>\u9891\u7387\u526f\u8bcd&#xff1a;often<\/li>\n<li>\u65bd\u52a8\u8005&#xff1a;by beginners<\/li>\n<\/ul>\n<\/li>\n<p>\u53e5\u5b503&#xff1a;You can use getwd() and setwd() to manage it.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;You<\/li>\n<li>\u8c13\u8bed&#xff1a;can use (\u60c5\u6001\u52a8\u8bcd&#043;\u52a8\u8bcd\u539f\u5f62)<\/li>\n<li>\u5bbe\u8bed&#xff1a;getwd() and setwd() (\u5e76\u5217\u5bbe\u8bed)<\/li>\n<li>\u76ee\u7684\u72b6\u8bed&#xff1a;to manage it (\u4e0d\u5b9a\u5f0f\u77ed\u8bed)<\/li>\n<\/ul>\n<p>\u53e5\u5b504&#xff1a;This is typically where you store your code, pictures, documents, data files, and everything related to your project.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;This<\/li>\n<li>\u7cfb\u52a8\u8bcd&#xff1a;is<\/li>\n<li>\u526f\u8bcd&#xff1a;typically<\/li>\n<li>\u8868\u8bed\u4ece\u53e5&#xff1a;where you store your code, pictures, documents, data files, and everything related to your project\n<ul>\n<li>\u5f15\u5bfc\u8bcd&#xff1a;where (\u76f8\u5f53\u4e8ethe place where)<\/li>\n<li>\u4e3b\u8bed&#xff1a;you<\/li>\n<li>\u8c13\u8bed&#xff1a;store<\/li>\n<li>\u5bbe\u8bed&#xff1a;your code, pictures, documents, data files, and everything related to your project\n<ul>\n<li>\u5e76\u5217\u5bbe\u8bed<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;related to your project (\u5f62\u5bb9\u8bcd\u77ed\u8bed\u4fee\u9970everything)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u201cAs &#043; \u8fc7\u53bb\u5206\u8bcd&#034;\u4f5c\u72b6\u8bed&#xff0c;\u8868\u793a&#034;\u6b63\u5982\u2026\u201d<\/li>\n<li>&#034;where&#034;\u5f15\u5bfc\u8868\u8bed\u4ece\u53e5<\/li>\n<li>&#034;related to&#034;\u662f\u5f62\u5bb9\u8bcd\u77ed\u8bed\u4f5c\u540e\u7f6e\u5b9a\u8bed<\/li>\n<\/ul>\n<hr \/>\n<h4>\u7b2c3\u70b9\u7b2c\u4e8c\u6bb5&#xff1a;Furthermore, the workspace is crucial for debugging projects, even for release versions. It preserves all information from an R session in a file with the \u201c.RData\u201d extension, including all objects, commands used, loaded data, and so on. Managing these workspace files is straightforward using save.image() and load().<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>furthermore<\/td>\n<td>\/\u02ccf\u025c\u02d0\u00f0\u0259\u02c8m\u0254\u02d0r\/<\/td>\n<td>adv.<\/td>\n<td>\u6b64\u5916&#xff0c;\u800c\u4e14<\/td>\n<\/tr>\n<tr>\n<td>workspace<\/td>\n<td>\/\u02c8w\u025c\u02d0kspe\u026as\/<\/td>\n<td>n.<\/td>\n<td>\u5de5\u4f5c\u7a7a\u95f4<\/td>\n<\/tr>\n<tr>\n<td>crucial<\/td>\n<td>\/\u02c8kru\u02d0\u0283l\/<\/td>\n<td>adj.<\/td>\n<td>\u5173\u952e\u7684&#xff0c;\u81f3\u5173\u91cd\u8981\u7684<\/td>\n<\/tr>\n<tr>\n<td>debug<\/td>\n<td>\/di\u02d0\u02c8b\u028c\u0261\/<\/td>\n<td>v.<\/td>\n<td>\u8c03\u8bd5<\/td>\n<\/tr>\n<tr>\n<td>release<\/td>\n<td>\/r\u026a\u02c8li\u02d0s\/<\/td>\n<td>n.<\/td>\n<td>\u53d1\u5e03&#xff0c;\u7248\u672c<\/td>\n<\/tr>\n<tr>\n<td>version<\/td>\n<td>\/\u02c8v\u025c\u02d0\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u7248\u672c<\/td>\n<\/tr>\n<tr>\n<td>preserve<\/td>\n<td>\/pr\u026a\u02c8z\u025c\u02d0v\/<\/td>\n<td>v.<\/td>\n<td>\u4fdd\u5b58&#xff0c;\u4fdd\u7559<\/td>\n<\/tr>\n<tr>\n<td>session<\/td>\n<td>\/\u02c8se\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u4f1a\u8bdd&#xff0c;\u65f6\u6bb5<\/td>\n<\/tr>\n<tr>\n<td>extension<\/td>\n<td>\/\u026ak\u02c8sten\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u6269\u5c55\u540d<\/td>\n<\/tr>\n<tr>\n<td>include<\/td>\n<td>\/\u026an\u02c8klu\u02d0d\/<\/td>\n<td>v.<\/td>\n<td>\u5305\u62ec<\/td>\n<\/tr>\n<tr>\n<td>object<\/td>\n<td>\/\u02c8\u0252bd\u0292\u026akt\/<\/td>\n<td>n.<\/td>\n<td>\u5bf9\u8c61<\/td>\n<\/tr>\n<tr>\n<td>load<\/td>\n<td>\/l\u0259\u028ad\/<\/td>\n<td>v.<\/td>\n<td>\u52a0\u8f7d<\/td>\n<\/tr>\n<tr>\n<td>straightforward<\/td>\n<td>\/\u02ccstre\u026at\u02c8f\u0254\u02d0w\u0259d\/<\/td>\n<td>adj.<\/td>\n<td>\u76f4\u63a5\u7684&#xff0c;\u7b80\u5355\u7684<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e5\u5b501&#xff1a;Furthermore, the workspace is crucial for debugging projects, even for release versions.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u8fde\u63a5\u526f\u8bcd&#xff1a;Furthermore (\u8868\u793a\u9012\u8fdb)<\/li>\n<li>\u4e3b\u8bed&#xff1a;the workspace<\/li>\n<li>\u7cfb\u52a8\u8bcd&#xff1a;is<\/li>\n<li>\u8868\u8bed&#xff1a;crucial<\/li>\n<li>\u72b6\u8bed&#xff1a;for debugging projects (\u4ecb\u8bcd\u77ed\u8bed&#xff0c;\u8868\u793a\u65b9\u9762)<\/li>\n<li>\u8865\u5145\u72b6\u8bed&#xff1a;even for release versions (\u8fdb\u4e00\u6b65\u5f3a\u8c03)<\/li>\n<\/ul>\n<p>\u53e5\u5b502&#xff1a;It preserves all information from an R session in a file with the \u201c.RData\u201d extension, including all objects, commands used, loaded data, and so on.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;It<\/li>\n<li>\u8c13\u8bed&#xff1a;preserves (\u53ca\u7269\u52a8\u8bcd)<\/li>\n<li>\u5bbe\u8bed&#xff1a;all information<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;from an R session (\u4ecb\u8bcd\u77ed\u8bed\u4fee\u9970information)<\/li>\n<li>\u5730\u70b9\u72b6\u8bed&#xff1a;in a file<\/li>\n<li>\u5b9a\u8bed&#xff1a;with the \u201c.RData\u201d extension (\u4ecb\u8bcd\u77ed\u8bed\u4fee\u9970file)<\/li>\n<li>\u4f34\u968f\u72b6\u8bed&#xff1a;including all objects, commands used, loaded data, and so on\n<ul>\n<li>\u73b0\u5728\u5206\u8bcd\u77ed\u8bed\u4f5c\u72b6\u8bed<\/li>\n<li>\u5e76\u5217\u5bbe\u8bed&#xff1a;objects, commands, data<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;used (\u8fc7\u53bb\u5206\u8bcd\u4fee\u9970commands)<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;loaded (\u8fc7\u53bb\u5206\u8bcd\u4fee\u9970data)<\/li>\n<li>\u77ed\u8bed&#xff1a;and so on (\u7b49\u7b49)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53e5\u5b503&#xff1a;Managing these workspace files is straightforward using save.image() and load().<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;Managing these workspace files (\u52a8\u540d\u8bcd\u77ed\u8bed)<\/li>\n<li>\u7cfb\u52a8\u8bcd&#xff1a;is<\/li>\n<li>\u8868\u8bed&#xff1a;straightforward<\/li>\n<li>\u65b9\u5f0f\u72b6\u8bed&#xff1a;using save.image() and load() (\u73b0\u5728\u5206\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u52a8\u540d\u8bcd\u77ed\u8bed\u4f5c\u4e3b\u8bed&#xff1a;Managing\u2026files<\/li>\n<li>\u73b0\u5728\u5206\u8bcd\u77ed\u8bed\u4f5c\u72b6\u8bed&#xff1a;using\u2026<\/li>\n<li>\u5e76\u5217\u7ed3\u6784&#xff1a;save.image() and load()<\/li>\n<\/ul>\n<hr \/>\n<h4>\u7b2c4\u70b9&#xff1a;Some basic operations are similar to those in other scripting languages like Python and Perl. Both &lt;- and &#061; can be used for assignment (more accurately called \u201cbinding\u201d or \u201cassigning a value to an object\u201d).<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>basic<\/td>\n<td>\/\u02c8be\u026as\u026ak\/<\/td>\n<td>adj.<\/td>\n<td>\u57fa\u672c\u7684<\/td>\n<\/tr>\n<tr>\n<td>operation<\/td>\n<td>\/\u02cc\u0252p\u0259\u02c8re\u026a\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>similar<\/td>\n<td>\/\u02c8s\u026am\u0259l\u0259r\/<\/td>\n<td>adj.<\/td>\n<td>\u76f8\u4f3c\u7684<\/td>\n<\/tr>\n<tr>\n<td>scripting language<\/td>\n<td>\/\u02c8skr\u026apt\u026a\u014b \u02c8l\u00e6\u014b\u0261w\u026ad\u0292\/<\/td>\n<td>n.<\/td>\n<td>\u811a\u672c\u8bed\u8a00<\/td>\n<\/tr>\n<tr>\n<td>assignment<\/td>\n<td>\/\u0259\u02c8sa\u026anm\u0259nt\/<\/td>\n<td>n.<\/td>\n<td>\u8d4b\u503c<\/td>\n<\/tr>\n<tr>\n<td>accurately<\/td>\n<td>\/\u02c8\u00e6kj\u0259r\u0259tli\/<\/td>\n<td>adv.<\/td>\n<td>\u51c6\u786e\u5730<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>\/\u02c8ba\u026and\u026a\u014b\/<\/td>\n<td>n.<\/td>\n<td>\u7ed1\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>object<\/td>\n<td>\/\u02c8\u0252bd\u0292\u026akt\/<\/td>\n<td>n.<\/td>\n<td>\u5bf9\u8c61<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e5\u5b501&#xff1a;Some basic operations are similar to those in other scripting languages like Python and Perl.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;Some basic operations<\/li>\n<li>\u8c13\u8bed&#xff1a;are similar to (\u5f62\u5bb9\u8bcd\u77ed\u8bed\u4f5c\u8c13\u8bed)<\/li>\n<li>\u5bbe\u8bed&#xff1a;those<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;in other scripting languages (\u4ecb\u8bcd\u77ed\u8bed\u4fee\u9970those)<\/li>\n<li>\u4e3e\u4f8b&#xff1a;like Python and Perl (\u4ecb\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<p>\u4ee3\u8bcd&#034;those&#034;\u7684\u7528\u6cd5&#xff1a; \u201cthose&#034;\u5728\u8fd9\u91cc\u6307\u4ee3\u524d\u9762\u63d0\u5230\u7684&#034;operations\u201d&#xff0c;\u907f\u514d\u91cd\u590d\u3002\u76f8\u5f53\u4e8e&#034;the operations&#034;\u3002<\/p>\n<p>\u53e5\u5b502&#xff1a;Both &lt;- and &#061; can be used for assignment (more accurately called \u201cbinding\u201d or \u201cassigning a value to an object\u201d).<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;Both &lt;- and &#061; (\u5e76\u5217\u7ed3\u6784)<\/li>\n<li>\u8c13\u8bed&#xff1a;can be used (\u60c5\u6001\u52a8\u8bcd&#043;\u88ab\u52a8\u8bed\u6001)<\/li>\n<li>\u76ee\u7684\u72b6\u8bed&#xff1a;for assignment (\u4ecb\u8bcd\u77ed\u8bed)<\/li>\n<li>\u63d2\u5165\u8bed\/\u8865\u5145\u8bf4\u660e&#xff1a;more accurately called \u201cbinding\u201d or \u201cassigning a value to an object\u201d\n<ul>\n<li>\u8fc7\u53bb\u5206\u8bcd\u77ed\u8bed\u4f5c\u5b9a\u8bed\u4fee\u9970assignment<\/li>\n<li>\u6bd4\u8f83\u7ea7\u72b6\u8bed&#xff1a;more accurately<\/li>\n<li>\u5e76\u5217\u5bbe\u8bed&#xff1a;\u201cbinding\u201d or \u201cassigning a value to an object\u201d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>&#034;both\u2026and\u2026&#034;\u7ed3\u6784\u8fde\u63a5\u4e24\u4e2a\u5e76\u5217\u4e3b\u8bed<\/li>\n<li>\u88ab\u52a8\u8bed\u6001&#xff1a;can be used<\/li>\n<li>\u8fc7\u53bb\u5206\u8bcd\u77ed\u8bed\u4f5c\u540e\u7f6e\u5b9a\u8bed&#xff1a;called\u2026<\/li>\n<\/ul>\n<hr \/>\n<h4>\u5411\u91cf\u90e8\u5206&#xff1a;Vectors in R differ from most programming languages, particularly in their vectorized operations that can be easily performed in parallel. In other languages, such tasks are more difficult and complex, requiring multiple lines of code.<\/h4>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>vector<\/td>\n<td>\/\u02c8vekt\u0259r\/<\/td>\n<td>n.<\/td>\n<td>\u5411\u91cf<\/td>\n<\/tr>\n<tr>\n<td>differ<\/td>\n<td>\/\u02c8d\u026af\u0259r\/<\/td>\n<td>v.<\/td>\n<td>\u4e0d\u540c&#xff0c;\u76f8\u5f02<\/td>\n<\/tr>\n<tr>\n<td>particularly<\/td>\n<td>\/p\u0259\u02c8t\u026akj\u0259l\u0259li\/<\/td>\n<td>adv.<\/td>\n<td>\u7279\u522b\u5730<\/td>\n<\/tr>\n<tr>\n<td>vectorized<\/td>\n<td>\/\u02c8vekt\u0259ra\u026azd\/<\/td>\n<td>adj.<\/td>\n<td>\u5411\u91cf\u5316\u7684<\/td>\n<\/tr>\n<tr>\n<td>operation<\/td>\n<td>\/\u02cc\u0252p\u0259\u02c8re\u026a\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td>perform<\/td>\n<td>\/p\u0259\u02c8f\u0254\u02d0m\/<\/td>\n<td>v.<\/td>\n<td>\u6267\u884c&#xff0c;\u8fdb\u884c<\/td>\n<\/tr>\n<tr>\n<td>in parallel<\/td>\n<td>\/\u026an \u02c8p\u00e6r\u0259lel\/<\/td>\n<td>\u77ed\u8bed<\/td>\n<td>\u5e76\u884c\u5730<\/td>\n<\/tr>\n<tr>\n<td>task<\/td>\n<td>\/t\u0251\u02d0sk\/<\/td>\n<td>n.<\/td>\n<td>\u4efb\u52a1<\/td>\n<\/tr>\n<tr>\n<td>complex<\/td>\n<td>\/\u02c8k\u0252mpleks\/<\/td>\n<td>adj.<\/td>\n<td>\u590d\u6742\u7684<\/td>\n<\/tr>\n<tr>\n<td>multiple<\/td>\n<td>\/\u02c8m\u028clt\u026apl\/<\/td>\n<td>adj.<\/td>\n<td>\u591a\u4e2a\u7684<\/td>\n<\/tr>\n<tr>\n<td>lines of code<\/td>\n<td>\/la\u026anz \u0259v k\u0259\u028ad\/<\/td>\n<td>\u77ed\u8bed<\/td>\n<td>\u4ee3\u7801\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e5\u5b501&#xff1a;Vectors in R differ from most programming languages, particularly in their vectorized operations that can be easily performed in parallel.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;Vectors<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;in R<\/li>\n<li>\u8c13\u8bed&#xff1a;differ from (\u52a8\u8bcd\u77ed\u8bed)<\/li>\n<li>\u5bbe\u8bed&#xff1a;most programming languages<\/li>\n<li>\u72b6\u8bed&#xff1a;particularly in their vectorized operations (\u4ecb\u8bcd\u77ed\u8bed&#xff0c;\u8868\u793a\u65b9\u9762)\n<ul>\n<li>\u540e\u7f6e\u5b9a\u8bed\u4ece\u53e5&#xff1a;that can be easily performed in parallel\n<ul>\n<li>\u5173\u7cfb\u4ee3\u8bcd&#xff1a;that (\u6307\u4ee3operations)<\/li>\n<li>\u8c13\u8bed&#xff1a;can be performed (\u60c5\u6001\u52a8\u8bcd&#043;\u88ab\u52a8\u8bed\u6001)<\/li>\n<li>\u72b6\u8bed&#xff1a;easily (\u65b9\u5f0f\u526f\u8bcd)<\/li>\n<li>\u72b6\u8bed&#xff1a;in parallel (\u65b9\u5f0f\u72b6\u8bed)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53e5\u5b502&#xff1a;In other languages, such tasks are more difficult and complex, requiring multiple lines of code.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u72b6\u8bed&#xff1a;In other languages (\u4ecb\u8bcd\u77ed\u8bed\u63d0\u524d)<\/li>\n<li>\u4e3b\u8bed&#xff1a;such tasks<\/li>\n<li>\u8c13\u8bed&#xff1a;are (\u7cfb\u52a8\u8bcd)<\/li>\n<li>\u8868\u8bed&#xff1a;more difficult and complex (\u5e76\u5217\u5f62\u5bb9\u8bcd\u6bd4\u8f83\u7ea7)<\/li>\n<li>\u4f34\u968f\u72b6\u8bed\/\u7ed3\u679c\u72b6\u8bed&#xff1a;requiring multiple lines of code (\u73b0\u5728\u5206\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u201cdiffer from&#034;\u662f\u56fa\u5b9a\u642d\u914d&#xff0c;\u8868\u793a&#034;\u4e0e\u2026\u4e0d\u540c\u201d<\/li>\n<li>&#034;that&#034;\u5f15\u5bfc\u5b9a\u8bed\u4ece\u53e5\u4fee\u9970operations<\/li>\n<li>\u73b0\u5728\u5206\u8bcd\u77ed\u8bed&#034;requiring\u2026&#034;\u4f5c\u72b6\u8bed&#xff0c;\u8868\u793a\u4f34\u968f\u6216\u7ed3\u679c<\/li>\n<\/ul>\n<hr \/>\n<h4>\u5305\u7684\u90e8\u5206&#xff1a;<\/h4>\n<p>A package in R refers to a library that supports scientific computation, statistical analysis, machine learning, graphical visualization, and so on. In fact, its functionality is equivalent to libraries in other languages. Use install.packages(\u201cname\u201d) to install a package and library(name) to load it.<\/p>\n<p>\u5355\u8bcd\u91ca\u4e49&#xff1a;<\/p>\n<table>\n<tr>\u5355\u8bcd\u97f3\u6807\u8bcd\u6027\u91ca\u4e49<\/tr>\n<tbody>\n<tr>\n<td>package<\/td>\n<td>\/\u02c8p\u00e6k\u026ad\u0292\/<\/td>\n<td>n.<\/td>\n<td>\u5305&#xff0c;\u8f6f\u4ef6\u5305<\/td>\n<\/tr>\n<tr>\n<td>refer to<\/td>\n<td>\/r\u026a\u02c8f\u025c\u02d0r tu\u02d0\/<\/td>\n<td>\u77ed\u8bed<\/td>\n<td>\u6307\u7684\u662f<\/td>\n<\/tr>\n<tr>\n<td>library<\/td>\n<td>\/\u02c8la\u026abr\u0259ri\/<\/td>\n<td>n.<\/td>\n<td>\u5e93<\/td>\n<\/tr>\n<tr>\n<td>support<\/td>\n<td>\/s\u0259\u02c8p\u0254\u02d0rt\/<\/td>\n<td>v.<\/td>\n<td>\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>scientific<\/td>\n<td>\/\u02ccsa\u026a\u0259n\u02c8t\u026af\u026ak\/<\/td>\n<td>adj.<\/td>\n<td>\u79d1\u5b66\u7684<\/td>\n<\/tr>\n<tr>\n<td>computation<\/td>\n<td>\/\u02cck\u0252mpju\u02c8te\u026a\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u8ba1\u7b97<\/td>\n<\/tr>\n<tr>\n<td>statistical analysis<\/td>\n<td>\/st\u0259\u02c8t\u026ast\u026akl \u0259\u02c8n\u00e6l\u0259s\u026as\/<\/td>\n<td>n.<\/td>\n<td>\u7edf\u8ba1\u5206\u6790<\/td>\n<\/tr>\n<tr>\n<td>machine learning<\/td>\n<td>\/m\u0259\u02c8\u0283i\u02d0n \u02c8l\u025c\u02d0n\u026a\u014b\/<\/td>\n<td>n.<\/td>\n<td>\u673a\u5668\u5b66\u4e60<\/td>\n<\/tr>\n<tr>\n<td>graphical<\/td>\n<td>\/\u02c8\u0261r\u00e6f\u026akl\/<\/td>\n<td>adj.<\/td>\n<td>\u56fe\u5f62\u7684<\/td>\n<\/tr>\n<tr>\n<td>visualization<\/td>\n<td>\/\u02ccv\u026a\u0292u\u0259la\u026a\u02c8ze\u026a\u0283n\/<\/td>\n<td>n.<\/td>\n<td>\u53ef\u89c6\u5316<\/td>\n<\/tr>\n<tr>\n<td>functionality<\/td>\n<td>\/\u02ccf\u028c\u014bk\u0283\u0259\u02c8n\u00e6l\u0259ti\/<\/td>\n<td>n.<\/td>\n<td>\u529f\u80fd\u6027<\/td>\n<\/tr>\n<tr>\n<td>equivalent<\/td>\n<td>\/\u026a\u02c8kw\u026av\u0259l\u0259nt\/<\/td>\n<td>adj.<\/td>\n<td>\u76f8\u7b49\u7684&#xff0c;\u7b49\u6548\u7684<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53e5\u5b501&#xff1a;A package in R refers to a library that supports scientific computation, statistical analysis, machine learning, graphical visualization, and so on.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u8bed&#xff1a;A package<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;in R<\/li>\n<li>\u8c13\u8bed&#xff1a;refers to (\u52a8\u8bcd\u77ed\u8bed)<\/li>\n<li>\u5bbe\u8bed&#xff1a;a library<\/li>\n<li>\u5b9a\u8bed\u4ece\u53e5&#xff1a;that supports scientific computation, statistical analysis, machine learning, graphical visualization, and so on\n<ul>\n<li>\u5173\u7cfb\u4ee3\u8bcd&#xff1a;that (\u6307\u4ee3library&#xff0c;\u4f5c\u4e3b\u8bed)<\/li>\n<li>\u8c13\u8bed&#xff1a;supports<\/li>\n<li>\u5bbe\u8bed&#xff1a;scientific computation, statistical analysis, machine learning, graphical visualization, and so on (\u5e76\u5217\u540d\u8bcd\u77ed\u8bed)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53e5\u5b502&#xff1a;In fact, its functionality is equivalent to libraries in other languages.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u63d2\u5165\u8bed&#xff1a;In fact (\u4e8b\u5b9e\u4e0a)<\/li>\n<li>\u4e3b\u8bed&#xff1a;its functionality<\/li>\n<li>\u8c13\u8bed&#xff1a;is equivalent to (\u5f62\u5bb9\u8bcd\u77ed\u8bed\u4f5c\u8c13\u8bed)<\/li>\n<li>\u5bbe\u8bed&#xff1a;libraries<\/li>\n<li>\u540e\u7f6e\u5b9a\u8bed&#xff1a;in other languages (\u4ecb\u8bcd\u77ed\u8bed\u4fee\u9970libraries)<\/li>\n<\/ul>\n<p>\u53e5\u5b503&#xff1a;Use install.packages(\u201cname\u201d) to install a package and library(name) to load it.<\/p>\n<p>\u8bed\u6cd5\u7ed3\u6784&#xff1a; \u8fd9\u662f\u4e00\u4e2a\u7948\u4f7f\u53e5&#xff0c;\u5305\u542b\u5e76\u5217\u7ed3\u6784&#xff1a;<\/p>\n<ul>\n<li>\u8c13\u8bed&#xff1a;Use (\u52a8\u8bcd\u539f\u5f62)<\/li>\n<li>\u5bbe\u8bed&#xff1a;install.packages(\u201cname\u201d)<\/li>\n<li>\u76ee\u7684\u72b6\u8bed&#xff1a;to install a package<\/li>\n<li>\u8fde\u8bcd&#xff1a;and<\/li>\n<li>\u7701\u7565\u7ed3\u6784&#xff1a;[(Use) library(name) to load it]\n<ul>\n<li>\u7701\u7565\u4e86\u8c13\u8bedUse<\/li>\n<li>\u5bbe\u8bed&#xff1a;library(name)<\/li>\n<li>\u76ee\u7684\u72b6\u8bed&#xff1a;to load it<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8bed\u6cd5\u70b9&#xff1a;<\/p>\n<ul>\n<li>&#034;refer to&#034;\u662f\u56fa\u5b9a\u77ed\u8bed\u52a8\u8bcd<\/li>\n<li>&#034;that&#034;\u5f15\u5bfc\u5b9a\u8bed\u4ece\u53e5<\/li>\n<li>&#034;be equivalent to&#034;\u662f\u56fa\u5b9a\u642d\u914d<\/li>\n<li>\u7948\u4f7f\u53e5\u7684\u5e76\u5217\u7ed3\u6784\u4e2d&#xff0c;\u7b2c\u4e8c\u4e2a\u52a8\u8bcd\u53ef\u4ee5\u7701\u7565<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5e38\u7528\u8bed\u6cd5\u7ed3\u6784\u603b\u7ed3<\/h3>\n<h4>1. \u53e5\u5b50\u7c7b\u578b\u7edf\u8ba1<\/h4>\n<table>\n<tr>\u53e5\u5b50\u7c7b\u578b\u51fa\u73b0\u6b21\u6570\u793a\u4f8b<\/tr>\n<tbody>\n<tr>\n<td>\u7b80\u5355\u53e5<\/td>\n<td>\u591a<\/td>\n<td>R is a free software\u2026<\/td>\n<\/tr>\n<tr>\n<td>\u590d\u5408\u53e5<\/td>\n<td>\u591a<\/td>\n<td>You can use\u2026to manage it<\/td>\n<\/tr>\n<tr>\n<td>\u590d\u6742\u53e5<\/td>\n<td>\u591a<\/td>\n<td>the procedure of what you need to do\u2026<\/td>\n<\/tr>\n<tr>\n<td>\u7948\u4f7f\u53e5<\/td>\n<td>\u591a<\/td>\n<td>Go to\u2026 Download\u2026 Use\u2026<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u4e3b\u8981\u8bed\u6cd5\u70b9\u6c47\u603b<\/h4>\n<p>\u65f6\u6001&#xff1a;<\/p>\n<ul>\n<li>\u4e00\u822c\u73b0\u5728\u65f6&#xff1a;\u7528\u4e8e\u9648\u8ff0\u4e8b\u5b9e&#xff08;\u536090%&#xff09;<\/li>\n<li>\u4e00\u822c\u5c06\u6765\u65f6&#xff1a;will be&#xff08;\u5c11\u91cf&#xff09;<\/li>\n<\/ul>\n<p>\u8bed\u6001&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u52a8\u8bed\u6001&#xff1a;\u4e3b\u8981\u7528\u4e8e\u64cd\u4f5c\u8bf4\u660e<\/li>\n<li>\u88ab\u52a8\u8bed\u6001&#xff1a;is represented, is overlooked, can be used<\/li>\n<\/ul>\n<p>\u975e\u8c13\u8bed\u52a8\u8bcd&#xff1a;<\/p>\n<ul>\n<li>\u52a8\u540d\u8bcd\u4f5c\u4e3b\u8bed&#xff1a;inputting \u201cR\u201d, Managing these files<\/li>\n<li>\u4e0d\u5b9a\u5f0f\u4f5c\u72b6\u8bed&#xff1a;to debug, to manage, to install<\/li>\n<li>\u5206\u8bcd\u4f5c\u5b9a\u8bed&#xff1a;provided by R, commands used, loaded data<\/li>\n<li>\u5206\u8bcd\u4f5c\u72b6\u8bed&#xff1a;including\u2026, requiring\u2026<\/li>\n<\/ul>\n<p>\u4ece\u53e5\u7c7b\u578b&#xff1a;<\/p>\n<ul>\n<li>\u540d\u8bcd\u6027\u4ece\u53e5&#xff1a;what you need to do<\/li>\n<li>\u5b9a\u8bed\u4ece\u53e5&#xff1a;that supports\u2026, where your project\u2019s home will be<\/li>\n<li>\u72b6\u8bed\u4ece\u53e5&#xff1a;whenever you want, when running<\/li>\n<\/ul>\n<h4>3. \u6280\u672f\u5199\u4f5c\u7279\u70b9<\/h4>\n<li>\u6e05\u6670\u6027&#xff1a;\u4f7f\u7528\u7b80\u5355\u76f4\u63a5\u7684\u53e5\u5f0f<\/li>\n<li>\u51c6\u786e\u6027&#xff1a;\u4f7f\u7528\u4e13\u4e1a\u672f\u8bed\u5e76\u52a0\u4ee5\u89e3\u91ca<\/li>\n<li>\u6761\u7406\u6027&#xff1a;\u4f7f\u7528\u5e76\u5217\u7ed3\u6784\u548c\u987a\u5e8f\u8bcd<\/li>\n<li>\u5ba2\u89c2\u6027&#xff1a;\u591a\u7528\u88ab\u52a8\u8bed\u6001\u548c\u4e00\u822c\u73b0\u5728\u65f6<\/li>\n<li>\u6307\u5bfc\u6027&#xff1a;\u5927\u91cf\u4f7f\u7528\u7948\u4f7f\u53e5<\/li>\n<h4>4. \u9ad8\u9891\u8bcd\u6c47\u7edf\u8ba1<\/h4>\n<table>\n<tr>\u8bcd\u7c7b\u9ad8\u9891\u8bcd<\/tr>\n<tbody>\n<tr>\n<td>\u540d\u8bcd<\/td>\n<td>R, package, data, code, file<\/td>\n<\/tr>\n<tr>\n<td>\u52a8\u8bcd<\/td>\n<td>use, install, load, manage, debug<\/td>\n<\/tr>\n<tr>\n<td>\u4ecb\u8bcd<\/td>\n<td>in, to, for, by, from<\/td>\n<\/tr>\n<tr>\n<td>\u8fde\u8bcd<\/td>\n<td>and, or, that, where, when<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55What does a beginner in R do?Foundation\u82f1\u8bed\u8bed\u6cd5\u8be6\u7ec6\u5206\u6790\u76ee\u5f55\u5f15\u8a00\u90e8\u5206\u5206\u6790\u6807\u9898&#xff1a;What does a beginner in R do?\u53e5\u5b501&#xff1a;R is a free software environment for statistical computing and graphics.\u53e5\u5b502&#xff1a;As a new user in R, the procedure of what you ne<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[799,125],"topic":[],"class_list":["post-79878","post","type-post","status-publish","format-standard","hentry","category-server","tag-r","tag-125"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/79878.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55What does a beginner in R do?Foundation\u82f1\u8bed\u8bed\u6cd5\u8be6\u7ec6\u5206\u6790\u76ee\u5f55\u5f15\u8a00\u90e8\u5206\u5206\u6790\u6807\u9898&#xff1a;What does a beginner in R do?\u53e5\u5b501&#xff1a;R is a free software environment for statistical computing and graphics.\u53e5\u5b502&#xff1a;As a new user in R, the procedure of what you ne\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/79878.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-03T06:26:11+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79878.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/79878.html\",\"name\":\"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-03T06:26:11+00:00\",\"dateModified\":\"2026-03-03T06:26:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/79878.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/79878.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79878.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/79878.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55What does a beginner in R do?Foundation\u82f1\u8bed\u8bed\u6cd5\u8be6\u7ec6\u5206\u6790\u76ee\u5f55\u5f15\u8a00\u90e8\u5206\u5206\u6790\u6807\u9898&#xff1a;What does a beginner in R do?\u53e5\u5b501&#xff1a;R is a free software environment for statistical computing and graphics.\u53e5\u5b502&#xff1a;As a new user in R, the procedure of what you ne","og_url":"https:\/\/www.wsisp.com\/helps\/79878.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-03T06:26:11+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"17 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/79878.html","url":"https:\/\/www.wsisp.com\/helps\/79878.html","name":"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-03T06:26:11+00:00","dateModified":"2026-03-03T06:26:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/79878.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/79878.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/79878.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6280\u672f\u9006\u5411\u82f1\u8bed|202602018"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=79878"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79878\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=79878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=79878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=79878"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=79878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}