{"id":1445,"date":"2026-02-05T04:58:21","date_gmt":"2026-02-04T20:58:21","guid":{"rendered":"http:\/\/18.139.161.68\/?page_id=1445"},"modified":"2026-02-05T05:03:07","modified_gmt":"2026-02-04T21:03:07","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8rstudio%e7%9a%84%e7%bb%a7%e4%bb%bb%e8%80%85positron%e4%b8%8a%e7%94%a8gpt%e6%9c%80%e6%96%b0%e6%a8%a1%e5%9e%8b%e5%b8%ae%e5%8a%a9%e4%bd%a0%e5%86%99%e4%bb%a3%e7%a0%81","status":"publish","type":"page","link":"http:\/\/18.139.161.68\/?page_id=1445","title":{"rendered":"\u5982\u4f55\u5728Rstudio\u7684\u7ee7\u4efb\u8005Positron\u4e0a\u7528GPT\u6700\u65b0\u6a21\u578b\u5e2e\u52a9\u4f60\u5199\u4ee3\u7801?"},"content":{"rendered":"<h1>\u524d\u8a00<\/h1>\n<p>\u5982\u679c\u4f60\u662f R \u8bed\u8a00\u7528\u6237\uff0c\u4e00\u5b9a\u5bf9 RStudio \u4e0d\u964c\u751f\u3002\u800c\u73b0\u5728\uff0cRStudio \u7684\u5f00\u53d1\u516c\u53f8 Posit\uff08\u539f RStudio \u516c\u53f8\uff09\u63a8\u51fa\u4e86\u4e0b\u4e00\u4ee3\u6570\u636e\u79d1\u5b66 IDE \u2014\u2014 Positron\u3002\nPositron \u4e0d\u4ec5\u7ee7\u627f\u4e86 RStudio \u5bf9 R \u8bed\u8a00\u7684\u4f18\u79c0\u652f\u6301\uff0c\u8fd8\u539f\u751f\u96c6\u6210\u4e86 AI \u7f16\u7a0b\u52a9\u624b\uff0c\u53ef\u4ee5\u5e2e\u4f60\u5199\u4ee3\u7801\u3001\u8c03\u8bd5\u3001\u91cd\u6784\uff0c\u751a\u81f3\u89e3\u91ca\u590d\u6742\u7684\u4ee3\u7801\u903b\u8f91\u3002\n\u672c\u6587\u5c06\u624b\u628a\u624b\u6559\u4f60\u5982\u4f55\u5728 Positron \u4e2d\u914d\u7f6e GPT \u6700\u65b0\u6a21\u578b\uff08\u5982 GPT-5.2\u3001GPT-4o\uff09\uff0c\u8ba9 AI \u6210\u4e3a\u4f60\u7684\u7f16\u7a0b\u52a9\u624b\u3002<\/p>\n<h2>1. \u51c6\u5907\u5de5\u4f5c<\/h2>\n<h3>1.1 \u4e0b\u8f7d\u5b89\u88c5 Positron<\/h3>\n<p>\u8bbf\u95ee Positron \u5b98\u7f51\u4e0b\u8f7d\uff1a<a href=\"https:\/\/positron.posit.co\/download.html\">https:\/\/positron.posit.co\/download.html<\/a>\n\u652f\u6301 Windows\u3001macOS \u548c Linux\u3002<\/p>\n<h3>1.2 \u83b7\u53d6 API Key<\/h3>\n<p>\u8981\u4f7f\u7528 AI \u529f\u80fd\uff0c\u4f60\u9700\u8981\u5148\u83b7\u53d6\u4e00\u4e0bbioinfoark\u7684key: <a href=\"https:\/\/www.bioinfoark.com\/?page_id=902\">https:\/\/www.bioinfoark.com\/?page_id=902<\/a><\/p>\n<p>\u70b9\u51fb<strong>\u514d\u8d39\u9886\u53d6 Key<\/strong>\u5373\u53ef\u9886\u53d6key, \u70b9\u51fb\u4e0b\u65b9\u7684\u5145\u503c\u6309\u94ae\u5373\u53ef\u5145\u503c.<\/p>\n<p>\ud83d\udca1 bioinfoark \u7684 API \u652f\u6301\u591a\u79cd\u6a21\u578b\uff0c\u5305\u62ec GPT-5.2\u3001GPT-4o \u7b49\u6700\u65b0\u6a21\u578b\uff0c\u6309\u7528\u91cf\u8ba1\u8d39, \u6ca1\u6709\u6708\u8d39, \u7528\u591a\u5c11\u4ed8\u591a\u5c11\u5373\u53ef~<\/p>\n<h2>2. \u914d\u7f6e settings.json<\/h2>\n<h3>2.1 \u6253\u5f00\u8bbe\u7f6e\u6587\u4ef6<\/h3>\n<p>\u5728 Positron \u4e2d\uff0c\u6309\u4e0b\u5feb\u6377\u952e<code>Ctrl+Shift+P<\/code>\uff08Windows\uff09\u6216 <code>Cmd+Shift+P<\/code>\uff08macOS) \uff0c\u8f93\u5165\uff1a<\/p>\n<pre><code>Preferences: Open User Settings (JSON)<\/code><\/pre>\n<p>2.2 \u542f\u7528 AI Assistant\n\u5c06\u4ee5\u4e0b\u914d\u7f6e\u7c98\u8d34\u5230 settings.json \u6587\u4ef6\u4e2d\uff1a<\/p>\n<pre><code>{\n    &quot;positron.assistant.enabledProviders&quot;: [&quot;openai-compatible&quot;],\n    &quot;positron.assistant.models.include&quot;: [\n        &quot;^gpt-4o-mini$&quot;,\n        &quot;^gpt-4o$&quot;,\n        &quot;^gpt-5\\\\.2$&quot;\n    ],\n    &quot;positron.assistant.models.preference.global&quot;: &quot;gpt-4o-mini&quot;,\n    &quot;positron.assistant.enable&quot;: true\n}<\/code><\/pre>\n<p>\u914d\u7f6e\u8bf4\u660e\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8bbe\u7f6e\u9879<\/th>\n<th>\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>enabledProviders<\/code><\/td>\n<td>\u542f\u7528 OpenAI \u517c\u5bb9\u7684\u81ea\u5b9a\u4e49 Provider<\/td>\n<\/tr>\n<tr>\n<td><code>models.include<\/code><\/td>\n<td>\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fc7\u6ee4\u6a21\u578b\uff0c<code>^...$<\/code> \u8868\u793a\u7cbe\u786e\u5339\u914d<\/td>\n<\/tr>\n<tr>\n<td><code>models.preference.global<\/code><\/td>\n<td>\u8bbe\u7f6e\u9ed8\u8ba4\u6a21\u578b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4fdd\u5b58\u540e\uff0c\u6309<code>Ctrl+Shift+P<\/code>\uff08Windows\uff09\u6216 <code>Cmd+Shift+P<\/code>\uff08macOS) \u4e4b\u540e, \u518d\u8fd0\u884c\u547d\u4ee4 <\/p>\n<pre><code>Developer: Reload Window <\/code><\/pre>\n<p>\u91cd\u65b0\u52a0\u8f7d Positron\u3002<\/p>\n<h3>2.3 \u914d\u7f6e API \u8fde\u63a5<\/h3>\n<p>\u6309 <code>Cmd+Shift+P<\/code>\uff0c\u8f93\u5165 <code>Positron Assistant: Configure Language Model Providers<\/code>\n\u9009\u62e9 <code>Custom Provider<\/code>\n\u586b\u5165\uff1a<\/p>\n<p>API Key: \u4f60\u7684 bioinfoark API Key<\/p>\n<p>Base URL: <a href=\"https:\/\/oa.ai01.org\/v1\">https:\/\/oa.ai01.org\/v1<\/a><\/p>\n<p><img src=\"http:\/\/www.bioinfoark.com\/wp-content\/uploads\/2026\/02\/1-300x249.png\" alt=\"\u586b\u5165key \u548c URL\u70b9\u51fbSign in\u5c31\u53ef\u4ee5\u4f7f\u7528\u5566\" \/><\/p>\n<p>\u70b9\u51fb Sign in \u5373\u53ef\u4f7f\u7528!<\/p>\n<h2>3. \u8bbe\u7f6e\u81ea\u5b9a\u4e49 Prompt<\/h2>\n<p>\u4e3a\u4e86\u8ba9 AI \u66f4\u61c2 R \u8bed\u8a00\u548c\u4f60\u7684\u7f16\u7a0b\u98ce\u683c\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49 Prompt\u3002<\/p>\n<h3>3.1 \u521b\u5efa Prompt \u6587\u4ef6<\/h3>\n<p>\u6309 <code>Cmd+Shift+P<\/code>\uff0c\u8f93\u5165 <\/p>\n<pre><code>Chat: New Prompt File\u2026<\/code><\/pre>\n<p>\u9009\u62e9\u6700\u4e0b\u9762\u7684 <code>User Data<\/code>\uff08\u5168\u5c40\u751f\u6548\uff09\n\u8f93\u5165\u6587\u4ef6\u540d\uff0c\u5982 <code>r-code<\/code><\/p>\n<h3>3.2 \u7f16\u5199 R \u8bed\u8a00\u4e13\u5c5e Prompt<\/h3>\n<p>\u5c06\u751f\u6210\u7684 r-code.prompt.md \u6587\u4ef6\u5185\u5bb9\u66ff\u6362\u4e3a\uff1a<\/p>\n<pre><code>---\nname: &quot;R Code Assistant&quot;\ndescription: &quot;R \u8bed\u8a00\u9ad8\u7ea7\u7f16\u7a0b\u52a9\u624b&quot;\nmode: agent\n---\n\n\u4f60\u662f\u4e00\u4f4d\u8d44\u6df1\u7684 R \u8bed\u8a00\u9ad8\u7ea7\u67b6\u6784\u5e08\uff0c\u4e13\u6ce8\u6570\u636e\u79d1\u5b66\u4e0e\u53ef\u91cd\u590d\u7814\u7a76\u3002\u8bf7\u9075\u5b88\u4ee5\u4e0b\u89c4\u5219\uff1a\n\n## \u4ee3\u7801\u98ce\u683c\n- \u4f18\u5148\u4f7f\u7528 tidyverse\uff08dplyr\u3001tidyr\u3001ggplot2\uff09\uff0c\u907f\u514d base R \u7684\u5197\u957f\u5199\u6cd5\uff0c\u9664\u975e\u7528\u6237\u660e\u786e\u8981\u6c42\n- \u53d8\u91cf\u547d\u540d\u4f7f\u7528 snake_case\n- \u4f7f\u7528\u7ba1\u9053\u64cd\u4f5c\u7b26 |&gt; \u6216 %&gt;%\n- \u9002\u5f53\u6362\u884c\u4e0e\u6ce8\u91ca\uff0c\u4fdd\u6301\u53ef\u8bfb\u6027\n\n## \u8f93\u51fa\u89c4\u8303\n- \u5148\u7ed9\u7b80\u77ed\u601d\u8def\uff0c\u518d\u7ed9\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\n- \u82e5\u6d89\u53ca\u5305\uff0c\u8bf7\u6ce8\u660e\u9700\u8981 library() \u54ea\u4e9b\u5305\n- \u4ee3\u7801\u6ce8\u91ca\u4f7f\u7528\u4e2d\u6587\n\n## \u4ee3\u7801\u91cd\u6784\n- \u82e5\u7528\u6237\u7ed9\u7684\u662f\u6df7\u4e71\u6216\u65e7\u98ce\u683c R \u4ee3\u7801\uff0c\u4e3b\u52a8\u5efa\u8bae\u91cd\u6784\u4e3a\u73b0\u4ee3 tidyverse \u98ce\u683c\u5e76\u8bf4\u660e\u7406\u7531\n\n## \u53ef\u89c6\u5316\n- \u4f18\u5148\u4f7f\u7528 ggplot2 \u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\n- \u56fe\u8868\u6dfb\u52a0\u6e05\u6670\u7684\u6807\u9898\u548c\u8f74\u6807\u7b7e<\/code><\/pre>\n<p>\u4fdd\u5b58\u540e\uff0c\u5728 Chat \u8f93\u5165\u6846\u8f93\u5165 \/ \u5c31\u80fd\u770b\u5230\u5e76\u4f7f\u7528\u8fd9\u4e2a Prompt\u3002<\/p>\n<h2>4. \u5b9e\u6218\u6f14\u793a\uff1a\u7528 AI \u91cd\u6784\u4e11\u964b\u7684 R \u4ee3\u7801<\/h2>\n<p>\u73b0\u5728\u6765\u770b\u770b AI \u7684\u5b9e\u9645\u6548\u679c\u3002<\/p>\n<h3>4.1 \u539f\u59cb\u4ee3\u7801\uff08\u53cd\u9762\u6559\u6750\uff09<\/h3>\n<p>\u4e0b\u9762\u662f\u4e00\u6bb5&quot;\u80fd\u8dd1\u4f46\u5f88\u70c2&quot;\u7684 R \u4ee3\u7801\uff1a<\/p>\n<pre><code>data(iris)\nsl=iris$Sepal.Length;sw=iris$Sepal.Width;sp=iris$Species\ncols=c()\nfor(i in 1:nrow(iris)){\nif(sp[i]==&quot;setosa&quot;){cols=c(cols,&quot;red&quot;)}\nelse if(sp[i]==&quot;versicolor&quot;){cols=c(cols,&quot;green&quot;)}\nelse{cols=c(cols,&quot;blue&quot;)}}\nplot(sl,sw,col=cols,pch=16,xlab=&quot;&quot;,ylab=&quot;&quot;,main=&quot;iris&quot;)\nm1=mean(sl[sp==&quot;setosa&quot;]);m2=mean(sl[sp==&quot;versicolor&quot;]);m3=mean(sl[sp==&quot;virginica&quot;])\nlegend(&quot;topright&quot;,legend=c(&quot;setosa&quot;,&quot;versicolor&quot;,&quot;virginica&quot;),col=c(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),pch=16)\nabline(v=c(m1,m2,m3),lty=2)<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\u53d8\u91cf\u547d\u540d\u6df7\u4e71\uff08sl, sw, sp, m1, m2, m3\uff09<\/li>\n<li>\u7528 for \u5faa\u73af\u62fc\u63a5\u5411\u91cf\uff08\u6548\u7387\u6781\u4f4e\uff09<\/li>\n<li>\u6ca1\u6709\u6362\u884c\u548c\u7f29\u8fdb<\/li>\n<li>\u4f7f\u7528 base R plot\uff08\u4e11\uff09<\/li>\n<li>xlab\/ylab \u4e3a\u7a7a<\/li>\n<li>\u786c\u7f16\u7801\u989c\u8272<\/li>\n<\/ul>\n<p><img src=\"http:\/\/www.bioinfoark.com\/wp-content\/uploads\/2026\/02\/2-300x101.png\" alt=\"\u4e11\u964b\u7684\u6d4b\u8bd5\u4ee3\u7801\" \/><\/p>\n<p>\u751f\u6210\u7684\u7ed3\u679c\u4e5f\u5f88\u4e11<\/p>\n<p><img src=\"http:\/\/www.bioinfoark.com\/wp-content\/uploads\/2026\/02\/3-300x177.png\" alt=\"\" \/><\/p>\n<h3>4.2 \u4f7f\u7528 AI \u91cd\u6784<\/h3>\n<ol>\n<li><strong>\u9009\u4e2d\u8fd9\u6bb5\u4ee3\u7801(\u8fd9\u4e00\u6b65\u5f88\u91cd\u8981!)<\/strong><\/li>\n<li>\u53f3\u952e\u9009\u62e9 <code>Positron Assistant<\/code> \u6216\u4f7f\u7528\u5feb\u6377\u952e\u6253\u5f00 <code>Inline Chat<\/code><\/li>\n<li>\u8f93\u5165\uff1a<code>\u8bf7\u7528 tidyverse \u98ce\u683c\u91cd\u6784\u8fd9\u6bb5\u4ee3\u7801\uff0c\u4f7f\u7528 ggplot2 \u7ed8\u56fe<\/code>\n,..\n<h3>4.3 AI \u91cd\u6784\u540e\u7684\u4ee3\u7801<\/h3>\n<p>\u7136\u540eGPT\u5c31\u53ef\u4ee5\u5e2e\u4f60\u91cd\u6784\u4ee3\u7801:<\/p><\/li>\n<\/ol>\n<pre><code>library(tidyverse)\n\n# \u8ba1\u7b97\u6bcf\u4e2a\u7269\u79cd\u7684\u843c\u7247\u957f\u5ea6\u5747\u503c\nspecies_means &lt;- iris |&gt;\n  group_by(Species) |&gt;\n  summarise(mean_sepal_length = mean(Sepal.Length))\n\n# \u7ed1\u5236\u6563\u70b9\u56fe\nggplot(iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species)) +\n  geom_point(size = 3) +\n  geom_vline(\n    data = species_means,\n    aes(xintercept = mean_sepal_length, color = Species),\n    linetype = &quot;dashed&quot;\n  ) +\n  scale_color_manual(values = c(&quot;setosa&quot; = &quot;#E41A1C&quot;, \n                                 &quot;versicolor&quot; = &quot;#4DAF4A&quot;, \n                                 &quot;virginica&quot; = &quot;#377EB8&quot;)) +\n  labs(\n    title = &quot;Iris \u6570\u636e\u96c6\uff1a\u843c\u7247\u957f\u5ea6\u4e0e\u5bbd\u5ea6\u7684\u5173\u7cfb&quot;,\n    x = &quot;\u843c\u7247\u957f\u5ea6 (cm)&quot;,\n    y = &quot;\u843c\u7247\u5bbd\u5ea6 (cm)&quot;,\n    color = &quot;\u7269\u79cd&quot;\n  ) +\n  theme_minimal()<\/code><\/pre>\n<h2>FAQ<\/h2>\n<h3>1. \u4e3a\u4ec0\u4e48\u9009\u8fd9 3 \u4e2a\u6a21\u578b\uff1f<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u6a21\u578b<\/th>\n<th>\u9002\u7528\u573a\u666f<\/th>\n<th>\u6210\u672c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>gpt-4o-mini<\/td>\n<td>\u65e5\u5e38\u7f16\u7a0b\u3001\u7b80\u5355\u4efb\u52a1<\/td>\n<td>\ud83d\udcb0 \u6700\u4fbf\u5b9c\uff0c\u63a8\u8350\u9ed8\u8ba4<\/td>\n<\/tr>\n<tr>\n<td>gpt-4o<\/td>\n<td>\u4e2d\u7b49\u590d\u6742\u5ea6\u3001\u8c03\u8bd5\u91cd\u6784<\/td>\n<td>\ud83d\udcb0\ud83d\udcb0 \u4e2d\u7b49<\/td>\n<\/tr>\n<tr>\n<td>gpt-5.2<\/td>\n<td>\u590d\u6742\u67b6\u6784\u3001\u7591\u96be\u95ee\u9898<\/td>\n<td>\ud83d\udcb0\ud83d\udcb0\ud83d\udcb0 \u6700\u5f3a\u4f46\u6700\u8d35<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>2. \u662f\u5426\u652f\u6301 Claude \u548c Gemini\uff1f<\/h3>\n<p>\u76ee\u524d Positron \u5bf9 Claude \u548c Gemini \u6a21\u578b\u7684\u652f\u6301\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\uff1a<\/p>\n<ol>\n<li>\n<p>Claude \u6a21\u578b\uff1aPositron \u53d1\u9001\u7684 <code>tool_choice<\/code> \u53c2\u6570\u683c\u5f0f\u4e0e Claude API \u4e0d\u517c\u5bb9\uff0c\u4f1a\u62a5\u9519 <code>tool_choice: Input should be a valid dictionary<\/code> <\/p>\n<\/li>\n<li>\n<p>Gemini \/ Grok \u6a21\u578b\uff1a\u867d\u7136bioinfoark\u652f\u6301\u8fd9\u4e9b\u6a21\u578b\uff0c\u4f46 Positron \u7684\u6a21\u578b\u8fc7\u6ee4\u903b\u8f91\u65e0\u6cd5\u6b63\u786e\u8bc6\u522b\uff0c\u5bfc\u81f4\u4e0d\u663e\u793a\u5728\u9009\u62e9\u5217\u8868\u4e2d.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>\u26a0\ufe0f \u8fd9\u662f Positron \u76ee\u524d\u7684\u9650\u5236\uff0c\u4e0e bioinfoark API \u670d\u52a1\u65e0\u5173\u3002bioinfoark \u7684 API \u5b8c\u6574\u652f\u6301 Claude\u3001Gemini\u3001Grok \u7b49\u6a21\u578b\uff0c\u5728\u5176\u4ed6\u652f\u6301\u8fd9\u4e9b\u6a21\u578b\u7684\u5ba2\u6237\u7aef\uff08\u5982 ChatBox\u3001NextChat\u3001Cherry studio \u7b49\uff09\u4e2d\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n<\/blockquote>\n<p>\u671f\u5f85 Positron \u540e\u7eed\u7248\u672c\u4fee\u590d\u8fd9\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\u3002\u76ee\u524d\u5efa\u8bae\u4f7f\u7528 GPT \u7cfb\u5217\u6a21\u578b\u3002<\/p>\n<p>\u4ee5\u4e0a\u60c5\u51b5\u662f\u57282026\u5e742\u67084\u65e5, Positron\u7248\u672c <code>2026.02.0 build 139<\/code>\u5f97\u5230\u7684. <\/p>\n<p>\u5177\u4f53\u7248\u672c\u4fe1\u606f\u5982\u4e0b:<\/p>\n<pre><code>Positron Version: 2026.02.0 build 139\nCode - OSS Version: 1.106.0\nCommit: 4b472e9bf40ca88f886fe9c7fcfbb9ee702fccd0\nDate: 2026-01-29T04:44:10.743Z\nElectron: 37.7.0\nChromium: 138.0.7204.251\nNode.js: 22.20.0\nV8: 13.8.258.32-electron.0\nOS: Darwin arm64 24.6.0<\/code><\/pre>\n<h3>3 \u9047\u5230&quot;\u65e0\u6cd5\u9009\u62e9\u6a21\u578b&quot;\u600e\u4e48\u529e\uff1f<\/h3>\n<p>\u5982\u679c\u4e0b\u62c9\u83dc\u5355\u4e3a\u7a7a\u6216\u6a21\u578b\u4e0d\u663e\u793a\uff1a<\/p>\n<p>\u68c0\u67e5\u662f\u5426\u5df2 Sign in\uff08Configure Model Providers \u91cc\u663e\u793a Sign out \u8868\u793a\u5df2\u767b\u5f55\uff09\n\u68c0\u67e5 models.include \u6b63\u5219\u662f\u5426\u6b63\u786e\uff08\u6ce8\u610f\u8f6c\u4e49 \\.\uff09\n\u5c1d\u8bd5\u79fb\u9664 models.include \u6d4b\u8bd5\u662f\u5426\u662f\u8fc7\u6ee4\u89c4\u5219\u95ee\u9898\n\u8fd0\u884c Developer: Reload Window \u91cd\u8f7d<\/p>\n<h3>4 \u5982\u4f55\u8282\u7701 Token\uff1f<\/h3>\n<p>\u9ed8\u8ba4\u4f7f\u7528 gpt-4o-mini\n\u53ea\u5728\u9700\u8981\u65f6\u5207\u6362\u5230\u66f4\u5f3a\u7684\u6a21\u578b\n\u63d0\u95ee\u65f6\u5c3d\u91cf\u7cbe\u786e\uff0c\u907f\u514d\u5197\u957f\u7684\u4e0a\u4e0b\u6587\n\u5b9a\u671f\u5f00\u542f\u65b0\u5bf9\u8bdd\uff0c\u907f\u514d\u5386\u53f2\u6d88\u606f\u7d2f\u79ef<\/p>\n<h2>6. \u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u672c\u6587\uff0c\u4f60\u5b66\u4f1a\u4e86\uff1a\n\u2705 \u5728 Positron \u4e2d\u914d\u7f6e OpenAI \u517c\u5bb9\u7684 API \u670d\u52a1\n\u2705 \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7cbe\u9009\u6a21\u578b\u5217\u8868\n\u2705 \u521b\u5efa R \u8bed\u8a00\u4e13\u5c5e\u7684\u81ea\u5b9a\u4e49 Prompt\n\u2705 \u7528 AI \u5c06\u4e11\u964b\u7684 base R \u4ee3\u7801\u91cd\u6784\u4e3a\u4f18\u96c5\u7684 tidyverse \u98ce\u683c\nPositron + AI \u7684\u7ec4\u5408\uff0c\u8ba9 R \u8bed\u8a00\u7f16\u7a0b\u6548\u7387\u5927\u5e45\u63d0\u5347\u3002\u65e0\u8bba\u662f\u65b0\u624b\u5b66\u4e60\u8fd8\u662f\u8001\u624b\u63d0\u6548\uff0c\u90fd\u503c\u5f97\u4e00\u8bd5\uff01<\/p>\n<h2>\u76f8\u5173\u94fe\u63a5\uff1a<\/h2>\n<ol>\n<li>Positron \u5b98\u7f51\uff1a<a href=\"https:\/\/positron.posit.co\/\">https:\/\/positron.posit.co\/<\/a><\/li>\n<li>Positron Assistant \u6587\u6863\uff1a<a href=\"https:\/\/positron.posit.co\/assistant-getting-started.html\">https:\/\/positron.posit.co\/assistant-getting-started.html<\/a><\/li>\n<li>bioinfoark API \u670d\u52a1\uff1a<a href=\"https:\/\/www.bioinfoark.com\/?page_id=902\">bioinfoark key \u83b7\u53d6<\/a><\/li>\n<\/ol><script>\n        var point_price = 1;\n        var point_scale = 1;\n        var max_point = ;\n        var recharge_amount_input = document.getElementById(\"recharge_amount\");\n        var point_amount_span = document.getElementById(\"point_amount\");\n\n        if(recharge_amount_input)\n        recharge_amount_input.addEventListener(\"input\", function() {\n            var recharge_amount = parseFloat(recharge_amount_input.value);\n            var point_amount = Math.floor((recharge_amount*100 \/ point_price)*point_scale);\n            var max_point_amount = Math.floor(max_point*point_scale);\n            point_amount_span.innerHTML = point_amount||0;\n            if( point_amount > max_point_amount ) {\n                point_amount_span.style.color = \"red\";\n                \/\/ \u5145\u503c\u6309\u94ae\u7981\u7528\n                document.querySelector(\"#recharge_btn\").disabled = true;\n                document.querySelector(\"#recharge_warning\").innerHTML = \"\u8d85\u8fc7\u5e93\u5b58\";\n            } else {\n                point_amount_span.style.color = \"black\";\n                \/\/ \u5145\u503c\u6309\u94ae\u542f\u7528\n                document.querySelector(\"#recharge_btn\").disabled = false;\n                document.querySelector(\"#recharge_warning\").innerHTML = \"\";\n            }\n        });\n    <\/script>","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5982\u679c\u4f60\u662f R \u8bed\u8a00\u7528\u6237\uff0c\u4e00\u5b9a\u5bf9 RStudio \u4e0d\u964c\u751f\u3002\u800c\u73b0\u5728\uff0cRStudio \u7684\u5f00\u53d1\u516c\u53f8 Posit\uff08 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"blocksy_meta":"","featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable":"<p>\u524d\u8a00 \u5982\u679c\u4f60\u662f R \u8bed\u8a00\u7528\u6237\uff0c\u4e00\u5b9a\u5bf9 RStudio \u4e0d\u964c\u751f\u3002\u800c\u73b0\u5728\uff0cRStudio \u7684\u5f00\u53d1\u516c\u53f8 Posit\uff08\u539f RStudio \u516c\u53f8\uff09\u63a8\u51fa\u4e86\u4e0b\u4e00\u4ee3\u6570\u636e\u79d1\u5b66 IDE \u2014\u2014 Positron\u3002 Posi&hellip;<\/p>\n","category_list":"","author_info":{"name":"user","url":"http:\/\/18.139.161.68\/?author=1"},"comments_num":"0 comments","_links":{"self":[{"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/pages\/1445"}],"collection":[{"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/18.139.161.68\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1445"}],"version-history":[{"count":5,"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/pages\/1445\/revisions"}],"predecessor-version":[{"id":1455,"href":"http:\/\/18.139.161.68\/index.php?rest_route=\/wp\/v2\/pages\/1445\/revisions\/1455"}],"wp:attachment":[{"href":"http:\/\/18.139.161.68\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}