[R] elegant way to check if 2 values are in 3 columns?

2011-08-26 Thread Joanne Demmler
) } tab treat -- Joanne Demmler Ph.D. Research Assistant College of Medicine Swansea University Singleton Park Swansea SA2 8PP UK tel:+44 (0)1792 295674 fax:+44 (0)1792 513430 email: j.demm...@swansea.ac.uk DECIPHer: www.decipher.uk.net

[R] setting up a R working group

2011-03-17 Thread Joanne Demmler
with what to present or teach (did you organise your own training programme or did you get someone from outside?) - are there people out there who would like to present their work to us? Any help will be highly appreciated! Thanks Joanne -- Joanne Demmler Ph.D. Research Assistant College

[R] random sampling or random replacement

2009-06-25 Thread Joanne Demmler
:2, 100) #without replacement Now I want x to contain to 20% missing data (NA). Could anyone help me how to do this? Thanks Joanne -- Joanne Demmler Ph.D. Research Assistant School of Medicine Swansea University Singleton Park Swansea SA2 8PP UK

[R] several postscript problems

2008-10-03 Thread Joanne Demmler
Hello everyone, I'm currently trying to export a couple of graphs to pdf . Postscript would be fine too, but I'm using odd page dimensions, which seem to be overwritten when using the ps2pdf command. I'm using the pdfpages package in LaTeX to put 6 graphs onto one page (this is why it ought

Re: [R] several postscript problems

2008-10-03 Thread Joanne Demmler
Thanks, I upgraded to R 2.7.2 and installed Acrobat Reader. Once Acrobat reader is set as default application for pdf it will automatically also be used under Lyx. This solved most problems, but all error bars at pch=1 dots still look like a little mouse nibbled on them. Perhaps I'll just

[R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Joanne Demmler
Are there any R rpm's for Mandriva 2008.1? I found a couple of dodgy ones that wouldn't install so far (rpmfind.net). (Sorry that seems so far the only Linux distribution that recognizes my hardware on my new laptop correctly. I'm more familiar to Fedora and Suse so perhaps I'm just doing

Re: [R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Joanne Demmler
Found it, but there seems to be a dependency clash. Over the command line I get an error mentioning, that some packages are older than the ones installed and over the manager I simply get a message can't install package. Joanne __

[R] sink file type and Latex (Lyx)

2008-09-12 Thread Joanne Demmler
Does anyone know what file type sink is outputting to? I've been reverting output from R using sink and wanted to add it to my Appendix in LaTex (Lyx) using Verbatiminput. However, I get an error message as LaTex is expecting an ASCII file. Can I set sink somehow to ASCII or is there another

Re: [R] sink file type and Latex (Lyx)

2008-09-12 Thread Joanne Demmler
Thanks very much! options(useFancyQuotes=FALSE) did the trick! Joanne P.S.: For reference I'm running R on Linux Fedora 8: Sys.getlocale() [1]