I did get this warning when I ran the code:
> runGist("4122626") Loading required package: TFX Warning: package âTFXâ
> was built under R version 2.15.2
I have checked websockets:
loaded via a namespace (and not attached): [1] bitops_1.0-5 caTools_1.13
devtools_0.8 [4] digest_0.6.0 evaluate_0.4.2 httr_0.2 [7]
memoise_0.1 parallel_2.15.1 plyr_1.7.1
[10] RCurl_1.95-3 RJSONIO_1.0-1 stringr_0.6.1
[13] tools_2.15.1 websockets_1.1.6 whisker_0.1
[16] xtable_1.7-0
I have checked pause updates:
Pause updates
So, Windows is not the issue, I have to update R to version 2.15.2 then
seems logical to me.
________________________________
From: G See <[email protected]>
To: Jeff Ryan <[email protected]>
ject.org>
Sent: Tuesday, 4 December 2012 1:12 AM
Subject: Re: [R-SIG-Finance] Introducing TFX: An R Interface to the TrueFX Web
API
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 <[email protected]> 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
>
>
e:
>
>> 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 <[email protected]>
>>
>> Cc: r-sig-finance <[email protected]>
>> 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 | [email protected] | http://dirk.eddelbuettel.com
>>Â Â Â Â [[alternative HTML version deleted]]
>>
>>
>> _______________________________________________
>> [email protected] 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
> [email protected]
>
> www.lemnica.com
>
>Â Â Â Â [[alternative HTML version deleted]]
>
> _______________________________________________
> [email protected] 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.
[[alternative HTML version deleted]]
_______________________________________________
[email protected] 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.