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

Platform specific issue: Windows, with restrictive group policy #7

Closed
christophsax opened this issue Jan 1, 2016 · 2 comments
Closed

Comments

@christophsax
Copy link
Collaborator

Not much we can do here, but on a corporate Windows laptop, I got with checkX13binary():

> checkX13binary()
Error in checkX13binary() : Call to X-13 hat non zero exit status
In addition: Warning message:
running command 'C:/Users/X60008592/R/win-library/3.2/x13binary/bin/x13ashtml.exe C:\Users\X60008~2\AppData\Local\Temp\RtmpqK8Cap/Testairline' had status 127 

The reason is only revealed when running it on the command line:

C:\>C:/Users/X60008592/R/win-library/3.2/x13binary/bin/x13ashtml.exe
This program is blocked by group policy. For more information, contact your syst
em administrator.

The solution (except of 'contact your system administrator') would be to install x13binary to a library where the user has the rights to run exe files. But to make these kind of problems easier to solve, a more verbose checkX13binary() would be useful. I made some adjustments, using shell instead of system. (The documentation recommends using system2, but I couldn't get it returning this error message, only shell did it.)

Now, with the new error message:

> checkX13binary()
Error in checkX13binary() : When running

  C:/Users/X60008592/R/win-library/3.2/x13binary/bin/x13ashtml.exe

Command Prompt returned the following message:

  This program is blocked by group policy. For more information, contact
  your system administrator.

In addition: Warning message:
running command 'C:\WINDOWS\system32\cmd.exe /c C:/Users/X60008592/R/win-library/3.2/x13binary/bin/x13ashtml.exe C:\Users\X60008~2\AppData\Local\Temp\RtmpqK8Cap/Testairline' had status 1 
@eddelbuettel
Copy link
Contributor

I was wondering about system2() vs system() vs ... but I no longer work on Windows, and on the machine I had (which is now a VM I can still access) I was admin anyway so no help from me...

@eddelbuettel
Copy link
Contributor

I guess this can now be closed?

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

No branches or pull requests

2 participants