Hi there, I am trying to perform different normality tests in R. I have no problem when I use Shapiro.test( ). However, when I try to use any normality tests from the Nortest package, I kept getting this error " Error in read.table(source, header = T, fill = T) : 'file' must be a character string or connection". I have no idea why because there was no problem with the read.table () in the Shapiro.test(). I had installed Nortest package already. Thank you Wendy Peng BC Cancer Agency Cancer Genetics Department Co-p Programmer [[alternative HTML version deleted]]
Uwe Ligges
2005-Nov-18 08:02 UTC
[R] unprecise question on read.table() and the nortest package; was: (no subject)
Wendy Peng wrote:> Hi there, > > > > I am trying to perform different normality tests in R. I have no problem > when I use Shapiro.test( ). However, when I try to use any normality > tests from the Nortest package, I kept getting this error " Error in > read.table(source, header = T, fill = T) : > > 'file' must be a character string or connection". I have no idea > why because there was no problem with the read.table () in the > Shapiro.test(). I had installed Nortest package already.Please start reading the posting guide and the help files of those functions. Note that using a subject line on a high traffic mailing list should be mandatory. Without you giving a reproducible example, we cannot help that much. Uwe Ligges> > > Thank you > > Wendy Peng > > BC Cancer Agency > > Cancer Genetics Department > > Co-p Programmer > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html