Re: [R] Daylight Saving Time

2014-11-07 Thread Vasantha Kumar Kesavan
I am Sorry for not explained my requirement to you properly. As you told in Windows I need to update the $R_HOME/share/zoneinfo with the latest time zone information, since R is not using the operating system time zone files. Then I have updated the zoneinfo directory, after that it is working

Re: [R] Daylight Saving Time

2014-11-07 Thread Prof Brian Ripley
On 07/11/2014 10:21, Vasantha Kumar Kesavan wrote: I am Sorry for not explained my requirement to you properly. As you told in Windows I need to update the $R_HOME/share/zoneinfo with the latest time zone information, since R is not using the operating system time zone files. Then I have

[R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
Hi, I am working R on windows 2012 R2 platform, I have updated the latest hotfixes for time zone information(Microsoft KB 2981580. http://support.microsoft.com/kb/2981580). But still R is not populating correct date time values(Standard and Daylight saving). Could you please advise me, how to

Re: [R] Daylight Saving Time

2014-11-06 Thread Jeff Newmiller
R on Windows uses the Olsen timezone database, a copy of which is stored with R in the Program Files directory (e.g. R/R-3.1.1/share/zoneinfo). You could update the file yourself if you can find a corrected version, or download an updated version of R.

Re: [R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
Thanks Jeff Newmiller, it is working now. I would like to know, the same kind of configuration can be done in Linux and Solaris platform. Instead of R is mapping to operating system(/usr/share/. /usr/share/lib/) zoneinfo directory. Thanks Vasanth On Fri, Nov 7, 2014 at 1:18 AM, Jeff Newmiller

Re: [R] Daylight Saving Time

2014-11-06 Thread Jeff Newmiller
Working now... after what action? AFAIK on *NIX systems R uses the OS installation of the Olsen database, so on a fresh login R should pick up any OS update you have installed. --- Jeff NewmillerThe

Re: [R] Daylight Saving Time

2014-11-06 Thread Vasantha Kumar Kesavan
In LINUX, I don't want R to use the operating system zoneinfo(Olsen database) instead of that I like to point different path which has the latest zoneinfo(latest Olsen database). On Fri, Nov 7, 2014 at 2:34 AM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: Working now... after what action?

Re: [R] Daylight Saving Time

2014-11-06 Thread Jeff Newmiller
?timezones You probably need to recompile R. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...

Re: [R] daylight

2012-10-24 Thread Greg Snow
Do you care about local topography/terrain? I think most of the calculators/tables that are commonly used assume that you are at a fairly flat place on the earth's surface, but that is not always true. The area where my wife grew up had its longest day closer to the equinox than the summer

[R] daylight

2012-10-23 Thread bambus
hi there, does anyone know how to calculate the amount of daylight on every day of the year in R? I mean the time between sunrise and sunset. thanks -- View this message in context: http://r.789695.n4.nabble.com/daylight-tp4647213.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] daylight

2012-10-23 Thread David Winsemius
On Oct 23, 2012, at 12:45 PM, bambus wrote: hi there, does anyone know how to calculate the amount of daylight on every day of the year in R? I mean the time between sunrise and sunset. http://www.esrl.noaa.gov/gmd/grad/solcalc/sunrise.html This should explain why you are posing an

Re: [R] daylight

2012-10-23 Thread Jeff Newmiller
library(maptools) ?sunriset --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live:

Re: [R] daylight

2012-10-23 Thread Mark Dalphin
I would start with the data. My source for this is the US Navy Sunrise/Sunset tables: http://aa.usno.navy.mil/data/docs/RS_OneYear.php The page is produces is pure text; I've previously extracted the values with a simple Perl script, but would do it today using R (in general, most of the