Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Will Positron accelerate us? (update)

Will Positron accelerate us? (update)

SappoRo.R #12のプレゼンで提示したスライドです。
https://sapporor.connpass.com/event/338814/

Kazuhiro Maeda

February 16, 2025
Tweet

More Decks by Kazuhiro Maeda

Other Decks in Technology

Transcript

  1. What’s Positron? A next-generation data science IDE built by Posit

    PBC An extensible, polyglot tool for writing code and exploring data A familiar environment for reproducible authoring and publishing https://positron.posit.co/ 8
  2. Getting Start See 1. visit 2. download the installer 3.

    install! Note. Please check the Machine prerequisites: https://positron.posit.co/start.html https://positron.posit.co/download.html https://positron.posit.co/start.html#machine- prerequisites 9
  3. limitation This is still the Beta Testing Version. There may

    be significant changes in the future. The version we tested this time is: Positron Version: 2025.02.0 (Universal) build 171 Code - OSS Version: 1.96.0 Commit: 55f73310e900d46f5f472b4b7e2baa552aa2f157 Date: 2025-02-10T16:03:19.797Z 10
  4. built on OSS Code Since Positron is built on Code

    OSS, you can use VS Code extensions in Positron. Your extensions installed for Positron are separate from the extensions you have installed for VS Code, and they won’t interfere with each other. Positron bundles several extensions, including those for Quarto, Jupyter notebooks, and Pyright. To see bundled extensions, search for @builtin under the Extensions tab. To further filter the list, you can add a search term, such as @builtin Positron https://positron.posit.co/extensions.html 21
  5. Do you want to draw a Diagram? あなたは、 「ドキュメントをRmd で書きたいんだけど、図

    を書くのが面倒だな」って思ったことはありませんか? DiagrammeR で描く コードベースで書ける(git 管理ができる) でもMermeid やgrviz で書くのはやっぱり面倒 他のアプリで描く ポインティングデバイスで描ける とても直感的に描ける でもgit 管理しづらい( アプリを行ったり来たり) 作業ファイルと画像ファイルが分かれたりする 27
  6. Do you want to draw a Diagram? つまり… ポインティングデバイスで描ける git

    管理ができる ついでに差分がわかりやすいとなおよし 作業ファイルと画像ファイルが分かれていない R のIDE 上で作業したい これを全部満たしたい 28
  7. Draw a Diagram on Positron! VS Code のExtension に “Draw.io

    integration” がある Draw.io 使いやすい作図ツールでオンライン版とデスクトップ版がある 作業ファイルは*.drawio で、SVG/PNG 形式に出力可能 *.drawio.svg, *.drawio.png という複合拡張子もできる この形式にすると、svg/png ファイルのままdraw.io で編集できる SVG 形式にすれば、GitHub で差分比較ができる 画像として見比べることが可能( 詳しくは検索を) Draw.io integration VS Code 上でDraw.io をつかえるようにしたもの 32
  8. Draw a Diagram on Positron! 普通に検索してインストールすればOK 1. Positron のExtention で

    “draw.io” を検索 2. “Draw.io Integration” を選択してインストール&activate 3. Positron で *.drawio.svg ファイルを新規作成 4. 作成したファイルを開けばOK 33
  9. Will Positron accelerate us? It will probably accelerate It’s quite

    user-friendly at the moment I’m very excited to see how it will be updated in the future This is just an evaluation as of 2025-02-14 I think there will be significant changes Let’s try using it! And send feedback https://positron.posit.co/feedback.html 37
  10. FAQ RStudio とどちらがいい? See Official site’s FAQ 乗り換えたほうがいい? See Official

    site’s comments Is RStudio going away? https://positron.posit.co/faqs.html https://positron.posit.co/start.html#is-positron-for-me https://positron.posit.co/faqs.html#is-rstudio-going-away 38