[R] novice questions about programming in R

2006-02-06 Thread Richard Evans
folks, I have been struggling with the R documentation for too long now and I need a simple answer on two questions. The documentation does not have adequate examples. Please help. given two equal vector lists: A - c(0,1,2,3) B - c(5,6,7,8) [Question #1] how do I dump them to a

Re: [R] novice questions about programming in R

2006-02-06 Thread Gabor Grothendieck
Try this: write.table(sprintf(%10.5f%10.5f, A, B), file = myfile.dat, quote = FALSE, row = FALSE, col = FALSE) plot(1:100, 1:100, log = xy) grid() # only if you want a grid ?plot.default has info on the log= argument. Use ? with the other commands to

Re: [R] novice questions about programming in R

2006-02-06 Thread John Fox
Dear Richard, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Evans Sent: Monday, February 06, 2006 4:35 PM To: r-help@stat.math.ethz.ch Subject: [R] novice questions about programming in R folks, I have been struggling with the R