On Mon, 10 Nov 2008 11:20:03 -0800,
"Farley, Robert" <[EMAIL PROTECTED]> wrote:

> I have a time zone problem.  Running the code provided I get the
> result in UTC, and a lot of warnings like this: 28: In
> as.POSIXlt.POSIXct(x, tz) ... : unknwon timezone 'PST'

>> sunrise.set(34.11583, -118.18719, "2008-11-14")
>                    sunrise sunset newlon 2008-11-14 14:25:02
> 2008-11-15 00:49:09

That function doesn't exist in maptools, but I guess you're referring to
sunriset().  Even with that assumption, I get:

---<---------------cut here---------------start-------------->---
R> sunriset(34.11583, -118.18719, "2008-11-14")
Error in function (classes, fdef, mtable)  : 
  unable to find an inherited method for function "sunriset", for signature 
"numeric", "numeric"
---<---------------cut here---------------end---------------->---

Doesn't look like a time zone issue at all.  Can you show something we
can all run on our systems as per the posting guide?  That would save us
lots of time.


-- 
Seb

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to