Here's my session info: > sessionInfo() R version 2.12.2 (2011-02-25) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United Kingdom.1252 [2] LC_CTYPE=English_United Kingdom.1252 [3] LC_MONETARY=English_United Kingdom.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] splines stats graphics grDevices utils datasets methods [8] base other attached packages: [1] sciplot_1.0-7 Hmisc_3.8-3 survival_2.36-5 loaded via a namespace (and not attached): [1] cluster_1.13.3 grid_2.12.2 lattice_0.19-17 tools_2.12.2
On 25 March 2011 23:50, barbara costa <rbarbar...@gmail.com> wrote: > Well, > > I have the R version 12.2.2 > > I installed sciplot_1.0-7.zip > <http://cran.r-project.org/bin/windows/contrib/r-release/sciplot_1.0-7.zip> > for > windows. > > > > I have the Windows 7 in a HP laptop. > > > > I didn't modify anything. Just copied the examples script on bargraph.CI > webpage to my R console because I wanted to figure it out why my data was > giving this error. > > > > It's really weird that it doesn't work just for me. > > Does anyone has the windows 7 and are having the same problem? > > Barbara > > > > > > > On 25 March 2011 05:22, David Winsemius <dwinsem...@comcast.net> wrote: > >> >> On Mar 24, 2011, at 8:35 PM, barbara costa wrote: >> >> Hi to all, >>> >>> Does anybody knows why this is giving an error? >>> >>> >>> data(ToothGrowth) >>> >>> # Two-way design with options >>> bargraph.CI(dose, len, group = supp, data = ToothGrowth, >>> xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1, >>> col = "black", angle = 45, cex.names = 1.25, >>> density = c(0,20), legend = TRUE) >>> Error in dn.call[[1]] : subscript out of bounds >>> >> >> I'm not able to reproduce. It plots a "dynamite graph" with a legend. >> Have you modified `ToothGrowth in some way? >> >> >> >>> It is the example on bargraph.CI function page >>> http://127.0.0.1:16950/library/sciplot/html/bargraph.CI.html >>> >> >> That is an address on your machine. It's one redeeming virtue is that it >> lets us know which package you are working with. >> >> My machine details >> MacOSX 10.5.8/R2.12.1/sciplot_1.0-7 >> >> Your turn now .... >> >> >> -- >> David Winsemius, MD >> West Hartford, CT >> >> > [[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.