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()` using `bins = 30`. Pick better value with `binwidth`. Warning message: Computation failed in `stat_bin()`: attempt to apply non-function The dataset can be found at : https://s3.amazonaws.com/udacity-hosted-downloads/ud651/pseudo_facebook.tsv thanks, /Shahab [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.