Hi Everyone,

I am trying to run a time based query and need some of your help.
Not much of data or packages.

Just a simple one.
Query I am trying to execute.

ifelse ((as.numeric(as.POSIXct("2012-10-01 20:38:00"))), (rnorm(1,2,1)),(Sys.sleep()))

Note. Why I am using as.numeric is as I have a list of time at which I wanted to run the command.

Something like 

1349142243
1349138667

Question.

1. The query is running before the time reaches in both R-Studio and R-Terminal in Mac based System.
2. Sys.sleep () is ineffective in putting R on sleep till the time comes. 


Bhupendrasinh Thakre






	[[alternative HTML version deleted]]

