Simple XTS Quantmod Problem

5 messages Options
Embed this post
Permalink
Arthur Kreitman

Simple XTS Quantmod Problem

Reply Threaded More More options
Print post
Permalink
I just installed Quantmod.  Trying their data loading example, I get the following

> getSymbols("YHOO",src="google")
Error: could not find function "getSymbols"

I'm sort of a newbi to r and r-sig, thanks


        [[alternative HTML version deleted]]

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
Scott MacDonald-6

Re: Simple XTS Quantmod Problem

Reply Threaded More More options
Print post
Permalink
Try loading the library:

> library(quantmod)
> getSymbols("YHOO",src="google")
[1] "YHOO"


On Sun, Nov 1, 2009 at 3:38 PM, Arthur Kreitman <[hidden email]> wrote:

> I just installed Quantmod.  Trying their data loading example, I get the
> following
>
> > getSymbols("YHOO",src="google")
> Error: could not find function "getSymbols"
>
> I'm sort of a newbi to r and r-sig, thanks
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>

        [[alternative HTML version deleted]]

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
Guillaume Yziquel-4

Re: Simple XTS Quantmod Problem

Reply Threaded More More options
Print post
Permalink
In reply to this post by Arthur Kreitman
Arthur Kreitman a écrit :
> I just installed Quantmod.  Trying their data loading example, I get the following
>
>> getSymbols("YHOO",src="google")
> Error: could not find function "getSymbols"
>
> I'm sort of a newbi to r and r-sig, thanks

When you type library(quantmod), do you get the following kind of output?

> Le chargement a nécessité le package : xts
> Le chargement a nécessité le package : zoo
>
> Attachement du package : 'zoo'
>
>
> The following object(s) are masked from package:base :
>
> as.Date.numeric
>
> xts now requires a valid TZ variable to be set
>  no TZ var is set, setting to TZ=GMT
> Le chargement a nécessité le package : Defaults
> Le chargement a nécessité le package : TTR
> TTR: Technical Trading Rules (version 0.2)

Seems to me that quantmod may be installed, but it is not loaded, in
your case.

--
      Guillaume Yziquel
http://yziquel.homelinux.org/

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
Arthur Kreitman

Re: Simple XTS Quantmod Problem

Reply Threaded More More options
Print post
Permalink
worked, thanks

-----Original Message-----
From: Guillaume Yziquel [mailto:[hidden email]]
Sent: Sunday, November 01, 2009 6:09 PM
To: Arthur Kreitman
Cc: [hidden email]
Subject: Re: [R-SIG-Finance] Simple XTS Quantmod Problem

Arthur Kreitman a écrit :
> I just installed Quantmod.  Trying their data loading example, I get the following
>
>> getSymbols("YHOO",src="google")
> Error: could not find function "getSymbols"
>
> I'm sort of a newbi to r and r-sig, thanks

When you type library(quantmod), do you get the following kind of output?

> Le chargement a nécessité le package : xts
> Le chargement a nécessité le package : zoo
>
> Attachement du package : 'zoo'
>
>
> The following object(s) are masked from package:base :
>
> as.Date.numeric
>
> xts now requires a valid TZ variable to be set
>  no TZ var is set, setting to TZ=GMT
> Le chargement a nécessité le package : Defaults
> Le chargement a nécessité le package : TTR
> TTR: Technical Trading Rules (version 0.2)

Seems to me that quantmod may be installed, but it is not loaded, in
your case.

--
      Guillaume Yziquel
http://yziquel.homelinux.org/
_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
Guillaume Yziquel-4

Re: Simple XTS Quantmod Problem

Reply Threaded More More options
Print post
Permalink
Arthur Kreitman a écrit :
> worked, thanks

You're welcome.

--
      Guillaume Yziquel
http://yziquel.homelinux.org/

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.