Slide 1

Slide 1 text

Will Positron accelerate us? (update) SappoRo.R 2025 kazutan 1

Slide 2

Slide 2 text

Introduction 3

Slide 3

Slide 3 text

Who? @kazutan Twitter(X) Bluesky GitHub Qiita, r-wakalang(slack), etc… 4

Slide 4

Slide 4 text

Books 5

Slide 5

Slide 5 text

Do you know Positron? 7

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

Let’s touch Positron! 12

Slide 10

Slide 10 text

call command palette! The first shortcut we should remember is Cmd+Shift+P. 13

Slide 11

Slide 11 text

choose console We can choose an interpreter! 14

Slide 12

Slide 12 text

explorer Files We can finds files easily! 15

Slide 13

Slide 13 text

customize Layout We can custmize the Layout! 16

Slide 14

Slide 14 text

Show Plots We can show plots! 17

Slide 15

Slide 15 text

Show Data Explorer We can show the Data Explorer! 18

Slide 16

Slide 16 text

Let’s expand Positron! 20

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

Documentations We can use Quarto! 22

Slide 19

Slide 19 text

Other languages We can use other languages! 23

Slide 20

Slide 20 text

PDF Viewer We can view PDF files on Positron! 24

Slide 21

Slide 21 text

YouTube We can view YouTube on Positron! 25

Slide 22

Slide 22 text

By the way… 26

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

Do you want to draw a Diagram? つまり… ポインティングデバイスで描ける git 管理ができる ついでに差分がわかりやすいとなおよし 作業ファイルと画像ファイルが分かれていない R のIDE 上で作業したい これを全部満たしたい 28

Slide 25

Slide 25 text

Do you want to draw a Diagram? こういうのがほしい 29

Slide 26

Slide 26 text

… ん? 30

Slide 27

Slide 27 text

… んん??? 31

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

Draw a Diagram on Positron! 普通に検索してインストールすればOK 1. Positron のExtention で “draw.io” を検索 2. “Draw.io Integration” を選択してインストール&activate 3. Positron で *.drawio.svg ファイルを新規作成 4. 作成したファイルを開けばOK 33

Slide 30

Slide 30 text

Draw a Diagram on Positron! 作成した*.drawio.svg は、最近のブラウザなら問題な く描写できます v1 v2 v3 v4 .55 .43 .23 .20 f1 34

Slide 31

Slide 31 text

My feelings 36

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

Enjoy! 39