Re: [R] R script autoload at startup

2006-03-04 Thread Nick Drew
Regarding question #2: You can write a package that attaches a menu if using Rgui on Windows. For example, I use something like this in one of my packages: ## -- .onAttach <- function(...){ cat("You have loaded COREtools, version

Re: [R] The steps of building library in R 2.1.1

2005-07-22 Thread Nick Drew
Agreed, It takes a lot of work for one to create his/her first package. And there are many opportunities to get it wrong. I just created my first package, with thanks to Gabor, Peter Rossi (and his excellent document at http://gsbwww.uchicago.edu/fac/peter.rossi/research/bayes%20book/bayesm/Maki n

[R] interrupted Y axis

2005-07-02 Thread Nick Drew
I did not find an answer to my question after a quick search using the R search engine so thought I'd ask away: Does any know if there's a function exists to create an interrupted Y axis? What I mean by interrupted Y axis is that part of the Y axis has been removed or excised to permit one to see

Re: [R] R Graph Gallery : categorization of the graphs

2005-06-07 Thread Nick Drew
I like the wiki idea! Does it make sense to connect the graph wiki to the existing R wiki? (http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?RwikiHome) This might give the existing wiki a kickstart with some very valuable content. I realize they are maintained by different people but the whole point

[R] comparison operator, decimals, and signif()

2005-05-21 Thread Nick Drew
Hi, I recently spent quite a bit of time trouble shooting a function that I had written only to discover that the problem I was having was with the comparison operator. I assumed that the following would return TRUE: > testMean <- 82.8 + 0.1 > testMean [1] 82.9 > testMean == 82.9 [1] FALSE Appar

RE: [R] Easy cut & paste from Excel to R?

2005-02-16 Thread Nick Drew
I've had good luck with the scan() function when I want to get a few numbers from Excel into R quickly to use it as a calculator. CAVEAT: you have to have the numbers you want to copy in a column not a row in Excel. For example: In Excel your data are in a column as follows: Col A 1 2 3 Then copy

[R] .Rprofile and RODBC

2004-10-25 Thread Nick Drew
Since installing R 2.0 I've had the following 2 issues I can't find solutions for. I'm using Windows XP. 1) R 1.9 continues to read my .Rprofile file in my home directory but R 2.0 does not. How do I get R 2.0 to do this? 2) The following function no longer works in R 2.0 but continues to work in

[R] Numbers as symbols

2004-06-28 Thread Nick Drew
I want to use question numbers from my survey data (fake data below) as markers in a scatterplot. I'm using "as.character" to convert question numbers to characters. However, plot truncates the 0 (zero) off of question 10. How can I get the ending zero so I can add questions 11 - 20? # Sample cod

RE: [R] Statistical Quality Control

2004-03-05 Thread Nick Drew
Just the other day I found this site, obtained the package, and tried some of the examples. http://www.cmis.csiro.au/S-PLUS/qtoolbox/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Holton, Blake Sent: Tuesday, February 24, 2004 11:23 AM To: R-Hel

Re: R: [R] r editors

2003-10-03 Thread Nick Drew
On a similar note, what are some alternative data editors that one might use instead of the default R data editor? I'm not interested in Excel but something that's freeware, easy to install and use. Any recommendations? ~Nick - Original Message - From: "Juan Carlos Correa Morales" <[EMAI