Re: [Rd] if(!CRAN()){...}

2012-11-01 Thread Dirk Eddelbuettel
On 1 November 2012 at 17:20, Hadley Wickham wrote: | > You're writing to the wrong place: you should be asking CRAN this question. | > Their email is c...@r-project.org. They generally don't discuss their | > operations in R-devel. | | Who is CRAN? Is that publicly available information? "Sor

[Rd] unedited copy/paste from install.packages man page to update.packages man page

2012-11-01 Thread Hervé Pagès
Hi, Found in the man page for update.packages: repos: character vector, the base URL(s) of the repositories to use, i.e., the URL of the CRAN master such as ‘"http://cran.r-project.org"’ or its Statlib mirror, ‘"http://lib.stat.cmu.edu/R/CRAN"’.Can be ‘NULL’ to i

Re: [Rd] if(!CRAN()){...}

2012-11-01 Thread Duncan Murdoch
On 12-11-01 6:20 PM, Hadley Wickham wrote: You're writing to the wrong place: you should be asking CRAN this question. Their email is c...@r-project.org. They generally don't discuss their operations in R-devel. Who is CRAN? Is that publicly available information? Why don't you ask them?

Re: [Rd] if(!CRAN()){...}

2012-11-01 Thread Hadley Wickham
> You're writing to the wrong place: you should be asking CRAN this question. > Their email is c...@r-project.org. They generally don't discuss their > operations in R-devel. Who is CRAN? Is that publicly available information? Hadley -- RStudio / Rice University http://had.co.nz/ _

Re: [Rd] if(!CRAN()){...}

2012-11-01 Thread Duncan Murdoch
On 01/11/2012 3:00 PM, Spencer Graves wrote: Hello, All: What changes are being considered / planned in the management and funding of CRAN and R-Forge to handle the near-exponential growth in the number of packages? I ask, because the developers for fda were asked to cut the t

[Rd] if(!CRAN()){...}

2012-11-01 Thread Spencer Graves
Hello, All: What changes are being considered / planned in the management and funding of CRAN and R-Forge to handle the near-exponential growth in the number of packages? I ask, because the developers for fda were asked to cut the test time on CRAN to below 5 seconds per *.Rd f

Re: [Rd] There is pmin and pmax each taking na.rm, how about psum?

2012-11-01 Thread Matthew Dowle
Justin Talbot stanford.edu> writes: > > > Because that's inconsistent with pmin and pmax when two NAs are summed. > > > > x = c(1,3,NA,NA,5) > > y = c(2,NA,4,NA,1) > > colSums(rbind(x, y), na.rm = TRUE) > > [1] 3 3 4 0 6# actual > > [1] 3 3 4 NA 6 # desired > > But your desired result would

Re: [Rd] Retrieving data from aspx pages

2012-11-01 Thread jose ramon mazaira
I'd like to make you note that I've discovered that package RCurl already provides a utility that allows interaction via POST requests with servers. In fact, the FAQ for RCurl contains specifically an example with an aspx page: x = postForm("http://www.fas.usda.gov/psdonline/psdResult.aspx";,

Re: [Rd] There is pmin and pmax each taking na.rm, how about psum?

2012-11-01 Thread Justin Talbot
> Because that's inconsistent with pmin and pmax when two NAs are summed. > > x = c(1,3,NA,NA,5) > y = c(2,NA,4,NA,1) > colSums(rbind(x, y), na.rm = TRUE) > [1] 3 3 4 0 6# actual > [1] 3 3 4 NA 6 # desired But your desired result would be inconsistent with sum: sum(NA,NA,na.rm=TRUE) [1] 0 >

Re: [Rd] Retrieving data from aspx pages

2012-11-01 Thread jose ramon mazaira
Thanks for your interest, Paul. I've checked the source code of TSjson and I've seen that what it does is to call a Python script to retrieve the data. In fact, I've already done this with Java using the URLConnection class and sending the requested values to fill the form. However, I think it woul

Re: [Rd] Retrieving data from aspx pages

2012-11-01 Thread jose ramon mazaira
Yes, you're right, I was wrong. I've been trying to use the postForm method in RCurl but it doesn't work. I'll check the source code in this package to see if I can improve it. 2012/10/31, Paul Gilbert : > I must be really dense, I know RCurl provides a POST capability, but I > don't see how this