Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread David Winsemius
Sent from my iPhone > On Jul 11, 2017, at 10:00 AM, Cristina Silva wrote: > > Dear David, > > Thank you very much. You have solved my problem, not of importing in the > right format but the date conversion. It works for me, and if I specify the > timezone tz='GMT', I get exactly the same ti

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread Cristina Silva
Dear David, Thank you very much. You have solved my problem, not of importing in the right format but the date conversion. It works for me, and if I specify the timezone tz='GMT', I get exactly the same time of the webpage. Sincerely yours, Cristina On Tue, 11 Jul 2017 07:15:43 -0700, Davi

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread David Winsemius
> On Jul 11, 2017, at 6:25 AM, Cristina Silva wrote: > > Dear Jeff, > > I am sorry, I didn't notice that it was not plain text. I hope that it is now > in the correct format. I explain the problem again, now with more detais. > I am collecting the track positions of our research vessel from >

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-11 Thread Cristina Silva
Dear Jeff, I am sorry, I didn't notice that it was not plain text. I hope that it is now in the correct format. I explain the problem again, now with more detais. I am collecting the track positions of our research vessel from www.marinetraffic.com. In the page, the data appear in a table:

Re: [R] Problems with time formats when importing data using readHTMLTable

2017-07-10 Thread Jeff Newmiller
Not reproducible. [1][2][3] If our answers don't seem to apply to your situation, it will likely be because you did not explain your question clearly. Not plain text. This is a plain text mailing list, and the best-case scenario when you let your email program send HTML is that what you saw is

[R] Problems with time formats when importing data using readHTMLTable

2017-07-10 Thread Cristina Silva
Hi, I am extracting positions data from the marine traffic website. The table has a "Timestamp" column which, in the browser, appears with the format -mm-dd HH:MM (UTC), e.g. 2017-07-10 14:04 (UTC). When I import the table, the same date "2017-07-10 14:04 (UTC)" appears as "149969650014996