TheCoatlessProfessor
TheCoatlessProfessor
  • 62
  • 223 562
Positron IDE Layout Options (Public Beta)
Timeline ---
00:00 Intro
00:05 Overview of layout options at the top right.
00:10 Customize layout option explained.
00:15 Toggle the Sidebar to hide/show the right-hand side.
00:27 Demonstrate the effect of toggling the Side Bar.
00:40 Toggle the main panel to show/hide the console.
00:47 Toggle the left-hand sidebar with various tools.
01:02 Quick icon shortcuts for layouts.
01:07 Customize layout to switch between stacked and side-by-side layouts.
01:13 Demonstrate the side-by-side layout with script editor and console.
01:19 Execute a command in the new layout.
01:26 Discuss the notebook layout and its features.
01:36 Notebook layout focuses on the script, hides the bottom bar.
01:43 Benefits of using a notebook or Quarto document in this layout.
02:06 Explore more layout presets and Zen mode with shortcuts.
02:24 Zen mode centers everything, disabling side panels.
02:47 Use the command palette to access customized layouts.
03:01 Open the command palette with shortcuts and access the customized layout.
03:15 Change panel alignments and visibility settings.
03:31 Primary bar location preference and how to change it.
04:00 Toggle status bar visibility and other elements.
04:49 Discuss the implications of changing layout presets on customizations.
05:29 Customize window placements and split editors.
06:35 Breakout documents for simultaneous viewing and editing.
06:59 Mention potential future improvements for the layout engine.
07:45 Farewell
Summary ---
We explore the different preset layout options inside the Positron IDE by Posit. We focus on customizing the layout by changing the visibility of various portions of the editor and dragging around different tabs to establish a "preferred" mode.
Links ---
Positron IDE can be obtained from:
github.com/posit-dev/positron
Version information ----
This was demonstrated on:
Positron Version: 2024.07.0 (Universal) build 15
Code - OSS Version: 1.90.0
Commit: d8da3ec9581aa7bcb9726babedacff4e3d528503
Date: 2024-07-05T03:51:32.592Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
#positron #posit #rstudio #layout
zhlédnutí: 552

Video

Positron IDE Connecting to a Database in R and Displaying in the Connections Panel (Public Beta)
zhlédnutí 725Před měsícem
Timeline 00:00 Intro and problem of missing database wizard. 0:31 Creating a new R file and saving it in a new folder. 0:44 Naming the new folder and script. 1:03 Setting up the R script for commands to generate the connection. 1:09 Explaining the connections contract used in the panel. 1:32 Reusing R Studio's connection contract technology in Positron. 1:42 Supported databases for connections....
Positron IDE: Data Analysis with Python in Jupyter Notebooks and Python Script Files (Public Beta)
zhlédnutí 2,8KPřed měsícem
Timeline 00:00 Intro to Positron IDE for data science. 00:15 Focus on Python; other videos cover R. 00:27 Check Python interpreter or environments. 01:10 View environment and interpreter details. 01:23 Switch environments; auto-detects/install dependencies. 01:54 Auto-installs ipykernel if missing. 02:02 Transition between environments. 02:35 Use the new project wizard if needed. 02:45 Create J...
Positron IDE doing Data Analysis with R (Public Beta)
zhlédnutí 4,1KPřed měsícem
Timeline 00:00 Intro 00:25 Select R as the interpreter from the upper right corner. 00:40 View the usual R startup message in the lower-left window. 00:50 Discussion on keyboard shortcuts. 02:00 Enable RStudio keyboard shortcut mapping in Positron. 02:47 Create a new R Project in Positron for data analysis. 04:10 Discuss setting the working directory correctly in the R Project. 05:02 Save R Scr...
Positron IDE accessing Projects on macOS using an Alfred workflow for Project Manager Extension
zhlédnutí 327Před měsícem
Timeline 00:00 Intro, macOS-only 01:03 Motivation behind creating the workflow (similar to finding .Rproj) 01:46 The "full Garrick approach" 01:57 Discussion of fees related to Raycast vs. Alfred 02:36 Project Manager workflow for Alfred 03:25 Why not remap .code-workspace to open in Positron instead of VS Code? 04:48 Project Manager Extension on OpenVSX 05:34 Installing the Alfred workflow for...
Positron IDE with Editor Color Themes (Public Beta)
zhlédnutí 1,8KPřed měsícem
Timeline 00:00 Intro 00:10 Positron IDE is a fork of open-source Visual Studio Code (VS Code / OSS - Code). 00:19 Most VS Code themes will work in Positron IDE. Check vscodethemes.com for a list. 00:26 Themes must be published on the OpenVSX registry to work in Positron, as it is the default marketplace for extensions. 00:35 View installed themes in the Command Palette with CMD K T (macOS) or C...
Positron IDE accessing GitHub Copilot via {chattr} R Package (Public Beta)
zhlédnutí 984Před měsícem
Timeline 00:00 Greetings and introduction to Positron IDE for data science and its ability to use a code assist agent like GitHub Copilot. 00:15 Mentioning that the demonstration will focus on R, as there's no known official extension for GitHub Copilot in Positron. 00:32 Checking the Extensions tab in Positron and noting the absence of a GitHub Copilot extension. 00:45 Highlighting the availab...
Positron IDE Creating Two Single File Shiny Apps in R and Python (Public Beta)
zhlédnutí 1,4KPřed měsícem
Timeline: 00:00 Intro 00:16 Install Shiny extension from OpenVSX 00:52 Create R Script for Shiny App 01:42 Saving the App in a non-home directory (e.g. ~/Desktop or ~/Documents) using Cmd S / Cntrl S 02:02 Discussing the play button change when the script file is named app.R 02:16 Running the R Shiny App by pressing play and viewing it in the "Viewer" panel 03:20 Creating a Python script for th...
Positron IDE Creating a Quarto Document (Positron Public Beta)
zhlédnutí 1,5KPřed měsícem
Timeline 00:00 Intro 00:20 Create a new file by clicking the " " icon in the top left. 00:26 View supported file types in the Command Palette (e.g., .R, .py, .ipynb). 00:34 Open the Extensions tab via the left-hand menu or use CMD SHIFT X (macOS) or CTRL SHIFT X (Windows). 00:50 Search for and install the Quarto extension from the marketplace. 01:09 Create a new Quarto document by clicking the ...
Positron IDE Debugger for R Demo with Nested Functions (Public Beta)
zhlédnutí 899Před měsícem
Timeline 00:00 Introduction: Discussing Positron's debugging capabilities. 00:05 Overview: Demonstrating a debugging function script with nested calls (F, G, and H functions). 00:16 Running the Script: Calling function F with argument -4 and running the script by pressing the run button or using the keyboard shortcut Cmd Shift S (macOS) or Cntrl Shift S (Windows). 00:17 Error Message: Script is...
Downloading and Installing Positron IDE Public Beta by Posit on Windows 10 or Above
zhlédnutí 1,8KPřed měsícem
Summary Open Web Browser Go to github.com/posit-dev/positron or go directly to: github.com/posit-dev/positron/releases/latest Select "Releases" on the right-hand side of the GitHub repository Select the first item in the release list to obtain the latest release. Find and click on the release asset of: "Positron-[some value].exe" This works on only Windows x64 (Intel/AMD) processors. (Note: The...
Downloading and Installing Positron IDE Public Beta by Posit on macOS
zhlédnutí 1,2KPřed měsícem
Summary Open Web Browser Go to github.com/posit-dev/positron or go directly to: github.com/posit-dev/positron/releases/latest Select "Tags" underneath "Releases" on the right-hand side of the GitHub repository Select the first tag to have the latest release. Find and click on the release asset of: "Positron-[some value].dmg" This works on both ARM and Intel macs (It's a universal installer). On...
Proof of Concept: A Step Toward Interactive Serverless Python Documents using Pyodide and Quarto
zhlédnutí 445Před 8 měsíci
Summary Discover the seamless fusion of Pyodide, a web-based Python version, with Quarto, a cutting-edge scientific publishing platform, in this concise proof of concept (POC) video. Watch Python code dynamically evaluated in-browser, experience effortless recall of Python objects across cells, and explore the ease of importing and using Python packages. Through combining Pyodide and Quarto we ...
Creating a Serverless R Shiny App using Quarto with R Shinylive ("Include" method)
zhlédnutí 10KPřed 11 měsíci
Video Timeline 00:00 - Video Intro 00:05 - Introduction to R Shinylive development, showcased at posit::conf(2023), enabling serverless R Shiny Apps (no Shiny Server needed!) 00:30 - Delving into the reactivity of the serverless Shiny app 01:06 - Highlighting the three available options (Convert, Fiddle, Include) from Joe's talk, with a focus on "Include" 01:30 - The "Convert" option's comprehe...
Your first webR-powered Quarto Document using the {quarto-webr} Extension and RStudio
zhlédnutí 2,1KPřed 11 měsíci
Video Timeline 00:00 - Video Introduction 00:05 - Introduction to the Topic 00:15 - Launch RStudio 00:17 - Create a New Quarto Project Named `demo-webr` Using RStudio's Project Interface 00:45 - Exploring the Fresh RStudio Instance Initialized with the Quarto Project 01:03 - Understanding the Unique Feature: Per-Project Installation of Quarto Extensions 01:25 - Step-by-Step Guide: Installing th...
macrtools: Install the R Compilation Toolchain for macOS
zhlédnutí 1,8KPřed rokem
macrtools: Install the R Compilation Toolchain for macOS
Installing unixodbc and sqliteodbc using Homebrew on macOS to setup SQLite for RStudio's Connections
zhlédnutí 1,1KPřed rokem
Installing unixodbc and sqliteodbc using Homebrew on macOS to setup SQLite for RStudio's Connections
Downloading and Installing Homebrew on macOS
zhlédnutí 599Před rokem
Downloading and Installing Homebrew on macOS
Uninstalling Homebrew on macOS
zhlédnutí 799Před rokem
Uninstalling Homebrew on macOS
Working with SQLite3 in R using RStudio's Connection Panel on Windows
zhlédnutí 739Před rokem
Working with SQLite3 in R using RStudio's Connection Panel on Windows
Downloading and Installing SQLite ODBC driver for Windows 10 or Above
zhlédnutí 3,8KPřed rokem
Downloading and Installing SQLite ODBC driver for Windows 10 or Above
Downloading and Installing R 4.2.2 on Windows 10 and above
zhlédnutí 4,8KPřed rokem
Downloading and Installing R 4.2.2 on Windows 10 and above
Downloading and Installing RStudio by Posit on Windows 10 or above
zhlédnutí 1,2KPřed rokem
Downloading and Installing RStudio by Posit on Windows 10 or above
Downloading and Installing Visual Studio Code on macOS for both Intel and arm64 (M1/M2)-based Macs
zhlédnutí 3,5KPřed rokem
Downloading and Installing Visual Studio Code on macOS for both Intel and arm64 (M1/M2)-based Macs
Downloading and Installing R 4.2.2 on macOS with an Intel mac
zhlédnutí 1,3KPřed rokem
Downloading and Installing R 4.2.2 on macOS with an Intel mac
Downloading and Installing RStudio by Posit on macOS for both Intel and arm64-based macs
zhlédnutí 595Před rokem
Downloading and Installing RStudio by Posit on macOS for both Intel and arm64-based macs
Downloading and Installing PuTTY on Windows 10 and above
zhlédnutí 1,4KPřed rokem
Downloading and Installing PuTTY on Windows 10 and above
Connecting to the Hardware Learning Accelerated Cluster (HAL) on Windows using PuTTY
zhlédnutí 122Před rokem
Connecting to the Hardware Learning Accelerated Cluster (HAL) on Windows using PuTTY
Google Colaboratory: Overview Notebook
zhlédnutí 127Před rokem
Google Colaboratory: Overview Notebook
Using Google Colaboratory: Overview with Tips & Tricks
zhlédnutí 260Před rokem
Using Google Colaboratory: Overview with Tips & Tricks

Komentáře

  • @tamasandreifoldes8252

    I'm curious to try out Amazon Q as part of Positron

  • @PLF-vs1kh
    @PLF-vs1kh Před 7 dny

    I have this for the last part. What should I do ? % vi ~/.bash_profile ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "~/.bash_profile" [New]

  • @laresbernardo
    @laresbernardo Před 8 dny

    Is there a similar way to debug from a specific row onwards like we do with RStudio's red-dot breakpoints to the side of the scripts? Thanks.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 5 dny

      Breakpoints are not available yet. You can create a similar experience by placing above the line of code you wanted to explore by typing: browser() So, if we had: f <- function(x, y) { z <- x + 1 browser() a <- z + y return(a) } f(1, 2) The debugger would be engaged after the function was called and its first statement was executed.

  • @Kiulianm1
    @Kiulianm1 Před 14 dny

    Thanks for this great tutorial. I like the layout of Positron IDE. I use Rstudio and most of my scripts are .rmd file. I have tried to run these scripts in Positron but always get an error. Does Positron support Rmarkdpwn files? If yes, how can I run all my code and get figures plotted as they are displayed in Rstudio? Note: I have the latest Positron and Quarto Extension is installed. You can recommend some tutorials too.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 5 dny

      R Markdown support for Quarto is a bit iffy at the moment. I should have a video or two in another week or so.

  • @alessandrosperanza3909

    I created the same app.R file on my desktop. When I try to run the file with the option 'Run Shiny App', I get this error 'Could Not find R. R is installed on your system? If R is installed, please make sure your PATH environment variable is configured correctly'. The same app works perfectly in Rstudio when I use 'Run app'. Did you maybe set something different during the Positron installation? Thanks

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 18 dny

      When you go to the selector in the top right, is Positron able to find your R installation? There's been a few issues with the R installation path being detected on Windows. I would check out: github.com/posit-dev/positron/discussions/3677

    • @alessandrosperanza3909
      @alessandrosperanza3909 Před 17 dny

      ​@@thecoatlessprofessor7674 Hi, thank you for your quick response. Yes, I selected R 4.4.1 but if I run the app using the the option 'Run Shiny App', I get the error I previously mentioned. Instead, if I run step by step the code using the option 'Source R file', the app works. R is regurarly recognized by Positron, because I am also able to run R scripts or quarto scripts. I have just problems when I try to run a shiny app (both single file and splitted files ui.R - server.R) using directly the option 'Run Shiny App'

    • @alessandrosperanza3909
      @alessandrosperanza3909 Před 17 dny

      Solved!. I re-installed R 4.4.1 on my laptop without modifying the default library where packages are stored (C:\Users\<my_user>\AppData\Local\R\win-library\4.4) and now the shiny app works perfectly using directly the option 'Run Shiny App'. In my previous R installation I changed the .libPaths variable to store all packages elsewhere and this caused the error in Positron

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 16 dny

      @@alessandrosperanza3909 Ahh! Thanks for reporting back. Glad to hear everything is working.

  • @anhc3440
    @anhc3440 Před 24 dny

    I'm relatively new to programming so pardon the basic question - I'm trying to run .rmd files in Positron (files created and run in VSCode & Rstudio just fine), but cannot. I'm seeing in Output a warning of "Warning: rPackageTask tasks are unavailable in the current environment." Edit to add Terminal output: rmarkdown::render(g:\\My Drive\\Graduate\\2024-SU-MGT6203\\3. MGT6203_Exams\\final.Rmd) Error: unexpected '\\' in "rmarkdown::render(g:\\" Execution halted * The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'C:\Program Files\R\R-4.4.1\bin\x64\R.exe' -e 'rmarkdown::render("g:\\My Drive\\Graduate\\2024-SU-MGT6203\\3. MGT6203_Exams\\final.Rmd")'" terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it." Googling has not produced solutions. Do you have any insights?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 23 dny

      That's a bit odd. What happens when you try to use RStudio to render the same file? A couple of thoughts off the top of my head: 1. Do you have Quarto installed on your system? And are you using the latest version of Positron? quarto.org/docs/download/ 2. Can you move the document onto your Desktop? Off of `My Drive`? 3. Can you remove the space and period inside of the file path? e.g. `3. MGT6203_Exams` goes to `3_MGT6203_Exams`?

    • @anhc3440
      @anhc3440 Před 23 dny

      @@thecoatlessprofessor7674 Thank you for your reply! 0. The same file is rendered normally in RStudio 1. I do not have Quarto installed - I figured RStudio, VSCode, and now Positron should be more than enough. Do I need Quarto to run Positron smoothly? 2. I tried to run the file after moving it to Desktop, same Warning in Output and error message in Terminal 3. I tried this, same issue

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 23 dny

      @@anhc3440 You need to ensure that Quarto is installed in order to render an Rmd document in Positron. Please make sure you have the latest version of Positron to have access to the Quarto Extension.

    • @anhc3440
      @anhc3440 Před 23 dny

      ​@@thecoatlessprofessor7674 installing Quarto was part of the solution! Thank you!! Order of events: installed Quarto - reran file UNSUCCESSFULLY - uninstalled/reinstalled everything - everything works now! Part of the issue prior was that the editor didn't even display the .rmd files properly - the whole file appears like a text file, none of the code lines were color coded, code chunks did not have "run cell/run above" buttons. After the reinstalling, everything appears properly and file renders successfully. Unsure why the first installation didn't run things properly, but alas, it's forever the mythical "turn it off and back on" phenomenon

    • @anhc3440
      @anhc3440 Před 23 dny

      I apologize for jumping straight in with my problem! I want to say I appreciated your content! very clear and easy to follow!

  • @khatmanworld
    @khatmanworld Před 26 dny

    I can't run a simple "Hello World" It just says source("c:\path_to_rscript"). I thought by default it comes with all tools for R?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 25 dny

      Let's say you have the following "hello_world()" function: hello_world <- function(name) { message("Hello world", name) } After running source("c:\path_to_script"), you need to attach the debugger to the function, e.g. debugonce(hello_world) or for multiple calls, specify: debug(hello_world) Then, call the hello_world("test") function. This should engage the debugger.

  • @georgegl3192
    @georgegl3192 Před 28 dny

    i see no need for this if you are a RStudio user.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 28 dny

      It helps greatly with more advanced features to have the R session run separately from the IDE instead of inside it. You can quickly end up having RStudio run into a few hiccups.

  • @tomaszklimanek6662
    @tomaszklimanek6662 Před 29 dny

    Is it possible to create different types of quarto documents, I mean website, book, etc. in Positron IDE?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 29 dny

      You will have to go through the command palette. Open it by pressing CNTRL + SHIFT + P (Windows) or CMD + SHIFT + P (macOS). Then, type: Quarto: Create Project From there, you have the option of default, website, blog, book, or manuscript.

    • @tomaszklimanek6662
      @tomaszklimanek6662 Před 27 dny

      @@thecoatlessprofessor7674 Thank you a lot!

  • @celebrando_a_vida
    @celebrando_a_vida Před měsícem

    Thank you very much for the explanation. I cannot read .csv from local folder to plot figure or table. I added in _quarto.yml [static-dir: data] but in shinylive it does not found the file.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 29 dny

      You shouldn't be able to. The Shiny application is running in a virtual file system instead of your local file system. Thus, the data.csv file you have will not be present. You can add data to a shiny app by following: tutorials.thecoatlessprofessor.com/r-shinylive-data-include/include-download-from-url.html

  • @yerelpaulino9690
    @yerelpaulino9690 Před měsícem

    I would like to see one of your videos on how to upgrade Positron IDE

  • @tmb8807
    @tmb8807 Před měsícem

    At the moment this seems almost identical to using a Jupyter notebook in VS Code, but I guess the ambitions for it are big!

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      It's similar; but there are some features that are MIA and other features that reorganization different portions. For instance, the jupyter tab is now being reported inside of the variables panel (note issue at: 11:33.), the in-cell notebook debugger is missing, and the python setup process is painless.

  • @djangoworldwide7925
    @djangoworldwide7925 Před měsícem

    Thanks for the video but this is by no means the experience of Copilot/ No way this would replace the natural use of CoPilot in Rstudio or Vsc..

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      I agree completely! Unfortunately, this is the only way for someone who has access to GitHub Copilot to take advantage of their subscription within the Positron IDE at the moment due to licensing issues, c.f. github.com/posit-dev/positron/issues/476 The Posit team are aware of the limitation and are planning for improvements around the first release candidate.

  • @oluwafemioyedele
    @oluwafemioyedele Před měsícem

    Thanks🎉

  • @oluwafemioyedele
    @oluwafemioyedele Před měsícem

    Great; please can you share the link for me to download positron ?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      See video description for link to repository. I have two videos on the channel showing the download steps for macOS/Windows

    • @oluwafemioyedele
      @oluwafemioyedele Před měsícem

      @@thecoatlessprofessor7674thanks, I have figured it out!

  • @ortayakarsk705
    @ortayakarsk705 Před měsícem

    Do you think 4 gb rtx3050 enough for data analysis?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      The Positron IDE and Python are RAM and CPU hungry. Unless you are fitting a neural network/doing deep learning, the amount of RAM on a GPU is unlikely to play a role in being able to do data analysis effectively.

  • @dknight212
    @dknight212 Před měsícem

    I like to place the activity bar at the top of the primary side bar as it's neater.

  • @WhySoBroke
    @WhySoBroke Před měsícem

    Great video!! Is it possible to load GitHub Copilot in Positron?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      It’s not possible to use a GitHub copilot extension due to MS licensing issues in Positron. If you have a Copilot subscription, the only way forward is to use {chattr} R package. Otherwise, you will need to stay in VS code or switch to an LLM that has an extension on OpenVSX.

  • @richardbennett4365
    @richardbennett4365 Před měsícem

    This thing is just a rehash of what we already have with Code, as this software is a fork of it, and marimo and jupyter.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Not at all. The set up here is instantaneous and it's using a new high-performance R kernel and Language Server Protocol implementation called Ark that is licensed under the MIT License, c.f. github.com/posit-dev/ark

  • @richardbennett4365
    @richardbennett4365 Před měsícem

    Posit-Ron by Posit. 😮😅🎉😊

  • @arthuryounger9340
    @arthuryounger9340 Před měsícem

    Thanks for an excellent practical introduction to python in Positron!

  • @restrollar8548
    @restrollar8548 Před měsícem

    This should be good in the future, especially for R. But they need to enable remote ssh / dev containers! On their list, but not yet there.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Yup, it's early days for the new IDE. If you already leaped to VS Code for more advanced features, this IDE is probably missing some features of your current workflow.

  • @_jhc
    @_jhc Před měsícem

    Is there support for using this IDE with Databricks?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      You can establish a connection using odbc to a Databricks cluster via its connection panel, c.f. solutions.posit.co/connections/db/databases/databricks/

    • @_jhc
      @_jhc Před měsícem

      @@thecoatlessprofessor7674 Thank you!

  • @diegoitibere
    @diegoitibere Před měsícem

    I couldn't find the "zoom" option in the plots? Is is still there in Positron or is is just in Rstudio?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      There is no option yet in the Positron IDE for zooming on plots. You can only focus different windows. They are tracking it as a feature in: github.com/posit-dev/positron/issues/2270

  • @carvalhoribeiro
    @carvalhoribeiro Před měsícem

    Great and thanks for sharing this. Is it possible to edit a chosen theme and change/apply a different background color for example?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Yes, you can select a theme and, then, personalize it by adding into the user settings. Use CMD + SHIFT + P on macOS or CNTRL + SHIFT + P on Windows and search for: Preferences: Open User Settings (JSON) Next, use the following to change the sidebar color only under the Monokai theme: ``` "workbench.colorCustomizations": { "[Monokai]": { "sideBar.background": "#347890" } } ``` Switch [Monokai] with the relevant theme name and use relevant keys via: code.visualstudio.com/api/references/theme-color Section on Customizing a Theme: code.visualstudio.com/docs/getstarted/themes#_customize-a-color-theme

    • @carvalhoribeiro
      @carvalhoribeiro Před měsícem

      @@thecoatlessprofessor7674 Awesome. Thank you so much.

  • @mathewkalexander9425
    @mathewkalexander9425 Před měsícem

    thanks

  • @diegoitibere
    @diegoitibere Před měsícem

    Would you know why the native pipe operator shortcut ( Cmd+Shift+M) doesn't work in Quarto, only in an normal R script?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Need to enable RStudio Keymap extension, c.f. czcams.com/video/-jhTjOK4vQ8/video.html github.com/posit-dev/positron/wiki/Keyboard-Shortcuts#rstudio-keymap

    • @diegoitibere
      @diegoitibere Před měsícem

      @@thecoatlessprofessor7674 Legend!

  • @matthewson8917
    @matthewson8917 Před měsícem

    Hi! I'm wondering which software you're using for layout of the keyboard input on the bottom?

  • @Aaqib..
    @Aaqib.. Před měsícem

    RevealJS output formatting also works fine, just needed to update/install the library(xfun). Loving it.

  • @Aaqib..
    @Aaqib.. Před měsícem

    Yes i am loving it so far, seemless experience with R and Python, i never liked working with Python in R studio, that was a mess for me tbh, Positron is a breeze. Quarto works fine too. So far i haven't encountered any issues, except that i am not able to move the panes around.😅😂

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Mmm, what happens when you try to drag and drop different parts of the interface? Also, what happens when you click on the layout button in the upper right corner of Positron?

    • @Aaqib..
      @Aaqib.. Před měsícem

      @@thecoatlessprofessor7674 i uninstalled and reinstalled on my newer machine, works fine, on the old one changing layout wasn't doing anything. Like i still would end up having the same layout. Now it is just the way i like it.🤝🏻

  • @osoriomatucurane9511
    @osoriomatucurane9511 Před měsícem

    This is absolutely Superb. Thank you for working us through some of the great feature of this awesome IDE. I hope it works well with Quartto.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      It works great with Quarto! There’s a bit of setup required prior to creating a Quarto document. See: m.czcams.com/video/Xs6UnArkG4c/video.html

    • @osoriomatucurane9511
      @osoriomatucurane9511 Před měsícem

      @@thecoatlessprofessor7674 Awesome, thank you Professor once again for sharing the resources and keeping us abreast with new developments making data analytics even more exciting.

  • @econmaett
    @econmaett Před měsícem

    Thank you so much for creating this video!

  • @salvatoremangiafico5268
    @salvatoremangiafico5268 Před měsícem

    Thanks. This was helpful. One thing I was absolutely missing is that, on Windows, ctrl-enter runs the line and sends the output to the console. Still a lot I don't understand about the functionality, but at least at this point I can _use_ it.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Could you clarify a bit on the functionality remark? Is there a particular use case you are after or are you trying to understand where the editor would fall in your workflow?

    • @salvatoremangiafico5268
      @salvatoremangiafico5268 Před měsícem

      @@thecoatlessprofessor7674 Well, one thing I wonder about is running a chunk of code --- and getting the output in the console, or the plot displayed --- like you can do by highlighting a chunk and pressing the run button in RStudio. I guess for people who use this kind of IDE, that's not desirable ? Better to ctrl-enter ? ... And then basically everything with the debugger. I can't make heads or tails of how to use it.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      So, I think there's a lot of questions surrounding an analysis using Quarto instead of just an R script? Does that sound about right? In that case, I would say you still have the ability to run code cells by using Cmd/Ctrl+Enter for a single line, Cmd/Ctrl + Shift + Enter or the "Run Cell" button for the entire cell. If you want to create in the R script file a similar "cell" appearance, you need to use `#+` instead of the python version of `# %%`. It's really good to develop keyboard muscle memory instead of using a point-and-click mouse as that takes additional time to complete a task, e.g. pressing a run button. Regarding the debugger, have you check out this video? czcams.com/video/p_4ZS-nnQ2Q/video.html

    • @salvatoremangiafico5268
      @salvatoremangiafico5268 Před měsícem

      @@thecoatlessprofessor7674 Thanks. For my comments, no, nothing about Quarto. Just running a script. I still can't figure out how to run a chunk of the script. But more fundamentally, why this isn't a simple press of a button. Like, obviously, that's not how people use this software. Or they set cells or breakpoints or something if they want to do that. I just haven't quite figured the mentality of using this software. (I'm not familiar with VSCode, just RStudio and Spyder). ... I do think a few issues come down to things being in beta. Your debugging video was helpful. But, for example, trying to use Run and Debug; it tells me I don't have an R debugger; and then when I try to install from the options, it tells me it's not compatible with Positron. I take it this is just a beta issue, or I just have no idea what I'm doing. ... It's no biggy. None of this I need to figure out right away. Just trying to see if this kind of software will improve what I do, or if I'm just a RStudio and Spyder person.

  • @coopernik
    @coopernik Před měsícem

    Prove me wrong but this is just vscode 😅

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      The Positron IDE is a _fork_ of the open source Visual Studio Code (OSS - Code). So, it should feel a lot like VS Code in certain areas. One huge benefit to this approach: Access to VS Code extensions published onto OpenVSX.

    • @88fjoe
      @88fjoe Před měsícem

      With much better IDE experience for data workflows! VScode data analysis experience is a mess with chaotic interpreter manager, subpar dataframe viewer via 3rd party plug-ins and a missing variable viewer pane

    • @VelkoKamenov
      @VelkoKamenov Před měsícem

      Actually VS Code can be set in a very similar manner for Python with the Data Wrangler Extension for data frame viewing (it is official Microsoft Extension) and a variable pane is present when running code through an interactive jupyter window (it can be set in the settings when running a line of code to be automatically send to a jupyter window). However, in Positron it is great that all this functionality is available out of the box and also for R because in VS Code I never found a suitable R extension to work with.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      I agree it's really nice that a lot of the functionality is just _there_ without needing to setup the editor. Psst, the variable panel is still present in the panel bar when using a Jupyter notebook ;) Though, none of the variables will appear nor will the debugger/breakpoints work correctly in notebook view (so a slight downgrade from the current status quo in VS Code for Python).

    • @oluwafemioyedele
      @oluwafemioyedele Před měsícem

      Great 🎉

  • @salvatoremangiafico5268
    @salvatoremangiafico5268 Před měsícem

    How about a video of the basic functionality of Positron ? Coming from RStudio and Spyder, I'm having some difficulty understanding the basics of how to use Positron. Like, to get output in the console or plots window, do you have to make the call from the console ? Or, am I being stupid or missing the point of the software ?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Yes! That's coming a little later today. I had to do some last minute traveling this weekend that prevented me from showing a workflow video. In the interim, you can use Cmd + Enter to run individual lines inside of the editor. They'll automatically be populated over to the Console. Similarly, any graphing functions like ggplot() or plot() will appear inside of the "Plot" window on the lower right. This fork of VS Code for DS isn't necessarily explained well at the moment. So, I wouldn't worry too heavily. Again, it's early days. Be prepared to ask questions.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Check out: czcams.com/video/-jhTjOK4vQ8/video.html Let me know what you think. This is just exploring the data side. I'll need a separate one for the R packages component...

  • @jeevanbhandari8024
    @jeevanbhandari8024 Před měsícem

    Not working properly, error no xxxx file found

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Can you provide a bit more details on the error? Is the error associated with the Shiny for Python or Shiny for R demo? Did you accidentally save the `app.R`/`app.py` into the home directory, e.g. `~/`, instead of into a subfolder like `~/Documents` or `~/Desktop`?

    • @jeevanbhandari8024
      @jeevanbhandari8024 Před měsícem

      @@thecoatlessprofessor7674 It was downloaded from positron itself, but in some other videos it explains with GitHub installation, It worked then. Thank you for your prompt reply.

  • @CidreRForest
    @CidreRForest Před měsícem

    Hei! Do you know if there's some way to have different colour for code and output in the console?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Not that I'm aware of. I do know that if you directly write into the console there is some highlighting that is applied. However, once the code is executed then it is just treated as output. Since they tried to stick a bit close to what is possible with VS Code's theming, maybe check inside the theme file? github.com/posit-dev/positron/blob/f82368fc01eb72ff844d304174eeb81a585477ce/extensions/theme-defaults/themes/light_modern.json The reference spec for a VS Code theme is over at: code.visualstudio.com/api/references/theme-color You could also raise this as a question on the Positron repository's discussion board: github.com/posit-dev/positron/discussions

  • @smaanan
    @smaanan Před měsícem

    Thanks for the video. Can you do one for installing Positron IDE in Fedora Linux?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Sorry, I can't! I do not have a VM setup for Fedora Linux.

    • @smaanan
      @smaanan Před měsícem

      @@thecoatlessprofessor7674 Ok, no problem.

  • @zegpi1821
    @zegpi1821 Před měsícem

    Is Positron a flavour of VS Code?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      Yes, it is a standalone IDE that is built ontop of the open source version of VS Code. github.com/microsoft/vscode

  • @chrislee1533
    @chrislee1533 Před měsícem

    Have you tried Codeium with Positron? It seems to work for me but I need to compare to other IDEs.

  • @christopherahmed8961
    @christopherahmed8961 Před měsícem

    Is Positron IDE replacing Rstudio?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      No, Positron is not replacing RStudio. Posit will still support the RStudio IDE. Per the FAQ page: Is RStudio going away? No. We are committed to maintaining and updating RStudio. While Positron and RStudio have some features in common, some R-focused features will remain exclusive to RStudio. We began developing Positron as part of our mission to support open-source data science in multiple languages, including R and Python. If you're currently using RStudio and are happy with the experience, you can continue to enjoy RStudio. RStudio includes 10+ years of applied optimizations for R data analysis and package development. github.com/posit-dev/positron/wiki/Frequently-Asked-Questions#is-rstudio-going-away

  • @carvalhoribeiro
    @carvalhoribeiro Před měsícem

    Very helpful. Thanks for sharing this.

  • @bluegrassbug5010
    @bluegrassbug5010 Před měsícem

    Thank you so much! Can you please direct me to the next video in your tutorial flow, if I know nothing about R? I understand we need Rstudio as well, but if I have an intel mac I need something else..? (or maybe somebody in the comments can direct me..) Thank you!

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      I don't think I have any "intro R" lectures public. Outside of installing R and RStudio, you might want to setup a compiled code toolchain; but, that will likely come much later down the road for you!

    • @bluegrassbug5010
      @bluegrassbug5010 Před měsícem

      @@thecoatlessprofessor7674 Thank you!

  • @debi2cute
    @debi2cute Před 2 měsíci

    Thanks

  • @LindaSchwarzekatze
    @LindaSchwarzekatze Před 2 měsíci

    Very good.

  • @emmales693
    @emmales693 Před 2 měsíci

    After entering the command 'macrtools::macos_rtools_install()' I am receiving the following error "Timeout of 60 seconds was reached". This is related to the download of gfortran. Any suggestions?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před měsícem

      I think this was an issue that was resolved over on the project's GitHub page: github.com/coatless-mac/macrtools/issues/16 The short rundown: there was either an internet connection hiccup or CRAN's servers briefly were updated during the time the installer tried to download gfortran.

  • @karolp5933
    @karolp5933 Před 3 měsíci

    Very nice 👍

  • @Jamiewharton
    @Jamiewharton Před 3 měsíci

    Not sure if I have misunderstood the process? When I render the doc in R-Studio, everything runs as it does in this video. When I open the html file it produces separately of the rendering process in a web browser it just shows text of the Shiny code and not the app.

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Před 3 měsíci

      The reason everything "works" in RStudio is because the Shinylive application is being run through a local server. If you directly double-click on the shinylive rendered .html, the app will not load in a browser without it being launched with permissions to look at the local file system, c.f. quarto-webr.thecoatlessprofessor.com/qwebr-troubleshooting.html#directly-accessing-rendered-html So, you will need to either publish it using any ol' web server (GitHub Pages, Netlify, Quarto Pub, ...) and share the link or setup the necessary local modifications.

  • @chypick504
    @chypick504 Před 3 měsíci

    👍

  • @enknot
    @enknot Před 3 měsíci

    I guess we're a weird lot, and there's not to many of us that need to know this. Maybe if you danced while you did it, or made someone keep their finger on a car or some junk. thanks a zillion btw.