I received this reply offline from William Dietrich and am posting it in
case it might help someone else.
His fix did get RWinEdt going, but, in my case, the tabs that should
have the open file names are blank. This fix worked with WinEdt 5.5 but
not v.6. In the end, I decided to switch to Tinn-R.
rv
>>> "William Dieterich" < wdieterich at npipm.com >
06/30 11:11 PM >>>
I had the same problem on the same system with RWinEdt. I finally
resolved
it by accident by launching R from the start menu (instead of the
desktop
shortcut). If I launched R with the desktop shortcut icon (as
administrator) I would get the error you get when I attempted to load
RWinEdt. But everything works fine if I launch R from the startup menu
(as
administrator). I think it has something to do with code attached to
the
desktop shortcut. When you install R it asks about creating a startup
menu
item - I think the problem is related to that.
Sorry for the offline response but I am not currently subscribed to R
Help.
I couldn't resist giving a tip because this problem was a real headache
for
me too.
William Dieterich, Ph.D.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Director of Research
Northpointe Inc.
Golden Office: 303.216.9458
Cell: 303.257.7128
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: r-help-bounces at r-project.org
[mailto:r-help-bounces at r-project.org] On
Behalf Of Richard Valliant
Sent: Thursday, June 30, 2011 1:05 AM
To: r-help at r-project.org
Subject: [R] RWinEdt
I have a problem using RWinEdt 1.8.2 in Windows 7 Professional (64
bit).
System/software info:
R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing ISBN
3-900051-07-0
Platform: x86_64-pc-mingw32/x64 (64-bit) WinEdt Build: 20071003 (v.
5.5)
After installing the R package and attempting to load I get:
> library(RWinEdt)
Warning message:
In shell(paste("\"\"", .gW$InstallRoot, " \\WinEdt.exe\
"
-C=\"R-WinEdt\"
-E=", :
'""C:\Program Files (x86)\WinEdt Team\WinEdt\WinEdt.exe"
-C="R-WinEdt"
-E="C:\Users\rvalliant\AppData\Roaming\WinEdt\R.ini""'
execution failed with error code 1>
The WinEdt window does not open. I can open it manually (since the
package
installation created a desktop shortcut ("RWinEdt"). If a line of R
code is
highlighted in RWinEdt and sent to the R Console with
Alt+p, the focus shifts to R console but nothing is copied.
This has come up before in a message from John Seers on 2 Mar 2011.
Uwe
suggested this:
"One installing RWinEdt the first time, please run R with
Administrator
privileges (right click to do so). Then installation should work
smoothly
with WinEdt < 6.0."
I'm running WinEdt 5.5. I followed Uwe's suggestion but get the
message
above.
Any suggestions?