Hi,

before you can try the examples, you have to load the package in your
directory:

> library(quantmod)

After that, it should work.

Regards,

--

Konrad Hoppe

http://www.konrad-hoppe.com/

  _____  

Von: r-sig-finance-bounces@stat.math.ethz.ch
[mailto:r-sig-finance-bounces@stat.math.ethz.ch] Im Auftrag von Edouard
Tallent
Gesendet: Mittwoch, 9. Dezember 2009 12:39
An: r-sig-finance@stat.math.ethz.ch
Betreff: [R-SIG-Finance] troubles with quantmod

 

Hi everyone. I am a newbie :$ 

I am using R2.9.0 for Windows (sorry for the linux guys .. ) 

I downloaded quantmod accroding to what http://www.quantmod.com/download/
shows, that is via : 

> install.packages(c('xts','Defaults','quantmod')) 

That worked. 

I then pastied/copied examples from www.quantmod.com and from the *.pdf
documentation. 

One of thoses examples is the following : 

getQuote("AAPL") 
getQuote("QQQQ;SPY;^VXN",what=yahooQF(c("Bid","Ask"))) 
standardQuote() 
yahooFQ() 

Then, after running, R tells that i cannot find the functions getQuote,
standardQuote(), yahooFQ() 

That is pretty strange ! In fact, the html help through "Search Engine &
Keywords" is able to find all those functions. 

What did I do wrong ? 

Thanks. 
Cheers 
Edouard. 


	[[alternative HTML version deleted]]

