An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060224/e9e6451b/attachment.pl
Error In RBloomberg
2 messages · Samik Sen, Brian Ripley
Someone else at the same domain sent this earlier this week, so please do check before posting. See https://stat.ethz.ch/pipermail/r-help/2006-February/087382.html (which is not complete in the archive, but arrived here). Problems in packages should be reported to the maintainer. In this case my guess is that the package needs updating as origin() is an unexported function from package chron. Using another package with an unrelated function origin() just causes errors, and is what namespaces are designed to avoid. Note that packages which are Windows-only (and in this case depend on a non-CRAN package) do not get tested in the daily testing.
On Fri, 24 Feb 2006, Samik Sen wrote:
Hello R-Expert,
Recently I was using "RBloomberg" package in R-2.2.0 in Windows (XP)
machine installing the required packages. I checked one example using
blpGetData guided in corresponding help file:
conn <- blpConnect()
edb <- blpGetData(conn, "ED1 Comdty", "PX_LAST", start=chron("1/1/06"),
end=chron("1/31/06"))
I got error message as following:
The error message: Error in any (origin (chronDate)! = orig): couldn't
find function "origin".
Then I installed package "calibrate". I tried the same example ignoring
"start=chron("1/1/01")" and end=chron("1/31/06").The result was:
ED1 Comdty PX_LAST
95.1125
But when I tried the same with "start=chron("1/1/01")" installing the
package "calibrate". I got followings catching edb:
ED1 Comdty PX_LAST
(02/23/06 17:53:57) NA
I want to get all values of PX_LAST within 1/1/01 and 1/31/06 instead of
getting NA on the date I am working.Any help regarding this is
appreciated in advance.
Thanks,
Samik Sen
[[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595