Re: [R] clear screen?

2009-05-03 Thread Daniel Viar
I'm not sure how to put it in a function (or if this helps), but Ctrl+L will clear the R Console in Windows. Cheers, Dan Viar On Sun, May 3, 2009 at 6:58 PM, Charles Annis, P.E. charles.an...@statisticalengineering.com wrote: Thank you Gabor.  I'm sorry I forgot whom to acknowledge as the

Re: [R] new book on (Perl and) R for computational biology

2009-05-09 Thread Daniel Viar
It looks like the correct link is: http://www.crcpress.com/product/isbn/9781420069730 On Fri, May 8, 2009 at 6:49 PM, Gabriel Valiente valie...@lsi.upc.edu wrote: There is a new book on (Perl and) R for computational biology, G. Valiente. Combinatorial Pattern Matching Algorithms in

Re: [R] permutations in R

2009-03-13 Thread Daniel Viar
Try this: # Taken from combinations(gtools) # library(gregmisc) # Function permutations fn_perm_list - + function (n, r, v = 1:n) + { +if (r == 1) + matrix(v, n, 1) +else if (n == 1) + matrix(v, 1, r) +else { + X - NULL + for (i in 1:n) X - rbind(X,

Re: [R] Programming objects in R

2009-03-31 Thread Daniel Viar
The third chapter of the book R Programming for Bioinformatics by Robert Gentleman is on object-oriented programming in R. Dan Viar Chesapeake, VA On Tue, Mar 31, 2009 at 6:15 AM, Patrick Burns pbu...@pburns.seanet.com wrote: I think that 'Software for Data Analysis' by John Chambers should

Re: [R] SAS Institute to invest upto $20 m with R Project

2009-04-01 Thread Daniel Viar
And a happy April Fools day to you to... On Wed, Apr 1, 2009 at 5:44 AM, Ajay ohri ohri2...@gmail.com wrote: A SAS spokesperson has confirmed to this blog that they have invested in the R –Core project to help build next generation algorithms . Details are sketchy but indications of some shift

[R] How do I get my IT department to bless R?

2009-01-29 Thread Daniel Viar
I currently use R at work under the radar, but there's a chance I could loose that access. I'd like to get our company to feel comfortable with open source and R in particular. Does anyone have any experience with their company's IT department and management that they would be willing to share?

Re: [R] How do I get my IT department to bless R?

2009-02-11 Thread Daniel Viar
Many thanks to everyone that posted replies to this thread. I used some of the ideas from this thread and other sources to put together a case for R and I just received formal approval from our IT department today. In case this can be useful to anyone in the future, here's a summary of what was

Re: [R] matrix transpose

2009-02-15 Thread Daniel Viar
Here's one way that seems to work: a - matrix(1:30,5,6) # Create a target for the transpose b - matrix(1:(nrow(a)*ncol(a)),ncol(a),nrow(a)) # populate b with the transpose of a for (i in 1:ncol(a)) { b[i,1:(nrow(a))] - a[1:(nrow(a)),i]} # Check: Did it work? all.equal(b,t(a)) I'm sure there's a

Re: [R] R editor that will work with Rcmdr

2009-03-08 Thread Daniel Viar
Thanks for posting this. I've never used Eclipse before but this document inspired me to give it a try. Unfortunately, it's a little out of date, but I think that I finally got it to work. In case anyone else would like to try this, I put a PDF of my notes online at:

Re: [R] Stat textbook recommendations?

2009-01-23 Thread Daniel Viar
You might want to check out the following: http://www.stochas.org/ http://www1.appstate.edu/~arnholta/PASWR/index.htm http://turtle.gis.umn.edu/pmwiki/pmwiki.php/StatisticsandDatawithR/HomePage http://www.janehorgan.com/ I own all of these books and like them. The book by Dr. Jan Horgan: