Skip to content

Commit 99e69ae

Browse files
committed
add positron tips
1 parent ed4749c commit 99e69ae

12 files changed

Lines changed: 74 additions & 17 deletions
216 KB
Loading
258 KB
Loading

blogs/images/blog_2_databases.png

199 KB
Loading

blogs/images/blog_2_help_tab.png

206 KB
Loading

blogs/posts/rstudio_and positron_ide_tips.qmd

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ RStudio is a free and open-source integrated development environment (IDE) that
1919
- **Adopt a consistent folder structure**: Organise your project directory with sub-folders for clarity, such as `data/` (with `raw/` and `processed/` subdirectories), `scripts/`, and `output/` (for figures and reports).
2020
- **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.
2121

22-
![Image: Starting a dynamic R markdown or Quarto document](../images/blog_2_dynamic_document.png) - **Integrate Version Control using Git or GitHub**: RStudio has a built in *Terminal* as well as a *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.
22+
![Image: Starting a dynamic R markdown or Quarto document](../images/blog_2_dynamic_document.png)
23+
24+
- **Integrate Version Control using Git or GitHub**: RStudio has a built in *Terminal* as well as a *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.
2325

2426
![Image: Integrated git panel for version control](../images/blog_2_integrated_git_panel.png)
2527

@@ -45,13 +47,28 @@ RStudio is a free and open-source integrated development environment (IDE) that
4547

4648
# Positron IDE tips
4749

48-
Positron is an IDE that combines exploration and production work in one free, AI-assisted environment, empowering the full spectrum of data science in Python and R. It helps to quickly move from data to insight to application in one code editor. The UI is rather similar to that of Visual Studio Code. Here are some tips to enhance your workflow in Positron:
50+
Positron is an IDE that combines exploration and production work in one free, AI-assisted environment, empowering the full spectrum of data science in Python and R. It helps to quickly move from data to insight to application in one code editor. The UI is rather similar to that of Visual Studio (VS) Code. Positron is actually a fork of VS Code. Here are some tips to enhance your workflow in Positron:
4951

5052
- **Easily switch between Python and R**: It supports Python and R equally well. In RStudio, if one tries to run Python, it requires them to install certain packages and also install Jupyter separately. In Positron, you can seamlessly switch between R and Python with just 2 click.
5153

5254
![Image: Switching between *Python* and *R*](../images/blog_2_switch_python_r.png)
5355

54-
- **Tip 2**:
55-
- **Tip 3**:
56-
- **Tip 4**:
57-
- **Tip 5**:
56+
- **Familiarise yourself with the layout**: The Activity bar on the left is similar to that in VS Code. The different panes in Positron IDE such as File Explorer, source code editor (Console, Terminal, etc.), Environment/Variables, Sessions, Help, and Plot.
57+
58+
- **Using Data Explorer**: After creating/importing a data table, clicking on the Data Explorer icon gives a tabular view of the data along with a quick summary plot. Hovering onto the plots also gives more summary statistics. In the table view, similar to a Spreadsheet, one can filter or sort the rows.
59+
60+
![Image: Data Explorer](../images/blog_2_data_explorer.png)
61+
62+
- **Positron Assistant**: This is an LLM integrated into the IDE. It can be used as a coding assistant. As of version Positron 2025.07.0-204, Anthropic can be used for chat and GitHub Copilot for code completion.
63+
64+
![Image: Coding assistant GitHub Copilot](../images/blog_2_coding_assistant.png)
65+
66+
- **Help tab**: The Help tab consists of Positron documentation, a Community Forum on GitHub, reporting a bug, cheatsheets, other Posit products, and posit support.
67+
68+
![Image: *Help* tab](../images/blog_2_help_tab.png)
69+
70+
- **Access databases**: The **Connections** tab can be use to access databases, which are essential for data science workflows efficiently. Down;load the essential prerequisite packages such as `DBI`, `RSQLite`, etc. with just one click and then create a new connection to the database.
71+
72+
![Image: *Connections* tab to access databases](../images/blog_2_databases.png)
73+
74+
I hope this blog helps you get started with RStudio and Positron IDEs and makes your workflow more efficient. Happy coding!
216 KB
Loading
258 KB
Loading
199 KB
Loading
206 KB
Loading

docs/blogs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@
179179
</ul>
180180
</div> <!-- /navcollapse -->
181181
<div class="quarto-navbar-tools tools-wide">
182-
<a href="https://meetup.com" title="<i class='fab fa-meetup'></i> Meetup" class="quarto-navigation-tool px-1" aria-label="<i class='fab fa-meetup'></i> Meetup"><i class="bi bi-"></i></a>
183-
<a href="https://github.com" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a>
182+
<a href="https://www.meetup.com/pune-r-userr-group/" title="https://www.meetup.com/pune-r-userr-group/" class="quarto-navigation-tool px-1" aria-label="https://www.meetup.com/pune-r-userr-group/"><i class="bi bi-"></i></a>
183+
<a href="https://github.com/RConsortium/Pune-R-UseR-Group" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a>
184184
<a href="https://www.linkedin.com/company/pune-r-user-group/" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-linkedin"></i></a>
185185
</div>
186186
</div> <!-- /container-fluid -->
@@ -242,7 +242,7 @@ <h5 class="no-anchor card-title listing-title">
242242
</div>
243243
</div></a>
244244
</div>
245-
<div class="g-col-1" data-index="1" data-categories="UlN0dWRpbyUyQ1Bvc2l0cm9uJTJDRGF0YSUyMFNjaWVuY2UlMkNJREUlMkNCZWdpbm5lcg==" data-listing-file-modified-sort="1763735474945" data-listing-reading-time-sort="4" data-listing-word-count-sort="638">
245+
<div class="g-col-1" data-index="1" data-categories="UlN0dWRpbyUyQ1Bvc2l0cm9uJTJDRGF0YSUyMFNjaWVuY2UlMkNJREUlMkNCZWdpbm5lcg==" data-listing-file-modified-sort="1763747195888" data-listing-reading-time-sort="5" data-listing-word-count-sort="869">
246246
<a href="../blogs/posts/rstudio_and positron_ide_tips.html" class="quarto-grid-link">
247247
<div class="quarto-grid-item card h-100 card-left">
248248
<p class="card-img-top">

0 commit comments

Comments
 (0)