Displaying 20 results from an estimated 1000 matches similar to: "timeSeries Date Warning messages: Set timezone to GMT!"
2011 Jul 04
1
[R-SIG-Finance] FinCenter in timeSeries with "merge", "cbind" and "rbind"
Hi R users:
When I try to merge or bind (cbind or rbind) two series,
both with a "FinCenter" different that GMT, the
result is "GMT" not the original financial center?
What am I doing wrong?
######################################################
require(timeSeries)
getRmetricsOptions("myFinCenter")
setRmetricsOptions(myFinCenter = "America/Bogota")
2004 Dec 12
1
Re: [R-sig-finance] dates and times on Windows for fMetrics
# Here is the solution:
require(fBasics)
# Be sure that R is running in time zone GMT.
# Set your Windows environment variable to "GMT"
# Your PC Windows clock can still run in any other time zone!
# My clock is now running in Zurich in Europe.
Date = c("2003-10-09", "2003-10-10", "2003-10-13", "2003-10-14")
Open = c(1.27, 1.25, 1.27,
2009 Jan 27
2
Can I create a timeDate object using only year and week of the year values?
For a model I am working on, I have samples organized by year and week of
the year. For this model, the data (year and week) comes from the basic
sample data, but I require a value representing the amount of time since the
sample was taken (actually, for the purpose of the model, it is sufficient
to use the number of weeks from the middle of the sample week to the
present).
What I have found so
2007 Nov 02
1
R timeDate does not allow seconds?
Hello, Sorry if anyone gets this message twice, as my mailserver may not
be working.
Thanks for your response. Your idea makes a lot of sense to me, but I've
been unable to get seconds to work.
I ended up with this format finally:
"2007-10-31_16:20:22"
Problem is I am unable to get it recognized as a date using timeDate():
R>
2007 Mar 12
1
timeDate & business day
I have a daily time series and have two questions to get some help with.
Firs,t I have dates in simple numeric values. e.g.
ymd
[1] 20050104 20050105 20050106 20050107 20050110 20050111 20050113 20050114
[9] 20050118 20050120 20050121 20050124 20050125 20050126 20050127 20050128
[17] 20050201 20050202 20050203 20050204
Now, I'd like to compute statistics, e.g. acf, by business days. So, I
2009 Jan 27
1
Mystery Error in midnightStandard
I wasn't even aware I was using midnightStandard. You won't find it in my
script.
Here is the relevant loop:
date1 = timeDate(charvec = Sys.Date(), format = "%Y-%m-%d")
date1
dow = 3;
for (i in 1:length(V4) ) {
x = read.csv(as.character(V4[[i]]), header = FALSE, na.strings="");
y = x[,1];
year = V2[[i]];
week = V3[[i]];
dtstr =
2007 Dec 11
0
holidayNYSE missing some
John Putz wrote:
> Thanks.
>
> */
> email: /**/johnputz3655@yahoo.com/* <mailto:johnputz3655@yahoo.com>
> */home: 206-632-6522
> cell: 206-910-5229/*
>
>
> ----- Original Message ----
> From: Joe W. Byers <ecjbosu@aol.com>
> To: John Putz <johnputz3655@yahoo.com>
> Cc: r-sig-finance@stat.math.ethz.ch
> Sent: Friday, December 7, 2007
2009 Mar 05
1
Problem using RMySQL and fCalendar
Hello:
I am trying to use fCalendar for date arithmetic and the RMySQL package
for accessing a MySQL database. The fCalendar math operations seem to
work fine UNTIL I load the RMySQL package. Here is a demonstration:
ean at fibonacci:~/Desktop/amCharts/rsa-metrics$ R
R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free
2010 Jul 30
0
CBIND / MERGE two time series objects along time (overlapping indices, redundant data)
Hi there,
I need to merge/bind two time series objects (from RPackage: timeSeries) by
column. The theory is laid out nicely, even for overlapping indices.
In my example, I have overlapping indices ("01.01.2001"), where in one time
series I have one data point and in the other redundant data. Default usage of
merge and cbind would lead to the result that the one data point would be
2009 Oct 21
0
Problems coercing to timeSeries
Hi all. I'm suddenly having problems with the following:
> FUT10Y<-read.table("C:\\FUT10YR.csv",header=TRUE,sep=",")
> head(FUT10Y)
Date PX_OPEN PX_HIGH PX_LOW PX_LAST
1 1/5/1999 119.0000 119.1875 118.5312 118.6250
2 1/6/1999 118.5938 118.8750 118.2812 118.8438
3 1/7/1999 118.9062 119.0312 118.3750 118.5000
4 1/8/1999 118.4688 118.5625 117.5312
2007 Sep 19
0
fCalendar
is there a straigthforward way to get the holidays for Toronto ?
like the function for NYSE e.g.
the timeDate class says that setting a finCenter will give the right
holidays, but how?
thank you very much.
stephen
2007 Aug 20
2
library(fCalendar) timeDate("12.03.2005",format="%d.%m.%Y")
Dear R users,
I have problem with the library fCalendar.
I am not using the US standard format notations. It seems like it is not
possible to have different format than the US standards.
Anyone how knows a way to go around this problem?
Here is the code I enter:
myDate = "12.03.2005"
timeDate(myDate, format = "%d.%m.%Y")
And I get following error message:
Error in if
2012 Sep 07
6
splitting character vectors into multiple vectors using strsplit
Hi folks,
Suppose I create the character vector charvec by
> charvec<-c("a1.b1","a2.b2")
> charvec
[1] "a1.b1" "a2.b2"
and then I use strsplit on charvec as follows:
> splitlist<-strsplit(charvec,split=".",fixed=TRUE)
> splitlist
[[1]]
[1] "a1" "b1"
[[2]]
[1] "a2" "b2"
I was wondering
2011 Jan 12
1
snowfall
Hello,
Just wondering why I am unable to run this in parallel.
A dput of my dataset is attached at the end. Please use to create my data
object.
I want to run this function in parallel (not sure if this is an efficient
implementation):
#Function to calculate the time to maturity for the option
require(fCalendar,quietly=TRUE) #Trying to calculate the trading days
2005 Jul 05
1
timezone problems
Hi,
Im using R 2.1.1 and running Code that previously worked (on R 2.1.0 I
believe) using the 'timeDate' function from the fCalendar package. The
code now throws an error:
Error in if (Sys.timezone() != "GMT") warning("Set timezone to GMT!")
However I have read the documentation of the fCalendar package and I have
set my system variable TZ to GMT.
I tracked the
2008 Sep 09
1
'xtfrm' performance (influences 'order' performance) in R devel
Hello everybody,
it looks like the presense of some (do know know which) S4 methods for a
given S4 class degrades the performance of xtfrm (used in 'order' in new
R-devel) by a factor of millions. This is for classes that ARE derived
from numeric directly and thus should be quite trivial to convert to
numeric.
Consider the following example:
setClass("TimeDateBase",
2008 Nov 16
1
inconsistency between timeSeries and zoo causing a problem with rbind
Dear R Users and maintainers of packages zoo and timeSeries,
I believe there is a recently introduced inconsistency between
timeSeries and zoo which is causing a problem with rbind. I had
previously reported that I was having problems with rbind in the
following code:
library(zoo)
foo<-zoo(1,order.by=as.Date("2007-10-09"))
bar<-zoo(2,order.by=as.Date("2007-10-10"))
2008 Jan 24
1
Error using Rmetrics to read data
Hi folks. This set of code used to work, but after upgrading to the
latest version of Rmetrics it no longer does. Any ideas?
SP500<-read.table("SP500.csv",header=TRUE,sep=",")
> head(SP500)
Date Open High Low Close Volume Close2
1 8/4/2006 1280.26 1292.92 1273.82 1279.40 2530970112 1279.40
2 8/3/2006 1278.22 1283.96 1271.25 1280.27
2010 Nov 17
2
Default wine registry timezone from GMT 0 to GMT -3
Hi,
I've installed an app on Wine 1.2 on an Ubuntu 8.04 install. The app works, but takes the timezone from wine registry that it?s set, by default, to a GMT 0, and I need set the tz in wine registry on GMT -3. I wish to know if there is any way to set the timezone (GMT-3) in Wine , so that apps use the correct timezone and time. I can't find where set the TimeZone config in the
2011 Aug 11
2
Re: Default wine registry timezone from GMT 0 to GMT -3
Sorry for requestioning, but i still can't get it how to set the timezone in Wine.
Thanks.