I was wondering whether somebody has developed a set of Textpad macro that work with R the same way as WinEdt does. I use Textpad for almost everything (programming, creating LaTex docs, etc.), it will be nice if I can use it as my R program editor. Or maybe someone can tell me how that kind of macro works so that I can develop my own macros. Thank you! Best, Shige Song Department of Sociology, UCLA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I take it you are using windows....You can change your editor in the Rprofile. Go to R\etc and open the file Rprofile and specify your choice of editor. Alan On Wed, 11 Apr 2001 01:23:31 -0700 Shige Song <sgsong at ucla.edu> wrote:> I was wondering whether somebody has developed a set of Textpad macro > that work with R the same way as WinEdt does. I use Textpad for almost > everything (programming, creating LaTex docs, etc.), it will be nice if > I can use it as my R program editor. Or maybe someone can tell me how > that kind of macro works so that I can develop my own macros. Thank you! > > Best, > > Shige Song > Department of Sociology, UCLA > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._---------------------- Alan T. Arnholt arnholt at math.appstate.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Shige Song wrote:> > I was wondering whether somebody has developed a set of Textpad macro > that work with R the same way as WinEdt does. I use Textpad for almost > everything (programming, creating LaTex docs, etc.), it will be nice if > I can use it as my R program editor. Or maybe someone can tell me how > that kind of macro works so that I can develop my own macros. Thank you!In some expansible editors (most I have seen are non-commercial ones) it is possible to define your own highlighting rules and write macros (or plug-ins) to talk in some way to other applications (on Windows for example via DDE or DCOM). I don't know if it is possible with textpad, because I don't know this editor. BTW: A *clean* way for the communication between the Editor and R is also not yet developed for WinEdt ... Maybe you want to try out ESS for the Emacs, if you don't already use it. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>Shige Song wrote: >In some expansible editors (most I have seen are non-commercial ones) it >is possible to define your own highlighting rules and write macros (or >plug-ins) to talk in some way to other applications (on Windows for >example via DDE or DCOM). I don't know if it is possible with textpad, >because I don't know this editor.It is possible with TextPad. I am sure on the commerical website textpad.com, you can find a syntax rules file for S. It could be used with R code. (go to the preferences of TextPad, create a new class of files, "*.R" and specify you want to use this syntax file). Eric ?------------------------?------------------------------------------------? | Eric Lecoutre | DEA de Statistiques | | Voie du Roman Pays, 20 | Assistant/Consultant en Statistique | | 1348 Louvain-La-Neuve | Universit? de Louvain-la-Neuve | | Belgique | lecoutre at stat.ac.ucl.be | |(0032) 10 47 30 50 | http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/| ?------------------------?------------------------------------------------? | Statistics show that of those who contract | | the habit of eating, very few survive. WALLACE IRWIN | ?-------------------------------------------------------------------------? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._