[R] Create Pie chart from .csv file

Sarah Goslee sarah.goslee at gmail.com
Tue May 5 15:21:48 CEST 2009

You could go to rseek.org and search for pie chart; that will give you
lots of ideas and examples, including discussion of why pie charts
are a bad idea.


On Tue, May 5, 2009 at 9:02 AM, DonkeyRhubarb <michaeligoe at gmail.com> wrote:
> Hi all,
> I am looking to create a pie chart from a given column in a .csv file.
> My class variables are as follows:
> entry_type,     uniquekey,      types, title,    url, abstract, journal, author, month,
> year, howpublished
> So say I want to export a pie chart that groups together all  entries under
> 'types' e.g. 3 x statistics 2x education etc. Im looking to have a piechart
> represent this graphically that shows which type of entry is in most
> frequently. Preferably I'd like to export to a PDF chart and while I can do
> this by typing variables directly into the R console, I cannot manage it
> from a .csv file.
> If you cannot help me with this specific problem, just knowing how to create
> a generic pie chart would be a great help.
> This is part of my final software project which is due in one week. I would
> very much appreciate any help.
> Many thanks in advance

Sarah Goslee

More information about the R-help mailing list