Posted a gist with the essentials to get going. I use X410 as my X server but other than that I can't think of anything that'd be different in a default Win 10 May 2004 system. Hope it helps show how straight forward it can be to get going by just cutting and pasting a few commands.
It would have been nifty to have made a script but I just made this and ran through it to answer a few questions I have gotten.
A very basic, no-frills, setup of RStudio on WSL2
It takes less than 10 minutes to install (copy/paste step-by-step) on my system which is
UserBenchmarks:
Game 25%, Desk 74%, Work 57%
CPU: AMD Ryzen 5 2400G - 78%
GPU: AMD RX Vega 11 (Ryzen iGPU) - 17.3%
SSD: Samsung 860 Evo 500GB - 109.5%
RAM: Unknown TEAMGROUP-UD4-3000 2x8GB - 93.4%
MBD: Gigabyte AB350M-DS3H
Anyhow... have fun!
edit:
Thank You, Thank You, Thank You To the RStudio Team! You make my R life a
one!
Particularly that TinyText... OMG... the time savings... :tears-of-joy: