[R] space in directory name

2011-09-13 Thread dbonneau
Hi, I am trying to read a text file located in following paths. I am getting error if I try to read from long directory.. But if I place the file right under C, It runs fine. Could anyone tell me how to read table from following directory path ? data1 <-read.table("C:\\Documents and Settings Adm

[R] R with X_Trader XTAPI

2011-04-20 Thread dbonneau
Is there a way or an existing packages to connect R to X_Trader using XTAPI ? I know there is a way of connecting R to TWS (Interactive broker).. but I was wondering if anyone has done connecting R to X_Trader ?? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/R-with-X-

Re: [R] Error: could not find function "tsts" tradesys package

2010-04-14 Thread dbonneau
Thank you so much for your reply. On the first page of the paper, there are logics which I typed > library(tradesys) > library(TTR) > data(spx) > tail(spx) ,and it runs smoothly. But it gives me an error at x <- tsts(spx) Thanks, db -- View this message in context: http://n4.nabble.com/Erro

[R] Error: could not find function "tsts" tradesys package

2010-04-13 Thread dbonneau
Hi, I am pretty new to R and would like to follow the code in the paper below, tradesys package. but I am stuck at the 2nd page where x<-tsts(spx) is written. Could anyopne help me why I am getting an Error :"could not find function "tsts" ". I guess I need function call "tsts". where can I find

[R] How to install Defaults package offline

2010-04-09 Thread dbonneau
Hi, I just installed R software on my machine which is not supposed to have an internet access. I installed several package that I need, which are quantmod, xts, TTR etc. When I typed require(quantmod), I get " Error: package 'Defaults' could not be loaded". How do you install Defaults package if