Re: [R] POSIXlt vs POSIXct

2012-03-29 Thread Steven R Corsi
[1] "2011-03-17 14:07:00 CDT" "2011-03-20 07:18:00 CDT" "2011-03-22 14:10:00 CDT" [4] "2011-03-29 09:07:00 CDT" "2010-07-15 07:49:00 CDT" So, it works only after converting the factor variable to character, but it is a simple matter to do that co

Re: [R] POSIXlt vs POSIXct

2012-03-29 Thread Steven R Corsi
That is a good tip. I have tried it and found that it works if I make sure it was converted to character first. strptime appears to accept factor variables which is the default when reading in the file originally. Thanks Steve On 3/29/2012 2:31 PM, MacQueen, Don wrote: I also find that POSIXc

Re: [R] POSIXlt vs POSIXct

2012-03-29 Thread Steven R Corsi
x27;t expect them. Now it is clear that the second step of conversion to POSIXct is preferred for many purposes. Best Regards Steve === Steven R. CorsiPhone: (608) 821-3835 Research Hydrologist email: srco...@usgs.gov U.S. Geological Survey Wisc

Re: [R] POSIXlt vs POSIXct

2012-03-29 Thread Steven R Corsi
generally, is there a resource that summarizes which date/time objects to use under which conditions? So far, I have mostly been learning by trial/error/web searching which eventually is effective, but can be quite slow. Thanks Steve === Steven R. Corsi

[R] POSIXlt vs POSIXct

2012-03-28 Thread Steven R Corsi
Hello R users I am searching for a descriptive summary of the use of POSIXlt as compared to POSIXct date/time formats. I have been using them extensively for different purposes, but still can't quite understand when to use which one for the most efficient coding and use. I typically use them

Re: [R] Quantreg-rq crashing trouble

2011-07-21 Thread Steven R Corsi
p... Steve ======= Steven R. CorsiPhone: (608) 821-3835 Research Hydrologist email: srco...@usgs.gov U.S. Geological Survey Wisconsin Water Science Center 8505 Research Way Middleton, WI 53562 === On 7/21/2011 5:37 PM, Brian S Cade wrote: > St

[R] Quantreg-rq crashing trouble

2011-07-21 Thread Steven R Corsi
uld be greatly appreciated. Thanks Steve -- =========== Steven R. CorsiPhone: (608) 821-3835 Research Hydrologist email: srco...@usgs.gov U.S. Geological Survey Wisconsin Water Science Center 8505 Research Way Middl

[R] Quantitative Microbial Risk Assesment??

2011-07-17 Thread Steven R. Corsi
Hi, I am searching for a script or set of scripts written in R that perform Quantitative Microbial Risk Assessment (QMRA) computations for risk of infection from pathogens in recreational waters. My initial searches have come up empty. If there are other places I should look for this or email l

Re: [R] reading data from password protected url

2011-07-06 Thread Steven R Corsi
the database (one call per site). It doesn't seem to work at times when I do this. Is there something that needs to be done to re-initialize (Do I need to log out before making the second call)? Thanks Steve === Steven R. CorsiPhone: (608

Re: [R] lattice multiple y-scale possible?

2011-06-28 Thread Steven R Corsi
Dennis Adding in y = list(relation = 'free') to the scales argument worked very well. Thanks! Steve ======= Steven R. CorsiPhone: (608) 821-3835 Research Hydrologist email: srco...@usgs.gov U.S. Geological Survey Wisconsin Wat

[R] reading data from password protected url

2011-06-24 Thread Steven R Corsi
I am trying to retrieve data from a password protected database. I have login information and the proper url. When I make a request to the url, I get back some info, but need to read the "hidden header" information that has JSESSIONID and NCES_JSESSIONID. They need to be used to set cookies bef