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

Stephen Hartley @tephen@h@rt|ey@phd @end|ng |rom gm@||@com
Thu Nov 18 00:50:57 CET 2021


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 using 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 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]]



More information about the R-help mailing list