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)
mmapData$filedesc
Thanks for your help.
Regards,
Wolfgang Wu
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 yoursurrogate...@gmail.com
An: r-help@r-project.org
Cc:
Gesendet: 2:29 Mittwoch, 12.Oktober 2011
Betreff
- 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 for your help.
Regards.
Wolfgang Wu
__
R
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 Calandra ivan.calan...@uni
())#--
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 posting guide http://www.R-project.org/posting
5 matches
Mail list logo