<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div style="font-family: Helvetica; font-size: 13px;">Let's say I'm working in a .R file on this block of code:</div><div style="font-family: Helvetica; font-size: 13px;"><br></div><div style="font-family: Helvetica; font-size: 13px;">mtcars_sub <- subset(mtcars, cyl == 6)</div><div style="font-family: Helvetica; font-size: 13px;">mtcars_lm <- lm(mpg ~ disp, mtcars)</div><div style="font-family: Helvetica; font-size: 13px;">summary(mtcars_lm)</div><div style="font-family: Helvetica; font-size: 13px;"><br></div><div style="font-family: Helvetica; font-size: 13px;">I highlight the block of code and send it to the R console. Following this, I then edit the code block (predictor added to model), so it becomes:</div><div style="font-family: Helvetica; font-size: 13px;"><br></div><div style="font-family: Helvetica; font-size: 13px;"><div>mtcars_sub <- subset(mtcars, cyl == 6)</div><div>mtcars_lm <- lm(mpg ~ disp + wt, mtcars)</div><div>summary(mtcars_lm)</div></div><div style="font-family: Helvetica; font-size: 13px;"><br></div><div style="font-family: Helvetica; font-size: 13px;">Can I send the edited code block to the R console, using a keyboard shortcut, without having to go back and highlight it? This feature is implemented in RStudio and is something I miss after having switched to TextMate. </div></div><div style="font-family: Helvetica; font-size: 13px;"><br></div><div style="font-family: Helvetica; font-size: 13px;">Thanks</div><div style="font-family: Helvetica; font-size: 13px;">Ross</div></body></html>