[R] Question about use of sort.list(sort.list(x)) in rank.r

2012-10-16 Thread Tyler Ritchie
I was looking at rank() and I came across: ... "first" = sort.list(sort.list(xx)), ... line 32 of rank.r [1] sort.list(x) returns the indices of the values of x in ascending (by default) order. So sort.list(sort.list(x)) returns the same list. So, what am I missing here? -Tyler [1] view-sourc

Re: [R] Apt-get

2012-03-15 Thread Tyler Ritchie
Beltrand was also on the mark, suggesting you add Michael Rutter's ppa to your repository sources. In both cases (adding the CRAN Ubuntu repositories or Michael Rutter's ppa), an additional package repository is added to your system's packages. apt then checks that repository along with the other

Re: [R] Automating R script with Windows 7

2012-03-05 Thread Tyler Ritchie
You are looking to run R in batch mode see How to run R in batch mode [1] and the Quick-R on Batch Processing [2] [1] http://turing.une.edu.au/~stat356/Rbatch.html [2] http://www.statmethods.net/interface/batch.html On Mon, Mar 5, 2012 at 8:55 AM, vincent.deluard wrote: > > Hi R-users, > > I a

Re: [R] How to choose a button and scrape the website data

2012-03-05 Thread Tyler Ritchie
That website uses javascript to submit the form (and doesn't work in Chrome). You could build a javascript interpreter in R, have parse the page, and then use the various javascript to submit the form. R just isn't the right tool for that type of interaction. Performing the task you want--as descr