Eric Berger
2021-Nov-17 17:03 UTC
[R] Help with strange RGui behavior? Will not consistently run source.
Hi Stephen, Does the problem still occur if you connect remotely to your computer from a different computer? e.g. via remote desktop? On Wed, Nov 17, 2021 at 6:50 PM Stephen Hartley < stephen.hartley.phd at gmail.com> wrote:> So I've got an odd problem that I can't seem to nail down, and I'm not > totally sure even where I should go to ask about it. Hopefully this mailing > list is acceptable, and please do let me know if not. > > I'm using the "Rgui.exe" interface for R in windows 10. I've used this for > more than a decade now with no problems, and for at least a year on this > computer specifically. But now, when I click "Run line or selection" or > equivalently use CTRL+R, it only sometimes runs the selection. > Specifically: the FIRST time I attempt to run any given selection, it > > This issue only appears when I drag to select a snippet of text. It works > fine when I simply click on a line without selecting it. However, if I drag > and select a region of code and hit the command, the selection stops being > selected but it does not run the code. If I then drag and select the exact > same code a second time and do it again, it runs normally. If instead of > running the same code again I attempt to select different code, it once > again does not run. > > Here's the really odd bit: this affects multiple installations of R. I have > multiple versions of R installed on my machine for testing purposes (R > 3.4.4, 3.6.1, and 4.1.2), and this issue suddenly appeared simultaneously > on all three. > > I've tested it hundreds of times in various situations on all three > installations and it is extremely consistent but utterly unreproducible. I > have a second computer with R installed that works normally, and I have > tried doing the exact same thing on that computer and it behaves as > expected. > > It's not a hotkey capture issue or a hardware since it doesn't matter if I > use the hotkey or use the right-click menu. So far as I can tell nothing > else has changed. Are there hidden options in Rgui, or is there like an > Rprofile file or something somewhere that all the R installations will run > on startup? Are there R commands that alter options in the gui itself? > > I'm not even sure who I should contact or what list I should use, since > this isn't really an issue with the R programming language itself but > rather an issue with the GUI. The issue doesn't involve any keywords that I > can think of to search for others with the same issue ("run R on selection" > appears a lot in unrelated pages). > > Best, > Steve Hartley > Staff scientist, National Cancer Institute > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Stephen Hartley
2021-Nov-17 23:50 UTC
[R] Help with strange RGui behavior? Will not consistently run source.
I have not tried that. I'm not certain if I have the permissions for remote desktop, but I will find out and give it a shot if possible. On Wed, Nov 17, 2021, 12:04 PM Eric Berger <ericjberger at gmail.com> wrote:> Hi Stephen, > Does the problem still occur if you connect remotely to your computer from > a different computer? > e.g. via remote desktop? > > > On Wed, Nov 17, 2021 at 6:50 PM Stephen Hartley < > stephen.hartley.phd at gmail.com> wrote: > >> So I've got an odd problem that I can't seem to nail down, and I'm not >> totally sure even where I should go to ask about it. Hopefully this >> mailing >> list is acceptable, and please do let me know if not. >> >> I'm using the "Rgui.exe" interface for R in windows 10. I've used this for >> more than a decade now with no problems, and for at least a year on this >> computer specifically. But now, when I click "Run line or selection" or >> equivalently use CTRL+R, it only sometimes runs the selection. >> Specifically: the FIRST time I attempt to run any given selection, it >> >> This issue only appears when I drag to select a snippet of text. It works >> fine when I simply click on a line without selecting it. However, if I >> drag >> and select a region of code and hit the command, the selection stops being >> selected but it does not run the code. If I then drag and select the exact >> same code a second time and do it again, it runs normally. If instead of >> running the same code again I attempt to select different code, it once >> again does not run. >> >> Here's the really odd bit: this affects multiple installations of R. I >> have >> multiple versions of R installed on my machine for testing purposes (R >> 3.4.4, 3.6.1, and 4.1.2), and this issue suddenly appeared simultaneously >> on all three. >> >> I've tested it hundreds of times in various situations on all three >> installations and it is extremely consistent but utterly unreproducible. I >> have a second computer with R installed that works normally, and I have >> tried doing the exact same thing on that computer and it behaves as >> expected. >> >> It's not a hotkey capture issue or a hardware since it doesn't matter if I >> use the hotkey or use the right-click menu. So far as I can tell nothing >> else has changed. Are there hidden options in Rgui, or is there like an >> Rprofile file or something somewhere that all the R installations will run >> on startup? Are there R commands that alter options in the gui itself? >> >> I'm not even sure who I should contact or what list I should use, since >> this isn't really an issue with the R programming language itself but >> rather an issue with the GUI. The issue doesn't involve any keywords that >> I >> can think of to search for others with the same issue ("run R on >> selection" >> appears a lot in unrelated pages). >> >> Best, >> Steve Hartley >> Staff scientist, National Cancer Institute >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >[[alternative HTML version deleted]]
Mark Fowler
2021-Nov-18 07:22 UTC
[R] Help with strange RGui behavior? Will not consistently run source.
Hi, This issue bears some similarity to a problem I?ve been experiencing over the last few days. R 4.0.3, Windows 10, RGui. My ability to adjust window dimensions took a serious slide (cursor on edge or corner, click and tug). Usually only works now if I pause for awhile after the click before moving the cursor, while it used to work immediately every time. Similarly my ability to select text with a scroll became more difficult, but shift-clicking works fine. I just assumed my mouse was succumbing to age (still think that likeliest), or possibly related to the last Windows update a few days back (coincidental timing). So I doubt this is pertinent but thought I should mention it just in case. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows From: Eric Berger<mailto:ericjberger at gmail.com> Sent: Wednesday, November 17, 2021 1:04 PM To: Stephen Hartley<mailto:stephen.hartley.phd at gmail.com> Cc: r-help at r-project.org<mailto:r-help at r-project.org> Subject: Re: [R] Help with strange RGui behavior? Will not consistently run source. Hi Stephen, Does the problem still occur if you connect remotely to your computer from a different computer? e.g. via remote desktop? On Wed, Nov 17, 2021 at 6:50 PM Stephen Hartley < stephen.hartley.phd at gmail.com> wrote:> So I've got an odd problem that I can't seem to nail down, and I'm not > totally sure even where I should go to ask about it. Hopefully this mailing > list is acceptable, and please do let me know if not. > > I'm using the "Rgui.exe" interface for R in windows 10. I've used this for > more than a decade now with no problems, and for at least a year on this > computer specifically. But now, when I click "Run line or selection" or > equivalently use CTRL+R, it only sometimes runs the selection. > Specifically: the FIRST time I attempt to run any given selection, it > > This issue only appears when I drag to select a snippet of text. It works > fine when I simply click on a line without selecting it. However, if I drag > and select a region of code and hit the command, the selection stops being > selected but it does not run the code. If I then drag and select the exact > same code a second time and do it again, it runs normally. If instead of > running the same code again I attempt to select different code, it once > again does not run. > > Here's the really odd bit: this affects multiple installations of R. I have > multiple versions of R installed on my machine for testing purposes (R > 3.4.4, 3.6.1, and 4.1.2), and this issue suddenly appeared simultaneously > on all three. > > I've tested it hundreds of times in various situations on all three > installations and it is extremely consistent but utterly unreproducible. I > have a second computer with R installed that works normally, and I have > tried doing the exact same thing on that computer and it behaves as > expected. > > It's not a hotkey capture issue or a hardware since it doesn't matter if I > use the hotkey or use the right-click menu. So far as I can tell nothing > else has changed. Are there hidden options in Rgui, or is there like an > Rprofile file or something somewhere that all the R installations will run > on startup? Are there R commands that alter options in the gui itself? > > I'm not even sure who I should contact or what list I should use, since > this isn't really an issue with the R programming language itself but > rather an issue with the GUI. The issue doesn't involve any keywords that I > can think of to search for others with the same issue ("run R on selection" > appears a lot in unrelated pages). > > Best, > Steve Hartley > Staff scientist, National Cancer Institute > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]