R scripting in wordpress made easy

Another quick post here…

I thought I’d share a nice feature in wordpress.com that lets you display R code nicely. WordPress.com had a R specific “sourcecode” tag that you can use at the beginning and end of your script to have it display in a readable form.

before R script add: (open bracket)sourcecode language=”r”(close bracket)
…put R script here…
after R script add: (open bracket)/sourcecode(close bracket)

where open bracket = [
and close bracket = ]

If you’re interested in starting R wordpress blog, give it a try!

Advertisements

2 thoughts on “R scripting in wordpress made easy

  1. Pingback: Two species predator prey systems with R | Assembling my Network

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s