R-syntaksin korostus

Tämä blogi rullaa Wordpressin päällä, ja olen jo pitkään haikaillut R koodin syntaksikorostuksen (syntax highlight) perään. Olen käyttänyt koodiesimerkeissä Perl-tyylistä syntaksin korostusta, mutta tämä ei aina ole näyttänyt hyvältä R-koodin päällä. Nyt R koodin syntaksikorostus on saatavilla wp-syntax pluginiin, kiitos siitä kuuluu Tal Galilille. Päivitin muutamia vanhjoa postauksia käyttämään R-tyylistä korostusta. Mainiota!

2 Responses to “R-syntaksin korostus”

  1. Tal Galili Says:

    Hi there,
    I read your post through google translate.
    I would just like to emphasize that the WP-syntax wouldn’t work. In order to have it work with R - you will need to download the file I put on my website (that added the R syntax file).

    I hope I was clear :)

    p.s: consider installing “subscribe to comments” plugin, since right now I won’t know if you had answered me :)

  2. Lauri Nikkinen Says:

    Thanks Tal for your comment. Actually I downloaded and tried your file before posting about this subject. It works, as you can see e.g. from this post:

    http://www.r-ohjelmointi.org/?p=490

    Thanks for your contribution!

    -Lauri

Leave a Reply