Re: [R] An small suggestion for the R team

From: Tuszynski, Jaroslaw W. <JAROSLAW.W.TUSZYNSKI_at_saic.com>
Date: Fri 05 Aug 2005 - 23:08:21 EST


Jose,

While writing highlighters for jEdit, I assume you are familiar with existing R and Rd highlighters for jEdit. R mode was written by Tobias Elze, based on a file from Zed A. Shaw, and I wrote Rd highlighter.

If you (or anybody else needs them) I can send a copy.

Jarek

=====================================\====                 
 Jarek Tuszynski, PhD.                               o / \ 
 Science Applications International Corporation  <\__,|  
 (703) 676-4192                        ">  \
 Jaroslaw.W.Tuszynski@saic.com                   `    \



-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Jose Claudio Faria Sent: Thursday, August 04, 2005 6:52 PM
To: Gabor Grothendieck
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] An small suggestion for the R team

Gabor Grothendieck wrote:

> On 8/4/05, Gabor Grothendieck <ggrothendieck@gmail.com> wrote:
> 

>>On 8/4/05, Jose Claudio Faria <joseclaudio.faria@terra.com.br> wrote:
>>
>>>Hi all,
>>>
>>>I would like to suggest that all R functions/etc like:
>>> codes-deprecated
>>> grid-internal
>>> ns-alt
>>> ns-dblcolon
>>> ns-hooks
>>> ns-internals
>>> ns-lowlev
>>> ns-reflect.Rd
>>> tools-internal
>>> ts-defunct
>>> utils-deprecated
>>> utils-internal
>>> ... and another
>>>
>>>i.e, function/word separate for '-'
>>>
>>>were all substituted by
>>> codes_deprecated
>>> grid_internal
>>> ns_alt
>>> ns_dblcolon
>>> ns_hooks
>>> ns_internals
>>> ns_lowlev
>>> ns_reflect.Rd
>>> tools_internal
>>> ts_defunct
>>> utils_deprecated
>>> utils_internal
>>> ... and another
>>>
>>>i.e, by '_'
>>>
>>>Because it is impossible to make a good highlighter with the first one.
>>>
>>>How to differentiating myValue:
>>>
>>>varOne = 100
>>>varTwo = 50
>>>myValue = varOne-varTwo
>>>
>>>from codes-deprecated, or ns-alt, for example.
>>
>>One can create a variable with a minus in it by using
>>backquotes:
>>
>>
>>>`a-b` <- 3
>>>a <- 10
>>>b <- 4
>>>`a-b` + a-b
>>
>>[1] 9 # 3 + 10 - 4
>>
> 
> 
> One other point.  The help system, i.e. ?, accommodates minus signs 
> like this where the last two statements below give the same result:
> 
> library(survival)
> ?"survival-internal"
> internal?survival
> 
> Another example is,
> 
> library(dyn)
> package?dyn

Indeed, the above are very good examples of how to contour the original problem Gabor!
But the central problem is to make Good R highlighter, as I'm trying to do for the programs Tinn-R and jEdit with this functions.

Is not possible differentiate the signal minus as a simple character (word-word) from the mathematical operator minus (object-object).

I think that is more easy to remove all this functions/reserved words.

TIA,

--
Jose Claudio Faria
Brasil/Bahia/UESC/DCET
Estatistica Experimental/Prof. Adjunto
mails:
  joseclaudio.faria@terra.com.br
  jc_faria@uesc.br
  jc_faria@uol.com.br
tel: 73-3634.2779

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Aug 05 23:11:20 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:05:40 EST