You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blogs/posts/rstudio_and positron_ide_tips.qmd
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,20 @@ RStudio and Positron are IDEs useful for running R programmign language code. In
8
8
9
9
# RStudio IDE tips
10
10
11
-
* For a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.
12
-
* Tip 2
13
-
* Tip 3
14
-
* Tip 4
11
+
***New Project for a new analysis**: For a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.
12
+
***Adopt a consistent folder structure**: Organise your project directory with subfolders for clarity, such as `data/` (with `raw/` and `processed/` subdirectories), `scripts/`, and `output/` (for figures and reports).
13
+
***Create dynamic reports rather than static**: One can use R markdown or a quarto file to create a dynamic output document, slides, or website. This allows you to integrate code and narrative text, making it easier to update and reproduce your analysis.
14
+
***Integrate Version Control using Git or GitHub**: RStudio has a built in **Terminal** as well as **Git** pane to help you manage version control. This allows you to track code or text changes, collaborate with others on shared and/or open source projects, and maintain a history of your project.
15
+
***Spell Check feature**: Use the spell check feature from `Edit -> Check Spelling...` to ensure your code comments and documentation are free from typos.
16
+
***History**: Go through the `History` tab to review previously run commands. You can easily re-run or copy commands from your history to save time.
17
+
***Environment**: Use this section to have a cursory look at the active variables and a glimpse of the values stored in them.
18
+
***Four panels in RStudio**: Familiarise yourself with the four-panel layout of RStudio (Source, Console, Environment/History, Files/Plots/Packages/Help). This layout helps you efficiently manage your coding, output, and resources.
19
+
***Running code in chunks**: In R markdown and quarto files, use the features to run selected lines, current chunk, next chunk, all the chunks, all the chunks above, and all the chunks below to efficiently test and run your code.
Copy file name to clipboardExpand all lines: docs/blogs/posts/rstudio_and positron_ide_tips.html
+20-4Lines changed: 20 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ <h2 id="toc-title">On this page</h2>
137
137
138
138
<ul>
139
139
<li><ahref="#rstudio-ide-tips" id="toc-rstudio-ide-tips" class="nav-link active" data-scroll-target="#rstudio-ide-tips">RStudio IDE tips</a></li>
140
+
<li><ahref="#positron-ide-tips" id="toc-positron-ide-tips" class="nav-link" data-scroll-target="#positron-ide-tips">Positron IDE tips</a></li>
140
141
</ul>
141
142
</nav>
142
143
</div>
@@ -177,10 +178,25 @@ <h1 class="title">RStudio and Positron IDE Tips to Make Your Workflows Efficient
177
178
<sectionid="rstudio-ide-tips" class="level1">
178
179
<h1>RStudio IDE tips</h1>
179
180
<ul>
180
-
<li>For a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.</li>
181
-
<li>Tip 2</li>
182
-
<li>Tip 3</li>
183
-
<li>Tip 4</li>
181
+
<li><strong>New Project for a new analysis</strong>: For a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.</li>
182
+
<li><strong>Adopt a consistent folder structure</strong>: Organise your project directory with subfolders for clarity, such as <code>data/</code> (with <code>raw/</code> and <code>processed/</code> subdirectories), <code>scripts/</code>, and <code>output/</code> (for figures and reports).</li>
183
+
<li><strong>Create dynamic reports rather than static</strong>: One can use R markdown or a quarto file to create a dynamic output document, slides, or website. This allows you to integrate code and narrative text, making it easier to update and reproduce your analysis.</li>
184
+
<li><strong>Integrate Version Control using Git or GitHub</strong>: RStudio has a built in <strong>Terminal</strong> as well as <strong>Git</strong> pane to help you manage version control. This allows you to track code or text changes, collaborate with others on shared and/or open source projects, and maintain a history of your project.</li>
185
+
<li><strong>Spell Check feature</strong>: Use the spell check feature from <code>Edit -> Check Spelling...</code> to ensure your code comments and documentation are free from typos.</li>
186
+
<li><strong>History</strong>: Go through the <code>History</code> tab to review previously run commands. You can easily re-run or copy commands from your history to save time.</li>
187
+
<li><strong>Environment</strong>: Use this section to have a cursory look at the active variables and a glimpse of the values stored in them.</li>
188
+
<li><strong>Four panels in RStudio</strong>: Familiarise yourself with the four-panel layout of RStudio (Source, Console, Environment/History, Files/Plots/Packages/Help). This layout helps you efficiently manage your coding, output, and resources.</li>
189
+
<li><strong>Running code in chunks</strong>: In R markdown and quarto files, use the features to run selected lines, current chunk, next chunk, all the chunks, all the chunks above, and all the chunks below to efficiently test and run your code.</li>
"title": "RStudio and Positron IDE Tips to Make Your Workflows Efficient!",
118
118
"section": "",
119
-
"text": "RStudio and Positron are IDEs useful for running R programmign language code. In this blog, we will explore some tips and tricks to make your workflow more efficient while using these IDEs.\n\nRStudio IDE tips\n\nFor a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.\nTip 2\nTip 3\nTip 4"
119
+
"text": "RStudio and Positron are IDEs useful for running R programmign language code. In this blog, we will explore some tips and tricks to make your workflow more efficient while using these IDEs.\n\nRStudio IDE tips\n\nNew Project for a new analysis: For a new code, use New Project and then create the necesssary files (.R, .Rmd, .qmd, etc.) inside the New Project. This helps is keeping the r environment including the dependencies spearate for separate projects.\nAdopt a consistent folder structure: Organise your project directory with subfolders for clarity, such as data/ (with raw/ and processed/ subdirectories), scripts/, and output/ (for figures and reports).\nCreate dynamic reports rather than static: One can use R markdown or a quarto file to create a dynamic output document, slides, or website. This allows you to integrate code and narrative text, making it easier to update and reproduce your analysis.\nIntegrate Version Control using Git or GitHub: RStudio has a built in Terminal as well as Git pane to help you manage version control. This allows you to track code or text changes, collaborate with others on shared and/or open source projects, and maintain a history of your project.\nSpell Check feature: Use the spell check feature from Edit -> Check Spelling... to ensure your code comments and documentation are free from typos.\nHistory: Go through the History tab to review previously run commands. You can easily re-run or copy commands from your history to save time.\nEnvironment: Use this section to have a cursory look at the active variables and a glimpse of the values stored in them.\nFour panels in RStudio: Familiarise yourself with the four-panel layout of RStudio (Source, Console, Environment/History, Files/Plots/Packages/Help). This layout helps you efficiently manage your coding, output, and resources.\nRunning code in chunks: In R markdown and quarto files, use the features to run selected lines, current chunk, next chunk, all the chunks, all the chunks above, and all the chunks below to efficiently test and run your code.\n\n\n\nPositron IDE tips\n\nTip 1:\nTip 2:\nTip 3:\nTip 4:\nTip 5:"
0 commit comments