[R] MAC Problem with http in R while not problem on Win machine

2011-12-06 Thread Martin Bauer
Hello, thanks to (http://timelyportfolio.blogspot.com/) and also (http://systematicinvestor.wordpress.com) the following code was published and it is running smoothly on my Windows enviroment but it is failing to perform on my MAC. #get MAImp code from GIST #thanks to http://systematicinvestor

[R] order function give back row name

2011-12-02 Thread Martin Bauer
Hello, I have a matrix results with dimension 1x9 double matrix XLB XLE XLF XLI 1 53.3089 55.77923 37.64458 83.08646 I'm trying to order this matrix > print(order(results)) [1] 3 1 2 4 how can the function order return the columnname XLF