Displaying 1 result from an estimated 1 matches for "symbolfram".
Did you mean:
symbolframe
2012 Dec 06
1
Fuction Error
I'm calling a list of symbols and then using a function to build a data
frame from that symbol list. It works great until I introduce this index
symbol from yahoo '^GSPC'. When and index symbol is introduced I get and
error which is below.
> Data <- symbolFrame(symbols)
Error in get(S) : object '^GSPC' not found
Since R does not like the ^ in front of a name it would seem that my
function needs away around the ^ in the symbol list. When I call this
function below it would be fine if you drop the ^. So R just calls the data
fine and drops...