Skip to content

flowr-analysis/vscode-flowr-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. You don't even need to create your own repository!



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 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.

Example Use-Cases

This codespace contains some randomly selected R files under ./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