Using Source Windows in the RStudio IDE

Follow

This content is now maintained in the RStudio IDE User Guide.

 

Comments

  • Avatar
    tal ram

    hi,
    when i'm using a source window and i'm trying to debug a function the shortcut keys doesn't work...
    if i want to execute the next line and try to click F10 nothing happens...
    i need to go to the main rstudio window and click on the button...

    are you aware of this? is it solvable?

    thank you

  • Avatar
    Cody Likavec

    Hello,

    Is there a way to retrieve closed source windows? I created a source window to write code back and forth between the Rstudio Source Window and a Popped-Out window. At one point, I believe I hit the X button to close the Popped-Out window that was not saved.

    I wasn't prompted to save or asked if I wanted to close the tab. It just disappeared. Is there ANY way to get that window back?

  • Avatar
    Vilmantas Gegzna

    When focus is in Source Window user defined shortcuts do not work. @tal ram mentioned this problem, and I would like to know if problem is solvable.

    I also noticed, that when focus from Source Window is moved to Console (and I write something to console), the shortcut key combination which calls "insert at cursor position"-like add-in (as in this example: http://rstudio.github.io/rstudioaddins/#running-addins) insert symbols to Source Window (expected to insert to Console) at position where the cursor was before moving the focus. When focus is moved from Editor's window to Console, user defined "insert" shortcuts work as usual.

    version R version 3.3.0 (2016-05-03)
    system x86_64, mingw32
    ui RStudio (0.99.902)

  • Avatar
    Jason Bintz
    Edited by Jason Bintz
  • Avatar
    Jason Bintz

    Bug Report

    I use the latest version of RStudio. I have two (2) recurring issues when working with new or "pop-out" source windows:

    1. When I "pop" the window back into the main window, strings of stray symbols show up in my script. In particular, pipes (%>%) and assignments (<-).

    2. It seems that changes to the popped window are sometimes not saved. More specifically, the script in question seems to go back to the previously saved version. Luckily, I have been able to catch this with version control, but it makes me wary of using this (otherwise very useful) feature.

  • Avatar
    Jason Bintz

    Bug Report

    I use the latest version of RStudio. I have two (2) recurring issues when working with new or "pop-out" source windows:

    1. When I "pop" the window back into the main window, strings of stray symbols show up in my script. In particular, pipes (%>%) and assignments (<-).

    2. It seems that changes to the popped window are sometimes not saved. More specifically, the script in question seems to go back to the previously saved version. Luckily, I have been able to catch this with version control, but it makes me wary of using this (otherwise very useful) feature.