[R] Timestamp of exported files not updated when the file name is overwritten (ggsave)

2015-03-19 Thread David Villegas RĂ­os
Hi. I have a script in which I export some plots to a folder in my PC. The plots are exported with the function ggsave (in ggplot2). Whenever I re-run the code and export updated plots, the name of the exported file is overwritten (as expected) but the timestamp is not updated what turns it very

Re: [R] Timestamp of exported files not updated when the file name is overwritten (ggsave)

2015-03-19 Thread jim holtman
I just tried the example for 'ggsave' and waited a minute between each run, and the time modified for the file name was correct in that it showed a different time when run the second time. Please post the code you are running, the system you are using and then an example of what the times are.

Re: [R] TimeStamp

2010-09-14 Thread Uwe Ligges
On 06.09.2010 03:51, Roberto Badilla Fuentes wrote: Hi, I have a dataset in .dbf format. It contains Coordinates and Time. The TIMESTAMP is as follows: 03/18/2006 13:30:37 I am not working with the TIMESTAMP column, but when I print out my manipulated dataset using *write.dbf* I get the

Re: [R] TimeStamp

2010-09-14 Thread Roberto Badilla Fuentes
Thanks. Both methods definitely help. -Roberto 2010/9/14 Uwe Ligges lig...@statistik.tu-dortmund.de On 06.09.2010 03:51, Roberto Badilla Fuentes wrote: Hi, I have a dataset in .dbf format. It contains Coordinates and Time. The TIMESTAMP is as follows: 03/18/2006 13:30:37 I am not

[R] TimeStamp

2010-09-05 Thread Roberto Badilla Fuentes
Hi, I have a dataset in .dbf format. It contains Coordinates and Time. The TIMESTAMP is as follows: 03/18/2006 13:30:37 I am not working with the TIMESTAMP column, but when I print out my manipulated dataset using *write.dbf* I get the value *390 *where the TIMESTAMP value should be. Can

[R] timestamp shifted by hour(s) while mering zoo objects

2010-03-07 Thread Keith
Dear R-users, I have two regular hourly time series data which were recorded in time zone GMT+1, and now I would like to merge them together for further analyses. Here I used zoo and merge.zoo for my purposes and everything worked fine except the timestamp shifted 2 hours after merging which

Re: [R] timestamp shifted by hour(s) while mering zoo objects

2010-03-07 Thread Gabor Grothendieck
Without reproducible code (that means we can copy your code from your post, paste it into our session and see the same problem that you see) there is not much that can be said that addresses your specific situation but in terms of general advice: - the inappropriate use of time zones is a

Re: [R] timestamp shifted by hour(s) while mering zoo objects

2010-03-07 Thread CHI-YU
Thanks Gabor, You're right. The problem comes from the environment variable TZ. I just tried the Sys.getenv(TZ) and it's nothing there. After I have set the environment variable TZ as the same as the data, let's say Sys.setenv(TZ=GMT+1), the problem is gone. In order to complete the problem

Re: [R] timestamp shifted by hour(s) while mering zoo objects

2010-03-07 Thread Gabor Grothendieck
On my Vista system I get an error message saying that there is no such timezone as GMT+1. You may be better off not using time zones and just adjusting the times yourself. You could just use chron and avoid the entire time zone problem in the first place. In the first of the two approaches

Re: [R] timestamp shifted by hour(s) while mering zoo objects

2010-03-07 Thread Keith
Thanks Gabor, Just one comment on the error you received on the Vista machine. I also noticed this problem on Windows as well, and found there is no specification of GMT+1 on Windows XP. The closest setting for GMT+1 on windows is Africa/Lagos, however there is no this problem on *unix

[R] Timestamp

2009-01-27 Thread Raphael Saldanha
Hi! Someone knows some function to print a timestamp? Regards, Raphael Saldanha BRAZIL [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Timestamp

2009-01-27 Thread Henrique Dallazuanna
Try this for a object of class POSIXct unclass(Sys.time()) On Tue, Jan 27, 2009 at 2:38 PM, Raphael Saldanha saldanha.plan...@gmail.com wrote: Hi! Someone knows some function to print a timestamp? Regards, Raphael Saldanha BRAZIL [[alternative HTML version deleted]]

Re: [R] Timestamp

2009-01-27 Thread Raphael Saldanha
Thanks! Is was what I On Tue, Jan 27, 2009 at 2:45 PM, Henrique Dallazuanna www...@gmail.comwrote: Try this for a object of class POSIXct unclass(Sys.time()) On Tue, Jan 27, 2009 at 2:38 PM, Raphael Saldanha saldanha.plan...@gmail.com wrote: Hi! Someone knows some function to

Re: [R] Timestamp

2009-01-27 Thread Raphael Saldanha
Thanks! It was what I On Tue, Jan 27, 2009 at 2:45 PM, Henrique Dallazuanna www...@gmail.comwrote: Try this for a object of class POSIXct unclass(Sys.time()) On Tue, Jan 27, 2009 at 2:38 PM, Raphael Saldanha saldanha.plan...@gmail.com wrote: Hi! Someone knows some function to print

Re: [R] Timestamp

2009-01-27 Thread Raphael Saldanha
Sorry for the messages... extrange new shortcuts in e-mail... But thanks! It was I'm looking for. I'm running a long for and want to see the status, so I'm using print(). Anyone knows something better? On Tue, Jan 27, 2009 at 3:00 PM, Raphael Saldanha saldanha.plan...@gmail.com wrote:

Re: [R] Timestamp

2009-01-27 Thread Greg Snow
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Raphael Saldanha Sent: Tuesday, January 27, 2009 10:04 AM To: Henrique Dallazuanna Cc: r-help@r-project.org Subject: Re: [R] Timestamp Sorry for the messages... extrange new shortcuts