Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do R_ProcessEvents in rniIdle if Windows #23

Merged
merged 1 commit into from
Oct 11, 2017
Merged

Conversation

tatsunagai
Copy link
Contributor

Windows' graphic device (windows()) and pager freezes when waiting console user input, because Windows console, graphics device, pager share the same thread for event processing.

rniIdle is to called frequently when waiting console user input. So I added event processing for Windows in rniIdle function.

It seems like interrupted handling don't work in rniIdle so I avoided interrupted case(UserBreak).

@eibe
Copy link

eibe commented Sep 12, 2017

Is there any chance that rniIdle() for Windows will be fixed in the next release of rJava? We need it to enable R's web server to process events (more specifically, to serve html help pages). This functionality is needed for the RPlugin that is available for the WEKA software. It works fine on Linux and OS X.

@s-u s-u merged commit 6b3fdf8 into s-u:master Oct 11, 2017
@s-u
Copy link
Owner

s-u commented Oct 11, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants