Re: [R] importing from Stata

2006-01-17 Thread Ronnie Babigumira
To add onto an already clear explanation (a comment on precision in Stata). Indeed Stata stores all numbers as floats (also known as single precision or 4-byte reals). One way you could check this is to save a small subset of your data with all numbers as doubles in stata and see how that size

Re: [R] A comment about R:

2006-01-05 Thread Ronnie Babigumira
As someone who has been using Stata for a while now (and I started without a programming background), I recently had to move to R because of the rich spatial packages. Here is my 0.001 cent to this thread. -WHAT I LOVE ABOUT STATA-- a) Total control In

Re: [R] Open a new script from R command prompt

2005-12-29 Thread Ronnie Babigumira
with it. Ronnie justin bem wrote: Try edit() or ?edit Ronnie Babigumira [EMAIL PROTECTED] a écrit : Hi, (this is a minor irritation), is it possible for me to call R's editor from the R command prompt (I searched for script but that didn't yield anything). (The mouse-file-new

[R] Repeating functions

2005-12-29 Thread Ronnie Babigumira
Hi, I have a number of spatial weight files and using Roger Bivand's spdep, I would like to 1. Convert them into neighbor lists using 2. Convert the neighbor lists into spatial weights For a given file, the syntax would be mygal_nb1 - read.gal(mygalfile1, override.id = TRUE) myweight1 -

[R] Open a new script from R command prompt

2005-12-28 Thread Ronnie Babigumira
Hi, (this is a minor irritation), is it possible for me to call R's editor from the R command prompt (I searched for script but that didn't yield anything). (The mouse-file-new-script route is a minor irritation ) __ R-help@stat.math.ethz.ch mailing

Re: [R] Create pdf and postscript files

2005-12-27 Thread Ronnie Babigumira
You need to open the pdf/poscript first and then plot...see ?postscript # open the file foo.ps for graphics output postscript(foo.ps) # produce the desired graph(s) dev.off() # turn off the postscript device David Hajage wrote: Hello, I would like

Re: [R] Create pdf and postscript files

2005-12-27 Thread Ronnie Babigumira
stupid ! Thank you very much. David Hajage Interne de santé publique Institut Curie 2005/12/27, Ronnie Babigumira [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: You need to open the pdf/poscript first and then plot...see ?postscript # open the file foo.ps http

Re: [R] Add notes to a graph

2005-12-27 Thread Ronnie Babigumira
Research Ltd, Manchester UK as possible but not simpler [EMAIL PROTECTED] [EMAIL PROTECTED] +44(0)161 445 4951/G:+44(0)7717758675 www.quantex-research.com On Tue, 27 Dec 2005, Ener Borg wrote: Ronnie Babigumira skrev: Hi, I have done a search on this in vain. How

[R] Add notes to a graph

2005-12-26 Thread Ronnie Babigumira
Hi, I have done a search on this in vain. How can I add a note to the foot of a graph example below |---| |Title | | | | | my | | | | graph | | | | | | | | __| | |note: source

Re: [R] Add notes to a graph

2005-12-26 Thread Ronnie Babigumira
the title and the note (main and sub rspv) both get the same orientation. Any ideas on how one can go about this (adj.sub does not work) Ronnie justin bem wrote: Have you try ?legend or ?text Ronnie Babigumira [EMAIL PROTECTED] a écrit : Hi, I have done a search on this in vain

Re: [R] Add notes to a graph

2005-12-26 Thread Ronnie Babigumira
Ronnie Babigumira wrote: Thank you all, ?sub did the trick. One more question, Is it possible to orientate the sub title independently from the main title. This is what I would like to do, add a title, label the axes, and add a small note to the bottom left of the plot area

Re: [R] Plot problems: xlim

2005-12-23 Thread Ronnie Babigumira
Many thanks Jacques Veslot and Ben Bolker, Im closer to my goal thanks to Jacques's code and Ben I will follow the leads. Happy Holidays Ronnie Ronnie Ben Bolker wrote: Ronnie Babigumira rb.glists at gmail.com writes: It sounds like you might want to break your axis. plotrix provides

Re: [R] Plot problems: xlim

2005-12-23 Thread Ronnie Babigumira
requires his plotrix package. Maurice Haynes National Institutes of Health Child and Family Research Section -Original Message- From: Jim Lemon [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 10:12 PM To: Ronnie Babigumira Cc: R Help Subject: Re: [R] Plot problems

Re: [R] Plot problems: xlim

2005-12-23 Thread Ronnie Babigumira
Hadley Your point is valid and well taken. However, the break still shows how far off the value is from the distribution (I intend to add a note to draw a readers attention to this). Anyhow, like I said, I will try the two ideas shared on the list and make a note of what works best for me.

Re: [R] copy contributed packages from R 2.2.0 to 2.2.1

2005-12-23 Thread Ronnie Babigumira
Hi Helli, this came up last week, Here are some of the replys posted 1. In http://cran.r-project.org/contrib/extra/batchfiles/batchfiles_0.2-5.zip are two Windows XP batch files: movedir.bat copydir.bat which will move the packages (which is much faster and suitable if you don't need the old

[R] Plot problems: xlim

2005-12-22 Thread Ronnie Babigumira
Hi, Still fresh in R, tried to figure this out, now on my second day running with no luck (and a pile of hair on my desk) so I have thrown in the towel and would like to ask for some help. Here is what I am trying to do. I am trying to plot a distribution, I have 99 points, bound in the range

Re: [R] getting started, reading listing and saving data

2005-11-23 Thread Ronnie Babigumira
Many thanks to Peter Alspach, Jim Porzak and Murray Pung for the help. Peter and Jim, head? and tail? was just what I needed to list a few observations. Peter, thanks for pointing out str? to me. I totally agree with you on its usefulness. Murray thanks for file save workspace (and Peters

Re: [R] getting started, reading listing and saving data

2005-11-23 Thread Ronnie Babigumira
of read the manual sort of questions) On 11/23/05, Thomas Schönhoff [EMAIL PROTECTED] wrote: Hello, 2005/11/23, Ronnie Babigumira [EMAIL PROTECTED]: Many thanks to Peter Alspach, Jim Porzak and Murray Pung for the help. Peter and Jim, head? and tail? was just what I needed to list a few

[R] getting started, reading listing and saving data

2005-11-22 Thread Ronnie Babigumira
Dear List I am new to R and to the list and will try best as I can be clear and concise. My apologies if anything I write contravenes the posting code on this list. I would also like to say I have run through most of the material on the R website before writing this email however, I am stuck.