Dear all I am trying to do a multiple pairwise comparison test with Tukey-Kramer test as I have unequal sample sizes and variance. I have downloaded the DTK package from CRAN website in my computer for Windows, however I have difficulties in installing it in R. I have unzipped the compressed file in my computer and then I open R, I try to install the package through File - Source R code - DTK but there is always an error. Could you please help me? I can't understand what I am doing wrong. Thank you. Maria [[alternative HTML version deleted]]
Hi Maria, you may have a look at any 'introduction to R' at your hand for the basic concept of R packages. In short: Packages are installed by install.packages("package name") or via R-GUI either from locally saved zip-files or from a repository, and they are loaded by executing 'library()', e.g. library(DTK) hth. Am 08.02.2011 09:24, schrieb Lathouri, Maria:> Dear all > > I am trying to do a multiple pairwise comparison test with Tukey-Kramer test as I have unequal sample sizes and variance. I have downloaded the DTK package from CRAN website in my computer for Windows, however I have difficulties in installing it in R. > > I have unzipped the compressed file in my computer and then I open R, I try to install the package through File - Source R code - DTK but there is always an error. > > Could you please help me? I can't understand what I am doing wrong. > > Thank you. > > Maria > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Eik Vettorazzi Institut f?r Medizinische Biometrie und Epidemiologie Universit?tsklinikum Hamburg-Eppendorf Martinistr. 52 20246 Hamburg T ++49/40/7410-58243 F ++49/40/7410-57790
On Feb 8, 2011, at 3:24 AM, Lathouri, Maria wrote:> Dear all > > I am trying to do a multiple pairwise comparison test with Tukey- > Kramer test as I have unequal sample sizes and variance. I have > downloaded the DTK package from CRAN website in my computer for > Windows, however I have difficulties in installing it in R. > > I have unzipped the compressed file in my computer and then I open > R, I try to install the package through File - Source R code - DTK > but there is always an error.Yes? An error? So what is the error? (Please now take the time to read the Posting Guide which it appears you have skipped over.)> > Could you please help me? I can't understand what I am doing wrong.Not posting enough information. If and only if the package needs to be compiled (which is currently in doubt) then you need the proper Tools to do so. If it's a binary package, it needs to be "installed". I don't have a Windows copy or R, but things I read in the Windows RFAQ make me think there _should_ be a Packages Menu and that your using the File menu may be your primary error: http://cran.r-project.org/bin/windows/base/rw-FAQ.html -- David Winsemius, MD West Hartford, CT