[R] Create Pie chart from .csv file

Gabor Grothendieck ggrothendieck at gmail.com
Wed May 6 18:19:45 CEST 2009


The sqldf package allows you to apply SQL statements to R data frames:
http://sqldf.googlecode.com


On Wed, May 6, 2009 at 12:08 PM, DonkeyRhubarb <michaeligoe at gmail.com> wrote:
>
>
> Ive found out a way around my problem. I was trying to plaot a histogram of
> strings, but I had to change it into integers. I ran an sql query on the
> original DB that I got the CSV file from and used COUNT to get the number of
> each unique item in a given column. I then used these numbers to create a
> histogram in R. It's a round about way of doing it, but it will have to
> suffice.
>
> Thanks to all for your tips.
> --
> View this message in context: http://www.nabble.com/Create-Pie-chart-from-.csv-file-tp23387025p23410063.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list