[R] Help with strange RGui behavior? Will not consistently run source.

Mark Fowler gm@rk@|ow|er @end|ng |rom out|ook@com
Thu Nov 18 08:22:24 CET 2021


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 using gmail.com>
Sent: Wednesday, November 17, 2021 1:04 PM
To: Stephen Hartley<mailto:stephen.hartley.phd using gmail.com>
Cc: r-help using r-project.org<mailto:r-help using 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 using 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 using 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 using 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]]



More information about the R-help mailing list