OK, the spreadsheet is linked to csv files which fill the first 10
columns of a dozen worksheets in the same spreadsheet. In R I can read
this data in and I get data.frames that are 10 columns wide. I
currently have a dozen data frames.
Now, for each data.frame I need a scratch pad area just like the
extra cells to the right in Excel. How should I create this and why?
1) Make some new data.frames and if required later merge them with my
csv data.frame?
2) Make a larger matrix or array, fill it with the data from my
data.frames and leave space to work?
3) Something else completely?
I am unlikely to create anything to fill this work area other than
numerical values for now. I have very little logic (I.e. - true/false)
in my current spreadsheets and I do not create new strings. In the
short term this won't change.
If you need to ask questions please do.
Thanks in advance for any ideas.
Cheers,
Mark
Could life be any more simple? I cannot believe how easy this language
seems to make working with data!
System1<- data.frame(System1,Profit=0,Loss=0,Winners=0,Losers=0)
And here we go - I now have 4 named columns to work within?
Or am I somehow fooling myself here?
Cheers,
Mark
3) Something else completely?
For now anyway keeping everything separate just mimics the way I do it
in Excel where I don't have nearly as much freedom in the way I
arrange the data. A worksheet in Excel is a data frame in R - that
sort of thing.
None the less the ideas are great and are really helping me see the
possibilities. I'm now using functions in a moderately successful way.
I've got multiple charts up on the screen. It takes mines in Excel to
calculate what takes 2-3 seconds in R. Yeah - I'll be there's ways to
do it better but I'm on the edge of both making a 30x speed
improvement AND I can see possibilities in terms of real time links
between R and my trading platforms that would never work in Excel.
Life is looking more and more interesting, but I still have quite a ways to go.
thanks very much,
Mark