[R] pass character vector in instrument field of get.hist.quote function

David Winsemius dwinsemius at comcast.net
Sun Mar 13 19:35:51 CET 2011


On Mar 13, 2011, at 2:29 PM, algotr8der wrote:

> Thank you all. Your solutions work. I suppose it doesnt matter  
> whether I use
> coredata or not (at least for my current purposes). I have created a
> user-defined function and have saved it in a ".R" file in my current  
> working
> directory. But now I'm not sure how to invoke this function. R  
> complains
> that it cannot find the function.
>
> If I copy and paste the function code into the R console and call it  
> after
> that everything works fine. Is there a way to bring that function into
> memory by giving a path to its location?

?source

> I imagine that I will have many
> user-defined functions written in their own '.R' files over time.
>
> Thank you all.


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list