Sunday, January 28, 2007
Bar Charts
I've been trying to work through the examples in Chapter 2 of the R book and when using the barplot() function I never get any sort of graph. in the first examples there are three bar graphs shown as a result of all the data entered into the prompts, but I get no such images. Is this because I'm using R on the treat server or because I have to enter an additional command into the prompt? As this won't likely be important until thursday I guess I'll have the oppurtunity to ask about it in class.
Subscribe to:
Post Comments (Atom)
1 comment:
it is in fact because you're using R on 'treat', over a text-only connection. the short version of the answer is that you have to tell R to send its graphical output to a file, rather that to try to open it up on your screen. then you can download the file to your local machine and open it up. i'm going to compose a quick guide to doing this and post it on the wiki (and probably email it to everyone to give you the opportunity to work with it before class, if you wish).
Post a Comment