Re: [R] Warning message: Computation failed in `stat_bin()`: attempt to apply non-function

2016-03-19 Thread shahab
sage- > > From: shahab.mok...@gmail.com > > Sent: Thu, 17 Mar 2016 19:01:19 +0100 > > To: r-help@r-project.org > > Subject: [R] Warning message: Computation failed in `stat_bin()`: attempt > > to apply non-function > > > > Hi, > > > >

[R] Warning message: Computation failed in `stat_bin()`: attempt to apply non-function

2016-03-19 Thread shahab
Hi, I am trying to plot a sample dataset using ggplot2, but I am keep getting the following error message and an empty plot! Apparently something is wrong in the dataset, but what? R : pf<-read.csv('pseudo_facebook.tsv', sep='\t') ggplot(x=aes(friend_count), data=pf) + geom_histogram() stat_bin

Re: [R] Warning message: Computation failed in `stat_bin()`: attempt to apply non-function

2016-03-18 Thread John Kane
look at the distribution. John Kane Kingston ON Canada > -Original Message- > From: shahab.mok...@gmail.com > Sent: Thu, 17 Mar 2016 19:01:19 +0100 > To: r-help@r-project.org > Subject: [R] Warning message: Computation failed in `stat_bin()`: attempt > to apply non-f