[R-SIG-Finance] Introducing TFX: An R Interface to the TrueFX Web API
G See
gsee000 at gmail.com
Mon Dec 3 18:12:56 CET 2012
I just tried it on Windows and it works for me with the sessionInfo below.
Are you sure you have at least version 1.1.6 of websockets?
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] bitops_1.0-5 TFX_0.1.0 shiny_0.2.3
loaded via a namespace (and not attached):
[1] caTools_1.13 digest_0.5.2 RJSONIO_1.0-1 tools_2.15.1
websockets_1.1.6 XML_3.9-4.1 xtable_1.7-0
Garrett
On Mon, Dec 3, 2012 at 11:09 AM, Jeff Ryan <jeff.a.ryan at gmail.com> wrote:
> If the backend is using websockets, that is very new ground in the land of
> HTML. M$ prides itself typically on being off by a decade w.r.t. adoption
> of such 'shiny' things.
>
> So... that may indeed be your issue.
>
> Jeff
>
>
> On Mon, Dec 3, 2012 at 11:05 AM, Dennis Lee <dennislwm at yahoo.com.au> wrote:
>
>> I am running it on Windows, maybe you didn't understand what I said.
>>
>> I did get the first quote displayed correctly, so it is not because of the
>> library.
>>
>> My problem is that it doesn't update periodically. I will try to figure it
>> out
>> when I have time, just too late now (its past midnight here) to solve this.
>>
>> > sessionInfo() R version 2.15.1 (2012-06-22)
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> It could be because of my R version (maybe not), but then again I have
>>
>> installed the CRAN version of shiny (and not the dev version on Github).
>>
>>
>>
>> ________________________________
>> From: Dirk Eddelbuettel <edd at debian.org>
>>
>> Cc: r-sig-finance <r-sig-finance at r-project.org>
>> Sent: Tuesday, 4 December 2012 12:56 AM
>> Subject: Re: [R-SIG-Finance] Introducing TFX: An R Interface to the TrueFX
>> Web API
>>
>>
>> On 3 December 2012 at 08:33, Dennis Lee wrote:
>> | I copied and pasted the code for Shiny app, but it doesn't update the FX
>> quotes
>> | every 750 ms. I tried it on Firefox and Chrome.
>>
>> "I copied and paste" ? Maybe you did that the wrong way?
>>
>> What happens when you install the shiny and TFX packages, and execute
>>
>> library(shiny)
>> runGist("4122626")
>>
>> which has been very reliable for me on different machine
>> (home/work/netbook/...) ?
>>
>> Dirk
>>
>> --
>> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>> [[alternative HTML version deleted]]
>>
>>
>> _______________________________________________
>> R-SIG-Finance at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions
>> should go.
>>
>
>
>
> --
> Jeffrey Ryan
> jeffrey.ryan at lemnica.com
>
> www.lemnica.com
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
More information about the R-SIG-Finance
mailing list