Search This Blog

Thursday, May 12, 2011

RWinEdt for Windows 7

Install the RWinEdt package in Window vista or Window 7 requires some tricks. Here are the steps:

  1. Start up your R as the administrator (right click the R shortcut and you will see the option)
  2. install RWinEdt package in R Console (install.packages("RWinEdt"))
  3. type help(package="RWinEdt") to see the help file of RWinEdt. In the bottom of the help file, there is a dir path. Write down it or memorize it.
  4. type library(RWinEdt). You will see error messages and it will place a RWinEdt shortcut on the desktop. But the shortcut will not work properly.
  5. go to the aforementioned RWinEdt path and go under the folder "Plugin."
  6. Copy all files *.edt into .....\winedt\macros\R *
  7. Copy files R-*.bmp into .....\winedt\bitmaps\buttons *
  8. Copy files R_*.bmp into .....\winedt\bitmaps\images *
  9. Copy all other files into .....\winedt
  10. close R related windows and restart R again.
RWinEdt should work fine then!

No comments: