Romain Francois wrote:
> Wacek Kusnierczyk wrote:
>>
>>
>>> Duncan Murdoch wrote:
>>>
>>>
So if you've got high standards, it's probably quite hard. On the
other hand, if you're willing to accept the usual sort of errors that
syntax highlighters make, it's not so bad, but not triv
Wacek Kusnierczyk wrote:
Romain Francois wrote:
Duncan Murdoch wrote:
That is an issue. I guess I will fall back on what the parser says and
infer on the scoping. Within the lines below, mean would be different
each time
mean( 1:10 )
lapply( 1:10, mean)
mean <- (1+4) / 2
lapply( list( mean,
Romain Francois wrote:
> Duncan Murdoch wrote:
>
> That is an issue. I guess I will fall back on what the parser says and
> infer on the scoping. Within the lines below, mean would be different
> each time
>
> mean( 1:10 )
> lapply( 1:10, mean)
> mean <- (1+4) / 2
> lapply( list( mean, median), fun
Duncan Murdoch wrote:
On 16/03/2009 5:06 PM, Romain Francois wrote:
hadley wickham wrote:
It would be pretty easy to use the output from the R parser (which
is never
wrong, is it?), and dump some markup out of it. For example the
showTree
function in codetools dumps an R expression as Lisp, th
On 16/03/2009 5:06 PM, Romain Francois wrote:
hadley wickham wrote:
It would be pretty easy to use the output from the R parser (which is never
wrong, is it?), and dump some markup out of it. For example the showTree
function in codetools dumps an R expression as Lisp, this is not too far
from g
hadley wickham wrote:
It would be pretty easy to use the output from the R parser (which is never
wrong, is it?), and dump some markup out of it. For example the showTree
function in codetools dumps an R expression as Lisp, this is not too far
from generating html, or any other markup.
As this s
> It would be pretty easy to use the output from the R parser (which is never
> wrong, is it?), and dump some markup out of it. For example the showTree
> function in codetools dumps an R expression as Lisp, this is not too far
> from generating html, or any other markup.
>
> As this sounds like fu
On 3/16/2009 2:50 PM, Romain Francois wrote:
Duncan Murdoch wrote:
On 3/16/2009 1:49 PM, Jose Quesada wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
A follow up to my previous post. It'd be good to have syntax
highlighting in the html help pages.
This needs two things: making
Duncan Murdoch wrote:
On 3/16/2009 1:49 PM, Jose Quesada wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
A follow up to my previous post. It'd be good to have syntax
highlighting in the html help pages.
This needs two things: making the highlight program available to R,
and the
On 3/16/2009 1:49 PM, Jose Quesada wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
A follow up to my previous post. It'd be good to have syntax
highlighting in the html help pages.
This needs two things: making the highlight program available to R, and
then adding it to the Rd t
Hi Jose,
highlight is fairly easy to use from command line. I have something like
this when I use R from a console that supports color characters:
highlight <- function( fun ){
fun <- match.fun( fun )
tf <- tempfile()
dump( "fun", tf )
system( sprintf( "highlight -A -S R %s", tf ) )
unlin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
A follow up to my previous post. It'd be good to have syntax
highlighting in the html help pages. There is highlight
(http://www.andre-simon.de/) which seems to be open source. Since code
is delimited in the help file format, it should not be too
12 matches
Mail list logo