Displaying 20 results from an estimated 8000 matches similar to: "date sequencing using the Fcalendar package"
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
2011 Jan 06
5
Problem with timeSequence {timeDate} - wrong end date
Dear help-list,
I have a problem with timeSequence {timeDate}.
When I use it like
> timeSequence(from = "2008-01-01", to = "2010-12-13", by = "1 month")
GMT
[1] [2008-01-01] [2008-02-01] [2008-03-01] [2008-04-01] [2008-05-01]
[2008-06-01] [2008-07-01] [2008-08-01] [2008-09-01] [2008-10-01]
[2008-11-01]
[12] [2008-12-01] [2009-01-01] [2009-02-01] [2009-03-01]
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 Feb 22
1
Package 'fCalendar'
Dear,
I'm a master student mathematics at university Gent, who's writing a thesis about vines and copula's.
I'm in trouble with the package 'fCalendar' which I need for running 'QRMlib'.
The problem is that 'fCalendar' doesn't have a namespace. I need to use R.2.14.1 because
I also need the package 'vines' which only works for R.2.14.1.
I'm
2008 Mar 23
2
Can not install fCalendar package under R 2.6.2
Dear R helper:
When I was trying to install the fCalendar package, R report the
following error and then my installation failed:
* Installing *source* package 'fCalendar' ...
** R
** inst
** preparing package for lazy loading
Loading required package: MASS
Loading required package: fEcofin
Loading required package: fUtilities
Loading required package: RUnit
RUnit 0.4.17 loaded.
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
2004 Nov 06
1
calendar-based time-series in R
Hello,
I am trying to switch to R from S-PLUS 6.1, and one problem I am having is
using R for manipulation of calendar-based time-series. In S-PLUS, I
commonly use the functions timeSequence(), timeDate(), and timeSeries() to
align/average/aggregate data; and I also do a lot of plotting of
time-series data (with calendar-based labels on the x-axis).
I was wondering if anyone is familiar with
2006 Apr 05
1
Time Series Objects/ MC Simulation
I am attempting to value convertible bonds through a Monte Carlo approach.
I want to express call schedules as date-price tuples. Naturally, these
tuples need to be expanded to match the frequency of the innovations in the
MC process.
1. Is there a straigh-forward way to accomplish this "expansion"?
2. I have noted the existance of ts, its, zoo and fCalendar. Does anyone
have an
2007 Feb 14
0
xts.dvs function in fCalendar
There is a function in the fCalendar package called xts.dvs but I m
unable to see the code inside the function.
Is this common with functions in the fCalendar package or maybe there is
something else that I have to
do first or use the colon colon command in some manner I want to see
the function coee because I want to see the detials
Of the algorithm used in the function. I am on linux and my
2008 Sep 11
5
How to obtain a sequence of dates consisting of only weekdays
Dear R-users,
How do I obtain a sequence of dates consisting of only weekdays without the weekends in R?
In S, I can do the following:
timeSeq(from="12/17/2007", to="8/25/2008", by="weekdays")
I tried using looking at timeSequence (fSeries package) and seq.Date (base package) but I do not know if I can specify "weekdays" rather than "day".
2008 May 21
3
Problem with R or fBasics Package (PR#11495)
I have a problem wirh R: After loding fBasics packages log funtion doesn't
work like as fallow:
Cenap ERDEMIR
Hacettepe University
Turkey
> log(20)
[1] 2.995732
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: fImport
Loading required package: fSeries
Loading required package: robustbase
2008 Jun 12
1
The log function problem
Hi R,
Please see the below commands. The question is I can see the value of
log(2) before loading the package fcalendar in R. But after loading the
package, the 'log' function doesn't work. How to solve this problem?
Also note that the function code differs before and after downloading
the packages.
> log
function (x, base = exp(1)) .Primitive("log")
>
2007 Nov 05
2
its does not recognize POSIXct w/ both time and Date?
Hello all,
I'm getting much further with my time-series work, but still getting
into some problems.
I'm using POSIXct time format with both date and time.
I'd like to use that in an its object but It seems its only processes
the date part of the POSIX time stamps:
BMU_its_data <- its(data[BMUindex,2-4],dates=data[BMUindex,1])
Error in `row.names<-.data.frame`(`*tmp*`,
2005 Jun 14
2
Two questions
Is is possible to...
Restrict all traffic two and from an internal ip address on a specific
port? (ie, no port 80 outbound from 192.168.6.50, and block all
returning packets to that same ip)
Restrict all traffic out to an external ip address on a speicific port?
(ie, no port 80 outbound to www.example.com [or its ip])
--
Landy J. Bible
The University of Tulsa
Computer Science Student
IS
2010 Oct 24
1
140 packages in R Commander!!
Dear List
I just downloaded and installed R 2.12.0 and then installed R Commander .
First it got RCmdr and Car, and then suggested for other packages for
utilizing the full functionality- I clicked yes!
I got 140 packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list
2007 Oct 31
1
problem with package fSeries
Helo,
please look at the log below: after loading the fSeries library, I can not use the log function. Is this a bug or what am I doing wrong?
Because of this, I'm unable to use the garch library.
thanks a lot for any help,
Balazs Torma
> log(1)
[1] 0
> require("fSeries")
Loading required package: fSeries
Loading required package: robustbase
Loading required package:
2008 Apr 07
2
tcltk issue remains
Dear R-help,
I'm trying to load the fGarch package and keep running into problems
with tcltk:
After succesfully instaling fGarch (and dependencies) I get:
>library(fGarch)
Loading required package: fBasics
Loading required package: fImport
Loading required package: fSeries
Loading required package: robustbase
Loading required package: fCalendar
Loading required package: MASS
Loading
2006 May 31
2
timeSeq and TimeDate analog in R ?
Hi All : I am attempting tomove a large amount of code from Splus to R and I was hoping that there was an equivalent in R of the Splus functions timeSeq and timeDate ?
I did an RSiteSearch but nothing came up ?
If the equivalent functions are part of some package, that's fine.
Thanks a lot.
Mark
2006 Jul 06
2
use of apply in a data frame on a row by row basis
Hello all,
I'm trying to use the apply function on a data frame,
by applying a function that takes a one row data.frame as argument .
Here's the example :
myfun = function(x) paste(x$f1 , x$f2)
df = data.frame(f1 = c(1,4,10),f2 = "hello")
apply(df,1,myfun) ==> Does not work (I get "character(0)" )
Though : myfun(df[1,]) works,
and myfun(df) works as well.
So if
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