[R-SIG-Finance] blotter updatePortf issue..
Doug Edmunds
dougedmunds at gmail.com
Wed Sep 5 17:59:27 CEST 2012
On 9/3/2012 12:14 PM, G See wrote:
> Second, I didn't get these warnings that you got
Perhaps you have warnings set to a negative number.
On Windows (XP,7) I get warnings using getSymbol, with both
the CRAN and newer Rforge versions of quantmod.
Try setting warnings to the default of 0
options(warn=0)
> install.packages("quantmod", repos="http://R-Forge.R-project.org")
Installing package(s) into ‘C:/R/library’
(as ‘lib’ is unspecified)
trying URL
'http://R-Forge.R-project.org/bin/windows/contrib/2.15/quantmod_0.3-20.zip'
Content type 'application/zip' length 448957 bytes (438 Kb)
opened URL
downloaded 438 Kb
package ‘quantmod’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Documents and Settings\dae\Local
Settings\Temp\RtmpcZmZ3k\downloaded_packages
> library("quantmod")
Loading required package: Defaults
Loading required package: xts
Loading required package: zoo
Attaching package: ‘zoo’
The following object(s) are masked from ‘package:base’:
as.Date, as.Date.numeric
Loading required package: TTR
> getSymbols("QQQ")
[1] "QQQ"
Warning message:
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
downloaded length 72200 != reported length 200
> getSymbols("IWM")
[1] "IWM"
Warning message:
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
downloaded length 71729 != reported length 200
More information about the R-SIG-Finance
mailing list