TheCoatlessProfessor
TheCoatlessProfessor
  • Видео 62
  • Просмотров 226 857
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 us...
Просмотров: 605

Видео

Positron IDE Connecting to a Database in R and Displaying in the Connections Panel (Public Beta)
Просмотров 8012 месяца назад
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)
Просмотров 3 тыс.2 месяца назад
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)
Просмотров 4,4 тыс.2 месяца назад
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
Просмотров 3442 месяца назад
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)
Просмотров 1,9 тыс.2 месяца назад
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)
Просмотров 1,1 тыс.2 месяца назад
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)
Просмотров 1,5 тыс.2 месяца назад
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)
Просмотров 1,6 тыс.2 месяца назад
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)
Просмотров 9352 месяца назад
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
Просмотров 1,9 тыс.2 месяца назад
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
Просмотров 1,3 тыс.2 месяца назад
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
Просмотров 4568 месяцев назад
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)
Просмотров 10 тыс.11 месяцев назад
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
Просмотров 2,1 тыс.11 месяцев назад
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
Просмотров 1,9 тыс.Год назад
macrtools: Install the R Compilation Toolchain for macOS
Installing unixodbc and sqliteodbc using Homebrew on macOS to setup SQLite for RStudio's Connections
Просмотров 1,1 тыс.Год назад
Installing unixodbc and sqliteodbc using Homebrew on macOS to setup SQLite for RStudio's Connections
Downloading and Installing Homebrew on macOS
Просмотров 607Год назад
Downloading and Installing Homebrew on macOS
Uninstalling Homebrew on macOS
Просмотров 850Год назад
Uninstalling Homebrew on macOS
Working with SQLite3 in R using RStudio's Connection Panel on Windows
Просмотров 749Год назад
Working with SQLite3 in R using RStudio's Connection Panel on Windows
Downloading and Installing SQLite ODBC driver for Windows 10 or Above
Просмотров 3,9 тыс.Год назад
Downloading and Installing SQLite ODBC driver for Windows 10 or Above
Downloading and Installing R 4.2.2 on Windows 10 and above
Просмотров 4,9 тыс.Год назад
Downloading and Installing R 4.2.2 on Windows 10 and above
Downloading and Installing RStudio by Posit on Windows 10 or above
Просмотров 1,2 тыс.Год назад
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
Просмотров 3,5 тыс.Год назад
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
Просмотров 1,3 тыс.Год назад
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
Просмотров 649Год назад
Downloading and Installing RStudio by Posit on macOS for both Intel and arm64-based macs
Downloading and Installing PuTTY on Windows 10 and above
Просмотров 1,4 тыс.2 года назад
Downloading and Installing PuTTY on Windows 10 and above
Connecting to the Hardware Learning Accelerated Cluster (HAL) on Windows using PuTTY
Просмотров 1222 года назад
Connecting to the Hardware Learning Accelerated Cluster (HAL) on Windows using PuTTY
Google Colaboratory: Overview Notebook
Просмотров 1272 года назад
Google Colaboratory: Overview Notebook
Using Google Colaboratory: Overview with Tips & Tricks
Просмотров 2632 года назад
Using Google Colaboratory: Overview with Tips & Tricks

Комментарии

  • @tamasandreifoldes8252
    @tamasandreifoldes8252 17 дней назад

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

  • @PLF-vs1kh
    @PLF-vs1kh 21 день назад

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

  • @laresbernardo
    @laresbernardo 21 день назад

    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 19 дней назад

      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 28 дней назад

    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 19 дней назад

      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
    @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 Месяц назад

      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 Месяц назад

      ​@@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 Месяц назад

      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 Месяц назад

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

  • @anhc3440
    @anhc3440 Месяц назад

    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 Месяц назад

      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 Месяц назад

      @@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 Месяц назад

      @@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 Месяц назад

      ​@@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 Месяц назад

      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 Месяц назад

    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 Месяц назад

      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 Месяц назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Месяц назад

      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 Месяц назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Месяц назад

      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 Месяц назад

      @@thecoatlessprofessor7674 Thank you a lot!

  • @celebrando_a_vida
    @celebrando_a_vida Месяц назад

    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 Месяц назад

      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 Месяц назад

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

  • @tmb8807
    @tmb8807 Месяц назад

    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 Месяц назад

      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 Месяц назад

    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 Месяц назад

      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 Месяц назад

    Thanks🎉

  • @oluwafemioyedele
    @oluwafemioyedele Месяц назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Месяц назад

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

    • @oluwafemioyedele
      @oluwafemioyedele Месяц назад

      @@thecoatlessprofessor7674thanks, I have figured it out!

  • @ortayakarsk705
    @ortayakarsk705 Месяц назад

    Do you think 4 gb rtx3050 enough for data analysis?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 Месяц назад

      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 2 месяца назад

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

  • @WhySoBroke
    @WhySoBroke 2 месяца назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

    Posit-Ron by Posit. 😮😅🎉😊

  • @arthuryounger9340
    @arthuryounger9340 2 месяца назад

    Thanks for an excellent practical introduction to python in Positron!

  • @restrollar8548
    @restrollar8548 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

    Is there support for using this IDE with Databricks?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

      @@thecoatlessprofessor7674 Thank you!

  • @diegoitibere
    @diegoitibere 2 месяца назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

      @@thecoatlessprofessor7674 Awesome. Thank you so much.

  • @mathewkalexander9425
    @mathewkalexander9425 2 месяца назад

    thanks

  • @diegoitibere
    @diegoitibere 2 месяца назад

    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 2 месяца назад

      Need to enable RStudio Keymap extension, c.f. ruclips.net/video/-jhTjOK4vQ8/видео.html github.com/posit-dev/positron/wiki/Keyboard-Shortcuts#rstudio-keymap

    • @diegoitibere
      @diegoitibere 2 месяца назад

      @@thecoatlessprofessor7674 Legend!

  • @matthewson8917
    @matthewson8917 2 месяца назад

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

  • @Aaqib..
    @Aaqib.. 2 месяца назад

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

  • @Aaqib..
    @Aaqib.. 2 месяца назад

    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 2 месяца назад

      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.. 2 месяца назад

      @@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 2 месяца назад

    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 2 месяца назад

      It works great with Quarto! There’s a bit of setup required prior to creating a Quarto document. See: m.ruclips.net/video/Xs6UnArkG4c/видео.html

    • @osoriomatucurane9511
      @osoriomatucurane9511 2 месяца назад

      @@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 2 месяца назад

    Thank you so much for creating this video!

  • @salvatoremangiafico5268
    @salvatoremangiafico5268 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

      @@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 2 месяца назад

      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? ruclips.net/video/p_4ZS-nnQ2Q/видео.html

    • @salvatoremangiafico5268
      @salvatoremangiafico5268 2 месяца назад

      @@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 2 месяца назад

    Prove me wrong but this is just vscode 😅

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

      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 2 месяца назад

      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 2 месяца назад

      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 Месяц назад

      Great 🎉

  • @salvatoremangiafico5268
    @salvatoremangiafico5268 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

      Check out: ruclips.net/video/-jhTjOK4vQ8/видео.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 2 месяца назад

    Not working properly, error no xxxx file found

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

      @@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 2 месяца назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

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

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

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

    • @smaanan
      @smaanan 2 месяца назад

      @@thecoatlessprofessor7674 Ok, no problem.

  • @zegpi1821
    @zegpi1821 2 месяца назад

    Is Positron a flavour of VS Code?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

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

  • @chrislee1533
    @chrislee1533 2 месяца назад

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

  • @christopherahmed8961
    @christopherahmed8961 2 месяца назад

    Is Positron IDE replacing Rstudio?

    • @thecoatlessprofessor7674
      @thecoatlessprofessor7674 2 месяца назад

      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 2 месяца назад

    Very helpful. Thanks for sharing this.

  • @bluegrassbug5010
    @bluegrassbug5010 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

      @@thecoatlessprofessor7674 Thank you!

  • @debi2cute
    @debi2cute 3 месяца назад

    Thanks

  • @LindaSchwarzekatze
    @LindaSchwarzekatze 3 месяца назад

    Very good.

  • @emmales693
    @emmales693 3 месяца назад

    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 2 месяца назад

      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 3 месяца назад

    Very nice 👍

  • @Jamiewharton
    @Jamiewharton 3 месяца назад

    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 3 месяца назад

      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 4 месяца назад

    👍

  • @enknot
    @enknot 4 месяца назад

    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.