Hi

For reading data into R you shall look to read.table and similar.

For plotting ggplot could handle it. However I wonder if 100 times 50 bars is 
the way how to present your data. You shall think over what do you want to show 
to yourself or your audience. Maybe boxplots or scatterplots could be better.

Petr


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of mohan.radhakrish...@polarisft.com
> Sent: Friday, August 30, 2013 1:25 PM
> To: r-help@r-project.org
> Subject: [R] Memory usage bar plot
> 
> Hi,
>           I haven't tried the code yet. Is there a way to parse this
> data using R and create bar plots so that each program's 'RAM used'
> figures are grouped together.
> So 'uuidd' bars will be together. The data will have about 50 sets. So
> if there are 100 processes each will have about 50 bars.
> 
> What is the recommended way to graph these big barplots ? I am looking
> for only 'RAM used' figures.
> 
> 
> Thanks,
> Mohan
> 
> 
>  Private  +   Shared  =  RAM used       Program
> 
>  96.0 KiB +  11.5 KiB = 107.5 KiB       uuidd
> 108.0 KiB +  12.5 KiB = 120.5 KiB       klogd
> 124.0 KiB +  17.0 KiB = 141.0 KiB       hidd
> 116.0 KiB +  30.0 KiB = 146.0 KiB       acpid
> 124.0 KiB +  29.5 KiB = 153.5 KiB       hald-addon-storage
> 144.0 KiB +  15.0 KiB = 159.0 KiB       gpm
> 136.0 KiB +  26.5 KiB = 162.5 KiB       pam_timestamp_check
> ---------------------------------------------------------
>                                             453.9 MiB
> 
> =================================
>  Private  +   Shared  =  RAM used       Program
> 
>  96.0 KiB +  11.5 KiB = 107.5 KiB       uuidd
> 108.0 KiB +  12.5 KiB = 120.5 KiB       klogd
> 124.0 KiB +  17.0 KiB = 141.0 KiB       hidd
> 116.0 KiB +  30.0 KiB = 146.0 KiB       acpid
> 124.0 KiB +  29.5 KiB = 153.5 KiB       hald-addon-storage
> 144.0 KiB +  15.0 KiB = 159.0 KiB       gpm
> 136.0 KiB +  26.5 KiB = 162.5 KiB       pam_timestamp_check
> ----------------------------------------------------------
>                                             453.9 MiB
> =================================
> 
> 
> This e-Mail may contain proprietary and confidential information and is
> sent for the intended recipient(s) only.  If by an addressing or
> transmission error this mail has been misdirected to you, you are
> requested to delete this mail immediately. You are also hereby notified
> that any use, any form of reproduction, dissemination, copying,
> disclosure, modification, distribution and/or publication of this e-
> mail message, contents or its attachment other than by its intended
> recipient/s is strictly prohibited.
> 
> Visit us at http://www.polarisFT.com
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@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.

______________________________________________
R-help@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.

Reply via email to