[R] include a dataset in my package

2012-05-21 Thread di jianing
Hey R-users, I think I followed the steps but still couldn't figure this out.. I am creating a personal package and I want to include several datasets in the package. I created a subdirectory 'data' in the package, save a dataset 'test.rda' there, built the package, checked it, installed it. Then

Re: [R] htmlParse Error

2012-05-21 Thread arun
Hi Ravi, I used the same code.  Didn't got any errors.  I am using R.2.15 (64 bit version) on a 64 bit linux.  Though, I admit I had trouble installing XML package which was later solved by installing libxml2. A.k.      - Original Message - From: vioravis viora...@gmail.com To:

[R] Does aov produce one-sided or two-sided p-values?

2012-05-21 Thread Matt Pickard
Hi - Hopefully this is an easy question. In SPSS, when I'm testing a directional hypotheses using an ANOVA (GLM), I can divide the p-value by 2 because SPSS reported two-sided p-values? Is this approach still legit when I'm using aov in R? Thanks, Matt [[alternative HTML version

Re: [R] plz help. how to filter/group/sort data on mass data

2012-05-21 Thread bestbird
any suggestion? plz help me. -- View this message in context: http://r.789695.n4.nabble.com/plz-help-how-to-filter-group-sort-data-on-mass-data-tp4630714p4630820.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

Re: [R] include a dataset in my package

2012-05-21 Thread Richard M. Heiberger
you do have a dataset x. it is probably inside the test.rda file. start a fresh R session and library(yourPackage) then ls() data(test) ls() ## you will probably have now have x. Should you need to use load, then use load(/full/path/to/test.rda) ## in quotes ls() The idiom for saving a

Re: [R] variate generation

2012-05-21 Thread Mohan Radhakrishnan
I was trying to understand how to use R to generate distributions of data, for example, uniform, and use the data in a program. I send raw bytes to the server. Is there a recommended way or book that I should read to understand this ? I use R but this is a beginner question. When I plot the

<    1   2