Is there anything such as a Kotlin Workspace? Whe...
# announcements
l
Is there anything such as a Kotlin Workspace? When programming in R using RStudio, one can keep a computation in memory, and then continuously write code to use that computation. In Kotlin we usually execute everything, and we don't save the in-betweens. For instance, I want to create a table from data I pulled from the web, but I forgot to add a comma. I have to pull all the data from the web again to use it. Of course I could "cache" it in a file or something, but I'm wondering if there's such a thing already.
e
I think you may be looking for Kotlin Worksheets, the interactive mode seems similar to what you’re looking for: https://kotlinlang.org/docs/tutorials/quick-run.html#scratches-and-worksheets
l
Interesting
Worksheets + REPL I believe could work
Thanks for the pointer, I'll play a little bit with it
👍 1
k
I have seen Kotlin used in jupyter notebooks too I think.
c
Yes, the easiest is Kotlin scratchfile / REPL. Also, JB has implemented a Kotlin kernel for Jupyter and a plugin for Zeppelin (I'm not sure if it's released yet, though) The folllowing post is three months old, but it has some links and info that might prove useful to you: https://blog.jetbrains.com/kotlin/2019/12/making-kotlin-ready-for-data-science Also check out #C4W52CFEZ