Hi,
This is an update on the use of TextWrangler as an external editor for R.

The module for getting syntax highlighting can be found in:

http://dataninja.wordpress.com/2006/02/28/r-language-module-for-textwrangler-and-a-lot-of-other-editors/

The applescript to send lines to execute in R can be found in:

http://dataninja.wordpress.com/2006/01/06/r-for-textwrangler-applescript

For convenience, auto-pair characters (as in TextMate) can be activated in
TextWrangler by Autopairs, found in:

http://www.jwwalker.com/pages/autopairs.html

The only problem is that sometimes when the script is executed (i.e. send a
line from the editor to R) both menus overlap on top (the one from R and the
one from TextWrangler). Once you click again on the editor, things seem back
to normal (until eventually another line is sent).

sessionInfo()
R version 2.7.1 (2008-06-23)
i386-apple-darwin8.10.1

locale:
en_NZ.UTF-8/en_NZ.UTF-8/C/C/en_NZ.UTF-8/en_NZ.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods
[7] base

other attached packages:
[1] lattice_0.17-8 foreign_0.8-26

loaded via a namespace (and not attached):
[1] grid_2.7.1


TextWrangler version 2.3

Cheers,


-- 
Jose A. Garcia, Ph.D.
Department of Preventive and Social Medicine
PO Box 913
University of Otago
Dunedin, New Zealand
tel: 64 3 479-5138
fax: 64 3 479-7298

	[[alternative HTML version deleted]]

