Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flowr-analysis/vscode-flowr-sample
Try out the flowR extension for Visual Studio Code right in your browser!
https://github.com/flowr-analysis/vscode-flowr-sample
Last synced: about 2 months ago
JSON representation
Try out the flowR extension for Visual Studio Code right in your browser!
- Host: GitHub
- URL: https://github.com/flowr-analysis/vscode-flowr-sample
- Owner: flowr-analysis
- Created: 2024-10-03T17:47:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-09T08:49:56.000Z (3 months ago)
- Last Synced: 2024-11-26T18:17:58.713Z (about 2 months ago)
- Language: R
- Homepage: https://github.com/codespaces/new?template_repository=flowr-analysis/vscode-flowr-sample
- Size: 6.11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# *flowR* Sample Codespace
This is a template repository that you can use to try out the *flowR* extension for Visual Studio Code right in your browser using [GitHub codespaces](https://github.com/features/codespaces). You don't even need to create your own repository!
[![](https://img.shields.io/badge/Create_a_flowR_Codespace-a32638?style=flat&logo=github)](https://github.com/codespaces/new?template_repository=flowr-analysis/vscode-flowr-sample)
## How to Use
To set up your own *flowR* sample codespace, simply click the button above. The codespace will take a few seconds to set up. After the codespace has fully loaded, the *flowR* extension will connect to a remote *flowR* server, so you'll be able to do anything that you can do with the *flowR* extension on Desktop.
## Things to Try
You can generate a [slice](https://github.com/flowr-analysis/flowr/wiki/Terminology#program-slice) of the currently highlighted variable in any of the sample code by using the **Slice for Cursor Position** command. All code that is not part of the generated slice will then be grayed out.
You can also view the reconstruction of a piece of code based on the current slice. The **Show Current Slice in Editor (Reconstruct)** command opens a view next to the current editor.
The extension has a lot more features to try! For a more extensive list, check out [the extension's README](https://github.com/flowr-analysis/vscode-flowr?tab=readme-ov-file#use).
### Example Use-Cases
This codespace contains some randomly selected R files under [`./sample-files`](./sample-files/) you can use to play around - or use your own R files!
We have only modified these files to contain a meta-informational comment at the top, pointing to the full record.1. Reviewing and comprehending existing R scripts
2. Reusing a figure or data cleaning step of a publication
3. Supporting maintenance and reproducibility
4. Interactively understand the impact of parts while developing the script