wing code that
the mmapData$filedesc doesn't show the filename I specified in cFile. Is this
not how it is supposed to be used?
cFile <- 'C:/temp/testmapfile'
dfrData <- data.frame(matrix(data=1, ncol=2, nrow=10))
mmapData <- as.mmap(dfrData, file=cFile)
mma
In addition to Ivan, test$a is not a data.frame anymore but a numerical vector.
> class(test$a)
[1] "numeric"
> test$a
[1] 1 2 3
So adding a row to your data.frame would be
> rbind(test, 2)
a
1 1
2 2
3 3
4 2
Wolfgang Wu
- Ursprüngliche Message -
Von: Ivan Cal
runif(n=30), ncol=3);
>system.time(test <- pmax(matRandom[,1], matRandom[,2], matRandom[,3]))
user system elapsed
0.02 0.00 0.02
>system.time(test <- apply(matRandom, 1, max))
> user system elapsed
2.37 0.00 2.38
Thanks f
The quantmod package might be a good start.
http://cran.r-project.org/web/packages/quantmod/index.html
Regards,
Wolfgang Wu
- Ursprüngliche Message -
Von: Yves S. Garret
An: r-help@r-project.org
Cc:
Gesendet: 2:29 Mittwoch, 12.Oktober 2011
Betreff: [R] R and Forex
Hi all
] + xtsBuy[i-1] - xtsSell[i-1];
}
print(Sys.time())#--
Thank you very much in advance!
Best regards,
Wolfgang Wu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the postin
5 matches
Mail list logo