Re: [Rd] 0.5 != integrate(dnorm,0,20000) = 0

2010-12-13 Thread Stavros Macrakis
I'd suggest that the original sin here is calling some particular numerical integration routine 'integrate', which gives the user an illusory sense of power Functions have to be well-behaved in various ways for quadrature to work well, and you've got to expect things like > integrate(function(

Re: [Rd] errors in getconnection or scan

2010-12-13 Thread Arthur Charpentier
great, exactly what I've being looking for ! thanks a lot ! 2010/12/13 Duncan Murdoch > On 13/12/2010 12:56 PM, Arthur Charpentier wrote: > >> sorry... localization is a string of characters >> for instance >> localization = >> paste("http://www.resultsfromtennis.com/ >> ",year,"/atp/",city,".ht

Re: [Rd] errors in getconnection or scan

2010-12-13 Thread Duncan Murdoch
On 13/12/2010 12:56 PM, Arthur Charpentier wrote: sorry... localization is a string of characters for instance localization = paste("http://www.resultsfromtennis.com/",year,"/atp/",city,".html",sep="";) where year is 2006 and city can be "wimbledon" hence here, since the page "http://www.resultsf

Re: [Rd] errors in getconnection or scan

2010-12-13 Thread Arthur Charpentier
sorry... localization is a string of characters for instance localization = paste("http://www.resultsfromtennis.com/ ",year,"/atp/",city,".html",sep="") where year is 2006 and city can be "wimbledon" hence here, since the page " http://www.resultsfromtennis.com/2007/atp/wimbledon.html"; does exist,

Re: [Rd] errors in getconnection or scan

2010-12-13 Thread Duncan Murdoch
On 13/12/2010 12:36 PM, Arthur Charpentier wrote: I was wondering if there was a function like "does connection exists" ? See ?showConnections. I am currently using loops to build up a database, and I have either B = getConnection(localization) Error in getConnection(localization) : ther

[Rd] errors in getconnection or scan

2010-12-13 Thread Arthur Charpentier
I was wondering if there was a function like "does connection exists" ? I am currently using loops to build up a database, and I have either > B = getConnection(localization) Error in getConnection(localization) : there is no connection -2147483648 In addition: Warning message: In getConnection(l