Re: [R] problem with making multiple plots (geom_pointrange) in a loop (ggplot2)

2010-05-16 Thread baptiste auguie
Hi, On 16 May 2010 03:31, michael westphal wrote: [ snipped ] > Any suggestions? > i'd suggest you - read the posting guide - upgrade your R to the latest version - don't post to two mailing lists - make your example minimal, self-contained, reproducible - show the result of sessionInfo() HTH,

[R] problem with making multiple plots (geom_pointrange) in a loop (ggplot2)

2010-05-15 Thread michael westphal
Hello: I am using R 2.10.1 I am trying to make multiple scatter plots with ggplot2, using a for loop to select only certain entries in a dataframe. Here is my code: for(i in 1:length(ganges_subbasin[,1] )){ subbasin_select <- as.character(ganges_subbasin[i, 2]) #print(subbasin_sele