This repository has been archived. The former README is now in README-NOT.md.
ropensci-archive / webrockets Goto Github PK
View Code? Open in Web Editor NEW:no_entry: ARCHIVED :no_entry: Websocket client for R
:no_entry: ARCHIVED :no_entry: Websocket client for R
This repository has been archived. The former README is now in README-NOT.md.
Hi
I have a websocket server say wss.blahstock.com. it provides stock price data realtime but we need to subscribe to certain stocks. How do I subscribe to a given list of stocks by sending a json list of ticker codes back to the server.
Best
GC
con <- ws_connect("wss://.../")
ERROR: Could not parse WebSocket url: wss://.../
Error in ws_connect("wss://.../") : Invalid URL
require(webrockets)
ws_connect('https://ws-api.iextrading.com/1.0')
ERROR: Could not parse WebSocket url: https://ws-api.iextrading.com/1.0
*** Error in `/opt/R-3.4.1/bin/exec/R': free(): invalid pointer: 0x0bccef1c ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67377)[0xb6e27377]
/lib/i386-linux-gnu/libc.so.6(+0x6d2f7)[0xb6e2d2f7]
/lib/i386-linux-gnu/libc.so.6(+0x6dc31)[0xb6e2dc31]
/usr/local/lib/libstdc++.so.6(_ZdlPv+0x18)[0xb534cd88]
/home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/webrockets/libs/webrockets.so(_Z24exception_to_r_conditionRKSt9exception+0x36b)[0xb1ac9ceb]
/home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/webrockets/libs/webrockets.so(webrockets_ws_connect+0x19d)[0xb1ac88dd]
/opt/R-3.4.1/bin/exec/R[0x80c0494]
======= Memory map: ========
08048000-0827d000 r-xp 00000000 08:01 5898664 /opt/R-3.4.1/bin/exec/R
0827d000-0827e000 r--p 00234000 08:01 5898664 /opt/R-3.4.1/bin/exec/R
0827e000-08287000 rw-p 00235000 08:01 5898664 /opt/R-3.4.1/bin/exec/R
08287000-083d5000 rw-p 00000000 00:00 0
08d4c000-0bde9000 rw-p 00000000 00:00 0 [heap]
ad44b000-b150c000 rw-p 00000000 00:00 0
b1600000-b1621000 rw-p 00000000 00:00 0
b1621000-b1700000 ---p 00000000 00:00 0
b173c000-b18be000 rw-p 00000000 00:00 0
b18be000-b18ce000 r-xp 00000000 08:01 5898640 /opt/R-3.4.1/modules/internet.so
b18ce000-b18cf000 r--p 0000f000 08:01 5898640 /opt/R-3.4.1/modules/internet.so
b18cf000-b18d0000 rw-p 00010000 08:01 5898640 /opt/R-3.4.1/modules/internet.so
b18d0000-b19da000 rw-p 00000000 00:00 0
b19da000-b19e5000 r-xp 00000000 08:01 39357833 /lib/i386-linux-gnu/libnss_nis-2.23.so
b19e5000-b19e6000 r--p 0000a000 08:01 39357833 /lib/i386-linux-gnu/libnss_nis-2.23.so
b19e6000-b19e7000 rw-p 0000b000 08:01 39357833 /lib/i386-linux-gnu/libnss_nis-2.23.so
b19e7000-b19fe000 r-xp 00000000 08:01 39357675 /lib/i386-linux-gnu/libnsl-2.23.so
b19fe000-b19ff000 r--p 00016000 08:01 39357675 /lib/i386-linux-gnu/libnsl-2.23.so
b19ff000-b1a00000 rw-p 00017000 08:01 39357675 /lib/i386-linux-gnu/libnsl-2.23.so
b1a00000-b1a02000 rw-p 00000000 00:00 0
b1a02000-b1a0a000 r-xp 00000000 08:01 39357842 /lib/i386-linux-gnu/libnss_compat-2.23.so
b1a0a000-b1a0b000 r--p 00007000 08:01 39357842 /lib/i386-linux-gnu/libnss_compat-2.23.so
b1a0b000-b1a0c000 rw-p 00008000 08:01 39357842 /lib/i386-linux-gnu/libnss_compat-2.23.so
b1ac3000-b1ad6000 r-xp 00000000 08:01 39806165 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/webrockets/libs/webrockets.so
b1ad6000-b1ad7000 r--p 00012000 08:01 39806165 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/webrockets/libs/webrockets.so
b1ad7000-b1ad8000 rw-p 00013000 08:01 39806165 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/webrockets/libs/webrockets.so
b1ad8000-b1ae8000 rwxp 00000000 00:00 0
b1ae8000-b1b69000 rw-p 00000000 00:00 0
b1b69000-b31d4000 r-xp 00000000 08:01 11798288 /usr/lib/i386-linux-gnu/libicudata.so.52.1
b31d4000-b31d5000 r--p 0166a000 08:01 11798288 /usr/lib/i386-linux-gnu/libicudata.so.52.1
b31d5000-b31d6000 rw-p 0166b000 08:01 11798288 /usr/lib/i386-linux-gnu/libicudata.so.52.1
b31d6000-b3339000 r-xp 00000000 08:01 11799802 /usr/lib/i386-linux-gnu/libicuuc.so.52.1
b3339000-b3343000 r--p 00162000 08:01 11799802 /usr/lib/i386-linux-gnu/libicuuc.so.52.1
b3343000-b3344000 rw-p 0016c000 08:01 11799802 /usr/lib/i386-linux-gnu/libicuuc.so.52.1
b3344000-b3348000 rw-p 00000000 00:00 0
b3348000-b354d000 r-xp 00000000 08:01 11799805 /usr/lib/i386-linux-gnu/libicui18n.so.52.1
b354d000-b354e000 ---p 00205000 08:01 11799805 /usr/lib/i386-linux-gnu/libicui18n.so.52.1
b354e000-b3555000 r--p 00205000 08:01 11799805 /usr/lib/i386-linux-gnu/libicui18n.so.52.1
b3555000-b3556000 rw-p 0020c000 08:01 11799805 /usr/lib/i386-linux-gnu/libicui18n.so.52.1
b3556000-b35ac000 r-xp 00000000 08:01 39834540 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/pryr/libs/pryr.so
b35ac000-b35ad000 r--p 00055000 08:01 39834540 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/pryr/libs/pryr.so
b35ad000-b35ae000 rw-p 00056000 08:01 39834540 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/pryr/libs/pryr.so
b35ae000-b375e000 rw-p 00000000 00:00 0
b375e000-b383d000 r-xp 00000000 08:01 39822365 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/00LOCK-Rcpp/Rcpp/libs/Rcpp.so (deleted)
b383d000-b383e000 r--p 000df000 08:01 39822365 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/00LOCK-Rcpp/Rcpp/libs/Rcpp.so (deleted)
b383e000-b3841000 rw-p 000e0000 08:01 39822365 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/00LOCK-Rcpp/Rcpp/libs/Rcpp.so (deleted)
b3841000-b3846000 rw-p 00000000 00:00 0
b384c000-b3851000 r-xp 00000000 08:01 39357828 /lib/i386-linux-gnu/libnss_dns-2.23.so
b3851000-b3852000 r--p 00004000 08:01 39357828 /lib/i386-linux-gnu/libnss_dns-2.23.so
b3852000-b3853000 rw-p 00005000 08:01 39357828 /lib/i386-linux-gnu/libnss_dns-2.23.so
b3853000-b3855000 r-xp 00000000 08:01 39321841 /lib/i386-linux-gnu/libnss_mdns4_minimal.so.2
b3855000-b3856000 r--p 00001000 08:01 39321841 /lib/i386-linux-gnu/libnss_mdns4_minimal.so.2
b3856000-b3857000 rw-p 00002000 08:01 39321841 /lib/i386-linux-gnu/libnss_mdns4_minimal.so.2
b3857000-b38c5000 r-xp 00000000 08:01 39940147 /home/isomorphismescd/R/i686-pc-linux-gnu-library/3.4/stringi/libs/stringi.so
b38c5000-b38c6000 r--p 0006e000 08:01 39940147 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/stringi/libs/stringi.so
b38c6000-b38c7000 rw-p 0006f000 08:01 39940147 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/stringi/libs/stringi.so
b38c7000-b38d0000 r-xp 00000000 08:01 39357831 /lib/i386-linux-gnu/libcrypt-2.23.so
b38d0000-b38d1000 r--p 00008000 08:01 39357831 /lib/i386-linux-gnu/libcrypt-2.23.so
b38d1000-b38d2000 rw-p 00009000 08:01 39357831 /lib/i386-linux-gnu/libcrypt-2.23.so
b38d2000-b38f9000 rw-p 00000000 00:00 0
b38f9000-b39d6000 r-xp 00000000 08:01 11796761 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
b39d6000-b39d8000 r--p 000dc000 08:01 11796761 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
b39d8000-b39da000 rw-p 000de000 08:01 11796761 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
b39da000-b3a26000 r-xp 00000000 08:01 11804335 /usr/lib/i386-linux-gnu/libhx509.so.5.0.0
b3a26000-b3a27000 ---p 0004c000 08:01 11804335 /usr/lib/i386-linux-gnu/libhx509.so.5.0.0
b3a27000-b3a28000 r--p 0004c000 08:01 11804335 /usr/lib/i386-linux-gnu/libhx509.so.5.0.0
b3a28000-b3a29000 rw-p 0004d000 08:01 11804335 /usr/lib/i386-linux-gnu/libhx509.so.5.0.0
b3a29000-b3a2a000 rw-p 00000000 00:00 0
b3a2a000-b3a39000 r-xp 00000000 08:01 11802916 /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
b3a39000-b3a3a000 r--p 0000e000 08:01 11802916 /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
b3a3a000-b3a3b000 rw-p 0000f000 08:01 11802916 /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
b3a3b000-b3a63000 r-xp 00000000 08:01 11801500 /usr/lib/i386-linux-gnu/libwind.so.0.0.0
b3a63000-b3a64000 r--p 00027000 08:01 11801500 /usr/lib/i386-linux-gnu/libwind.so.0.0.0
b3a64000-b3a65000 rw-p 00028000 08:01 11801500 /usr/lib/i386-linux-gnu/libwind.so.0.0.0
b3a65000-b3a6c000 r-xp 00000000 08:01 11796975 /usr/lib/i386-linux-gnu/libffi.so.6.0.4
b3a6c000-b3a6d000 r--p 00006000 08:01 11796975 /usr/lib/i386-linux-gnu/libffi.so.6.0.4
b3a6d000-b3a6e000 rw-p 00007000 08:01 11796975 /usr/lib/i386-linux-gnu/libffi.so.6.0.4
b3a6e000-b3af8000 r-xp 00000000 08:01 11796859 /usr/lib/i386-linux-gnu/libgmp.so.10.3.0
b3af8000-b3af9000 r--p 00089000 08:01 11796859 /usr/lib/i386-linux-gnu/libgmp.so.10.3.0
b3af9000-b3afa000 rw-p 0008a000 08:01 11796859 /usr/lib/i386-linux-gnu/libgmp.so.10.3.0
b3afa000-b3b2d000 r-xp 00000000 08:01 11839895 /usr/lib/i386-linux-gnu/libhogweed.so.4.2
b3b2d000-b3b2e000 r--p 00032000 08:01 11839895 /usr/lib/i386-linux-gnu/libhogweed.so.4.2
b3b2e000-b3b2f000 rw-p 00033000 08:01 11839895 /usr/lib/i386-linux-gnu/libhogweed.so.4.2
b3b2f000-b3b69000 r-xp 00000000 08:01 11797582 /usr/lib/i386-linux-gnu/libnettle.so.6.2
b3b69000-b3b6a000 ---p 0003a000 08:01 11797582 /usr/lib/i386-linux-gnu/libnettle.so.6.2
b3b6a000-b3b6b000 r--p 0003a000 08:01 11797582 /usr/lib/i386-linux-gnu/libnettle.so.6.2
b3b6b000-b3b6c000 rw-p 0003b000 08:01 11797582 /usr/lib/i386-linux-gnu/libnettle.so.6.2
b3b6c000-b3b82000 r-xp 00000000 08:01 11796564 /usr/lib/i386-linux-gnu/libroken.so.18.1.0
b3b82000-b3b83000 r--p 00015000 08:01 11796564 /usr/lib/i386-linux-gnu/libroken.so.18.1.0
b3b83000-b3b84000 rw-p 00016000 08:01 11796564 /usr/lib/i386-linux-gnu/libroken.so.18.1.0
b3b84000-b3bba000 r-xp 00000000 08:01 11796869 /usr/lib/i386-linux-gnu/libhcrypto.so.4.1.0
b3bba000-b3bbb000 r--p 00035000 08:01 11796869 /usr/lib/i386-linux-gnu/libhcrypto.so.4.1.0
b3bbb000-b3bbc000 rw-p 00036000 08:01 11796869 /usr/lib/i386-linux-gnu/libhcrypto.so.4.1.0
b3bbc000-b3bbd000 rw-p 00000000 00:00 0
b3bbd000-b3bc0000 r-xp 00000000 08:01 39362452 /lib/i386-linux-gnu/libcom_err.so.2.1
b3bc0000-b3bc1000 r--p 00002000 08:01 39362452 /lib/i386-linux-gnu/libcom_err.so.2.1
b3bc1000-b3bc2000 rw-p 00003000 08:01 39362452 /lib/i386-linux-gnu/libcom_err.so.2.1
b3bc2000-b3c70000 r-xp 00000000 08:01 11796868 /usr/lib/i386-linux-gnu/libasn1.so.8.0.0
b3c70000-b3c71000 r--p 000ad000 08:01 11796868 /usr/lib/i386-linux-gnu/libasn1.so.8.0.0
b3c71000-b3c73000 rw-p 000ae000 08:01 11796868 /usr/lib/i386-linux-gnu/libasn1.so.8.0.0
b3c73000-b3d07000 r-xp 00000000 08:01 11801136 /usr/lib/i386-linux-gnu/libkrb5.so.26.0.0
b3d07000-b3d09000 r--p 00093000 08:01 11801136 /usr/lib/i386-linux-gnu/libkrb5.so.26.0.0
b3d09000-b3d0b000 rw-p 00095000 08:01 11801136 /usr/lib/i386-linux-gnu/libkrb5.so.26.0.0
b3d0b000-b3d1f000 r-xp 00000000 08:01 39322127 /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b3d1f000-b3d20000 r--p 00013000 08:01 39322127 /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b3d20000-b3d21000 rw-p 00014000 08:01 39322127 /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b3d21000-b3d7c000 r-xp 00000000 08:01 11839897 /usr/lib/i386-linux-gnu/libp11-kit.so.0.1.0
b3d7c000-b3d81000 r--p 0005a000 08:01 11839897 /usr/lib/i386-linux-gnu/libp11-kit.so.0.1.0
b3d81000-b3d82000 rw-p 0005f000 08:01 11839897 /usr/lib/i386-linux-gnu/libp11-kit.so.0.1.0
b3d82000-b3d95000 r-xp 00000000 08:01 11809389 /usr/lib/i386-linux-gnu/libtasn1.so.6.5.1
b3d95000-b3d96000 r--p 00012000 08:01 11809389 /usr/lib/i386-linux-gnu/libtasn1.so.6.5.1
b3d96000-b3d97000 rw-p 00013000 08:01 11809389 /usr/lib/i386-linux-gnu/libtasn1.so.6.5.1
b3d97000-b3ee6000 r-xp 00000000 08:01 11805512 /usr/lib/i386-linux-gnu/libgnutls.so.30.6.2
b3ee6000-b3ee7000 ---p 0014f000 08:01 11805512 /usr/lib/i386-linux-gnu/libgnutls.so.30.6.2
b3ee7000-b3eed000 r--p 0014f000 08:01 11805512 /usr/lib/i386-linux-gnu/libgnutls.so.30.6.2
b3eed000-b3eee000 rw-p 00155000 08:01 11805512 /usr/lib/i386-linux-gnu/libgnutls.so.30.6.2
b3eee000-b3eef000 rw-p 00000000 00:00 0
b3eef000-b3f33000 r-xp 00000000 08:01 11805204 /usr/lib/i386-linux-gnu/libgssapi.so.3.0.0
b3f33000-b3f34000 r--p 00043000 08:01 11805204 /usr/lib/i386-linux-gnu/libgssapi.so.3.0.0
b3f34000-b3f35000 rw-p 00044000 08:01 11805204 /usr/lib/i386-linux-gnu/libgssapi.so.3.0.0
b3f35000-b3f36000 rw-p 00000000 00:00 0
b3f36000-b3f52000 r-xp 00000000 08:01 11796494 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b3f52000-b3f53000 r--p 0001b000 08:01 11796494 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b3f53000-b3f54000 rw-p 0001c000 08:01 11796494 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b3f54000-b3f68000 r-xp 00000000 08:01 39357876 /lib/i386-linux-gnu/libresolv-2.23.so
b3f68000-b3f69000 ---p 00014000 08:01 39357876 /lib/i386-linux-gnu/libresolv-2.23.so
b3f69000-b3f6a000 r--p 00014000 08:01 39357876 /lib/i386-linux-gnu/libresolv-2.23.so
b3f6a000-b3f6b000 rw-p 00015000 08:01 39357876 /lib/i386-linux-gnu/libresolv-2.23.so
b3f6b000-b3f6d000 rw-p 00000000 00:00 0
b3f6d000-b3f7b000 r-xp 00000000 08:01 11797186 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.10.5
b3f7b000-b3f7c000 r--p 0000d000 08:01 11797186 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.10.5
b3f7c000-b3f7d000 rw-p 0000e000 08:01 11797186 /usr/lib/i386-linux-gnu/liblber-2.4.so.2.10.5
b3f7d000-b4028000 r-xp 00000000 08:01 39357803 /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b4028000-b4029000 r--p 000aa000 08:01 39357803 /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b4029000-b402c000 rw-p 000ab000 08:01 39357803 /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b402c000-b40af000 r-xp 00000000 08:01 39322555 /lib/i386-linux-gnu/libgcrypt.so.11.8.2
b40af000-b40b0000 r--p 00082000 08:01 39322555 /lib/i386-linux-gnu/libgcrypt.so.11.8.2
b40b0000-b40b2000 rw-p 00083000 08:01 39322555 /lib/i386-linux-gnu/libgcrypt.so.11.8.2
b40b2000-b40b3000 rw-p 00000000 00:00 0
b40b3000-b4175000 r-xp 00000000 08:01 11797041 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.6
b4175000-b4179000 r--p 000c1000 08:01 11797041 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.6
b4179000-b417a000 rw-p 000c5000 08:01 11797041 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.6
b417a000-b434c000 r-xp 00000000 08:01 39358120 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b434c000-b435c000 r--p 001d1000 08:01 39358120 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b435c000-b4363000 rw-p 001e1000 08:01 39358120 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b4363000-b4366000 rw-p 00000000 00:00 0
b4366000-b43c9000 r-xp 00000000 08:01 39358123 /lib/i386-linux-gnu/libssl.so.1.0.0
b43c9000-b43cc000 r--p 00062000 08:01 39358123 /lib/i386-linux-gnu/libssl.so.1.0.0
b43cc000-b43d0000 rw-p 00065000 08:01 39358123 /lib/i386-linux-gnu/libssl.so.1.0.0
b43d0000-b45be000 r-xp 00000000 08:01 5898658 /opt/R-3.4.1/lib/libRlapack.so
b45be000-b45bf000 r--p 001ed000 08:01 5898658 /opt/R-3.4.1/lib/libRlapack.so
b45bf000-b45c0000 rw-p 001ee000 08:01 5898658 /opt/R-3.4.1/lib/libRlapack.so
b45c0000-b4746000 rw-p 00000000 00:00 0
b4748000-b4750000 r-xp 00000000 08:01 11805202 /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
b4750000-b4751000 r--p 00007000 08:01 11805202 /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
b4751000-b4752000 rw-p 00008000 08:01 11805202 /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
b4752000-b47a9000 r-xp 00000000 08:01 11796823 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.10.5
b47a9000-b47aa000 ---p 00057000 08:01 11796823 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.10.5
b47aa000-b47ab000 r--p 00057000 08:01 11796823 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.10.5
b47ab000-b47ac000 rw-p 00058000 08:01 11796823 /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.10.5
b47ac000-b47ad000 rw-p 00000000 00:00 0
b47ad000-b47da000 r-xp 00000000 08:01 11800290 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1
b47da000-b47db000 r--p 0002c000 08:01 11800290 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1
b47db000-b47dc000 rw-p 0002d000 08:01 11800290 /usr/lib/i386-linux-gnu/libssh2.so.1.0.1
b47dc000-b47f5000 r-xp 00000000 08:01 11807198 /usr/lib/i386-linux-gnu/librtmp.so.0
b47f5000-b47f6000 r--p 00018000 08:01 11807198 /usr/lib/i386-linux-gnu/librtmp.so.0
b47f6000-b47f7000 rw-p 00019000 08:01 11807198 /usr/lib/i386-linux-gnu/librtmp.so.0
b47f7000-b4829000 r-xp 00000000 08:01 11843008 /usr/lib/i386-linux-gnu/libidn.so.11.6.15
b4829000-b482a000 r--p 00031000 08:01 11843008 /usr/lib/i386-linux-gnu/libidn.so.11.6.15
b482a000-b482b000 rw-p 00032000 08:01 11843008 /usr/lib/i386-linux-gnu/libidn.so.11.6.15
b482c000-b4837000 r-xp 00000000 08:01 39357830 /lib/i386-linux-gnu/libnss_files-2.23.so
b4837000-b4838000 r--p 0000a000 08:01 39357830 /lib/i386-linux-gnu/libnss_files-2.23.so
b4838000-b4839000 rw-p 0000b000 08:01 39357830 /lib/i386-linux-gnu/libnss_files-2.23.so
b4839000-b483f000 rw-p 00000000 00:00 0
b483f000-b4860000 r-xp 00000000 08:01 39882389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/digest/libs/digest.so
b4860000-b4861000 r--p 00020000 08:01 39882389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/digest/libs/digest.so
b4861000-b4862000 rw-p 00021000 08:01 39882389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/digest/libs/digest.so
b4862000-b4863000 rw-p 00000000 00:00 0
b4863000-b4866000 r-xp 00000000 08:01 40025476 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/colorout/libs/colorout.so
b4866000-b4867000 ---p 00003000 08:01 40025476 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/colorout/libs/colorout.so
b4867000-b4868000 r--p 00003000 08:01 40025476 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/colorout/libs/colorout.so
b4868000-b4869000 rw-p 00004000 08:01 40025476 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/colorout/libs/colorout.so
b4869000-b487b000 r-xp 00000000 08:01 6114007 /opt/R-3.4.1/library/tools/libs/tools.so
b487b000-b487c000 r--p 00011000 08:01 6114007 /opt/R-3.4.1/library/tools/libs/tools.so
b487c000-b487d000 rw-p 00012000 08:01 6114007 /opt/R-3.4.1/library/tools/libs/tools.so
b487d000-b4882000 r-xp 00000000 08:01 39880429 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/TTR/libs/TTR.so
b4882000-b4883000 r--p 00004000 08:01 39880429 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/TTR/libs/TTR.so
b4883000-b4884000 rw-p 00005000 08:01 39880429 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/TTR/libs/TTR.so
b4884000-b48ff000 r-xp 00000000 08:01 12061046 /usr/local/lib/libcurl.so.4.4.0
b48ff000-b4901000 rw-p 0007a000 08:01 12061046 /usr/local/lib/libcurl.so.4.4.0
b4901000-b490c000 r-xp 00000000 08:01 39882600 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/curl/libs/curl.so
b490c000-b490d000 r--p 0000a000 08:01 39882600 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/curl/libs/curl.so
b490d000-b490e000 rw-p 0000b000 08:01 39882600 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/curl/libs/curl.so
b490e000-b492a000 r-xp 00000000 08:01 39879885 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/xts/libs/xts.so
b492a000-b492b000 r--p 0001b000 08:01 39879885 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/xts/libs/xts.so
b492b000-b492c000 rw-p 0001c000 08:01 39879885 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/xts/libs/xts.so
b492c000-b4930000 r-xp 00000000 08:01 40002389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/zoo/libs/zoo.so
b4930000-b4931000 r--p 00003000 08:01 40002389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/zoo/libs/zoo.so
b4931000-b4932000 rw-p 00004000 08:01 40002389 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/zoo/libs/zoo.so
b4932000-b49a1000 rw-p 00000000 00:00 0
b49a1000-b4a49000 r-xp 00000000 08:01 6114377 /opt/R-3.4.1/library/stats/libs/stats.so
b4a49000-b4a4a000 r--p 000a7000 08:01 6114377 /opt/R-3.4.1/library/stats/libs/stats.so
b4a4a000-b4a4b000 rw-p 000a8000 08:01 6114377 /opt/R-3.4.1/library/stats/libs/stats.so
b4a4b000-b4a8e000 r-xp 00000000 08:01 6114237 /opt/R-3.4.1/library/graphics/libs/graphics.so
b4a8e000-b4a8f000 ---p 00043000 08:01 6114237 /opt/R-3.4.1/library/graphics/libs/graphics.so
b4a8f000-b4a90000 r--p 00043000 08:01 6114237 /opt/R-3.4.1/library/graphics/libs/graphics.so
b4a90000-b4a91000 rw-p 00044000 08:01 6114237 /opt/R-3.4.1/library/graphics/libs/graphics.so
b4a91000-b4cf1000 rw-p 00000000 00:00 0
b4cf4000-b4d14000 r-xp 00000000 08:01 6114451 /opt/R-3.4.1/library/grid/libs/grid.so
b4d14000-b4d15000 r--p 0001f000 08:01 6114451 /opt/R-3.4.1/library/grid/libs/grid.so
b4d15000-b4d16000 rw-p 00020000 08:01 6114451 /opt/R-3.4.1/library/grid/libs/grid.so
b4d16000-b4d43000 r-xp 00000000 08:01 6114195 /opt/R-3.4.1/library/grDevices/libs/grDevices.so
b4d43000-b4d46000 r--p 0002c000 08:01 6114195 /opt/R-3.4.1/library/grDevices/libs/grDevices.so
b4d46000-b4d48000 rw-p 0002f000 08:01 6114195 /opt/R-3.4.1/library/grDevices/libs/grDevices.so
b4d48000-b50be000 rw-p 00000000 00:00 0
b50be000-b52be000 r--p 00000000 08:01 11834781 /usr/lib/locale/locale-archive
b52be000-b52c2000 rw-p 00000000 00:00 0
b52c2000-b549e000 r-xp 00000000 08:01 12070645 /usr/local/lib/libstdc++.so.6.0.21
b549e000-b54a5000 r--p 001db000 08:01 12070645 /usr/local/lib/libstdc++.so.6.0.21
b54a5000-b54a8000 rw-p 001e2000 08:01 12070645 /usr/local/lib/libstdc++.so.6.0.21
b54a8000-b54aa000 rw-p 00000000 00:00 0
b54aa000-b6d60000 r-xp 00000000 08:01 11810849 /usr/lib/i386-linux-gnu/libicudata.so.55.1
b6d60000-b6d61000 r--p 018b5000 08:01 11810849 /usr/lib/i386-linux-gnu/libicudata.so.55.1
b6d61000-b6d62000 rw-p 018b6000 08:01 11810849 /usr/lib/i386-linux-gnu/libicudata.so.55.1
b6d62000-b6d7b000 r-xp 00000000 08:01 39357832 /lib/i386-linux-gnu/libpthread-2.23.so
b6d7b000-b6d7c000 r--p 00018000 08:01 39357832 /lib/i386-linux-gnu/libpthread-2.23.so
b6d7c000-b6d7d000 rw-p 00019000 08:01 39357832 /lib/i386-linux-gnu/libpthread-2.23.so
b6d7d000-b6d7f000 rw-p 00000000 00:00 0
b6d7f000-b6d9f000 r-xp 00000000 08:01 39321820 /lib/i386-linux-gnu/libtinfo.so.5.9
b6d9f000-b6da1000 r--p 0001f000 08:01 39321820 /lib/i386-linux-gnu/libtinfo.so.5.9
b6da1000-b6da2000 rw-p 00021000 08:01 39321820 /lib/i386-linux-gnu/libtinfo.so.5.9
b6da2000-b6da3000 rw-p 00000000 00:00 0
b6da3000-b6dbf000 r-xp 00000000 08:01 12068367 /usr/local/lib/libgcc_s.so.1
b6dbf000-b6dc0000 rw-p 0001b000 08:01 12068367 /usr/local/lib/libgcc_s.so.1
b6dc0000-b6f70000 r-xp 00000000 08:01 39357885 /lib/i386-linux-gnu/libc-2.23.so
b6f70000-b6f72000 r--p 001af000 08:01 39357885 /lib/i386-linux-gnu/libc-2.23.so
b6f72000-b6f73000 rw-p 001b1000 08:01 39357885 /lib/i386-linux-gnu/libc-2.23.so
b6f73000-b6f76000 rw-p 00000000 00:00 0
b6f76000-b71df000 r-xp 00000000 08:01 11804070 /usr/lib/i386-linux-gnu/libicui18n.so.55.1
b71df000-b71e0000 ---p 00269000 08:01 11804070 /usr/lib/i386-linux-gnu/libicui18n.so.55.1
b71e0000-b71e8000 r--p 00269000 08:01 11804070 /usr/lib/i386-linux-gnu/libicui18n.so.55.1
b71e8000-b71e9000 rw-p 00271000 08:01 11804070 /usr/lib/i386-linux-gnu/libicui18n.so.55.1
b71e9000-b7370000 r-xp 00000000 08:01 11822385 /usr/lib/i386-linux-gnu/libicuuc.so.55.1
b7370000-b737a000 r--p 00186000 08:01 11822385 /usr/lib/i386-linux-gnu/libicuuc.so.55.1
b737a000-b737b000 rw-p 00190000 08:01 11822385 /usr/lib/i386-linux-gnu/libicuuc.so.55.1
b737b000-b737f000 rw-p 00000000 00:00 0
b737f000-b7382000 r-xp 00000000 08:01 39357840 /lib/i386-linux-gnu/libdl-2.23.so
b7382000-b7383000 r--p 00002000 08:01 39357840 /lib/i386-linux-gnu/libdl-2.23.so
b7383000-b7384000 rw-p 00003000 08:01 39357840 /lib/i386-linux-gnu/libdl-2.23.so
b7384000-b7385000 rw-p 00000000 00:00 0
b7385000-b738c000 r-xp 00000000 08:01 39357835 /lib/i386-linux-gnu/librt-2.23.so
b738c000-b738d000 r--p 00006000 08:01 39357835 /lib/i386-linux-gnu/librt-2.23.so
b738d000-b738e000 rw-p 00007000 08:01 39357835 /lib/i386-linux-gnu/librt-2.23.so
b738e000-b73a7000 r-xp 00000000 08:01 12101996 /usr/local/lib/libz.so.1.2.8
b73a7000-b73a8000 rw-p 00018000 08:01 12101996 /usr/local/lib/libz.so.1.2.8
b73a8000-b73b8000 r-xp 00000000 08:01 39321678 /lib/i386-linux-gnu/libbz2.so.1.0.4
b73b8000-b73b9000 r--p 0000f000 08:01 39321678 /lib/i386-linux-gnu/libbz2.so.1.0.4
b73b9000-b73ba000 rw-p 00010000 08:01 39321678 /lib/i386-linux-gnu/libbz2.so.1.0.4
b73ba000-b73de000 r-xp 00000000 08:01 39332413 /lib/i386-linux-gnu/liblzma.so.5.0.0
b73de000-b73df000 r--p 00023000 08:01 39332413 /lib/i386-linux-gnu/liblzma.so.5.0.0
b73df000-b73e0000 rw-p 00024000 08:01 39332413 /lib/i386-linux-gnu/liblzma.so.5.0.0
b73e0000-b7452000 r-xp 00000000 08:01 12102018 /usr/local/lib/libpcre.so.1.2.5
b7452000-b7453000 rw-p 00072000 08:01 12102018 /usr/local/lib/libpcre.so.1.2.5
b7453000-b7454000 rw-p 00000000 00:00 0
b7454000-b7464000 r-xp 00000000 08:01 12067580 /usr/local/lib/libtre.so.5.0.0
b7464000-b7465000 rw-p 0000f000 08:01 12067580 /usr/local/lib/libtre.so.5.0.0
b7465000-b74a3000 r-xp 00000000 08:01 39362455 /lib/i386-linux-gnu/libreadline.so.6.3
b74a3000-b74a4000 ---p 0003e000 08:01 39362455 /lib/i386-linux-gnu/libreadline.so.6.3
b74a4000-b74a5000 r--p 0003e000 08:01 39362455 /lib/i386-linux-gnu/libreadline.so.6.3
b74a5000-b74a8000 rw-p 0003f000 08:01 39362455 /lib/i386-linux-gnu/libreadline.so.6.3
b74a8000-b74a9000 rw-p 00000000 00:00 0
b74a9000-b753a000 r-xp 00000000 08:01 12070722 /usr/local/lib/libquadmath.so.0.0.0
b753a000-b753b000 rw-p 00090000 08:01 12070722 /usr/local/lib/libquadmath.so.0.0.0
b753b000-b758e000 r-xp 00000000 08:01 39357879 /lib/i386-linux-gnu/libm-2.23.so
b758e000-b758f000 r--p 00052000 08:01 39357879 /lib/i386-linux-gnu/libm-2.23.so
b758f000-b7590000 rw-p 00053000 08:01 39357879 /lib/i386-linux-gnu/libm-2.23.so
b7590000-b7591000 rw-p 00000000 00:00 0
b7591000-b7594000 r-xp 00000000 08:01 39998948 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/lattice/libs/lattice.so
b7594000-b7595000 r--p 00002000 08:01 39998948 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/lattice/libs/lattice.so
b7595000-b7596000 rw-p 00003000 08:01 39998948 /home/isomorphismes/R/i686-pc-linux-gnu-library/3.4/lattice/libs/lattice.so
b7596000-b759e000 r-xp 00000000 08:01 6114048 /opt/R-3.4.1/library/utils/libs/utils.so
b759e000-b759f000 r--p 00007000 08:01 6114048 /opt/R-3.4.1/library/utils/libs/utils.so
b759f000-b75a0000 rw-p 00008000 08:01 6114048 /opt/R-3.4.1/library/utils/libs/utils.so
b75a0000-b75a1000 rw-p 00000000 00:00 0
b75a1000-b75a3000 r-xp 00000000 08:01 11858957 /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so
b75a3000-b75a4000 r--p 00001000 08:01 11858957 /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so
b75a4000-b75a5000 rw-p 00002000 08:01 11858957 /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so
b75a5000-b75a6000 r--p 00000000 08:01 6113744 /opt/R-3.4.1/library/translations/en/LC_MESSAGES/R.mo
b75a6000-b75ac000 r-xp 00000000 08:01 6114406 /opt/R-3.4.1/library/methods/libs/methods.so
b75ac000-b75ad000 ---p 00006000 08:01 6114406 /opt/R-3.4.1/library/methods/libs/methods.so
b75ad000-b75ae000 r--p 00006000 08:01 6114406 /opt/R-3.4.1/library/methods/libs/methods.so
b75ae000-b75af000 rw-p 00007000 08:01 6114406 /opt/R-3.4.1/library/methods/libs/methods.so
b75af000-b75b6000 r--s 00000000 08:01 11858976 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b75b6000-b75e8000 rw-p 00000000 00:00 0
b75e8000-b75e9000 r--p 002d4000 08:01 11834781 /usr/lib/locale/locale-archive
b75e9000-b76f4000 r-xp 00000000 08:01 12070734 /usr/local/lib/libgfortran.so.3.0.0
b76f4000-b76f5000 rw-p 0010b000 08:01 12070734 /usr/local/lib/libgfortran.so.3.0.0
b76f5000-b76f6000 rw-p 00000000 00:00 0
b76f6000-b771e000 r-xp 00000000 08:01 5898657 /opt/R-3.4.1/lib/libRblas.so
b771e000-b771f000 r--p 00027000 08:01 5898657 /opt/R-3.4.1/lib/libRblas.so
b771f000-b7720000 rw-p 00028000 08:01 5898657 /opt/R-3.4.1/lib/libRblas.so
b7720000-b7722000 rw-p 00000000 00:00 0
b7722000-b7744000 r-xp 00000000 08:01 39357783 /lib/i386-linux-gnu/ld-2.23.so
b7744000-b7745000 r-xp 00000000 00:00 0 [vdso]
b7745000-b7746000 r--p 00022000 08:01 39357783 /lib/i386-linux-gnu/ld-2.23.so
b7746000-b7747000 rw-p 00023000 08:01 39357783 /lib/i386-linux-gnu/ld-2.23.so
bfc3d000-bfcb4000 rw-p 00000000 00:00 0 [stack]
Aborted (core dumped)
Hi,
Is there any trick to install the package on Win 10 Pro? I tried, but get compile errors on the easywsclient.cpp?
Many thanks for your advice.
Thorsten
install_github("ropenscilabs/webrockets")
Downloading GitHub repo ropenscilabs/webrockets@master
from URL https://api.github.com/repos/ropenscilabs/webrockets/zipball/master
Installing webrockets
"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/XXXX \
/AppData/Local/Temp/RtmpmAE3th/devtools312853a43d9f/ropenscilabs-webrockets-4a4f3eb" --library="Z:/_Documents \
XXXX/R/win-library/3.4" --install-tests
* installing *source* package 'webrockets' ...
** libs
*** arch - i386
C:/RBuildTools/3.4/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-34~1.1/include" -DNDEBUG -I../inst/include -I . -I"Z:/_DocumentsXXXX/R/win-library/3.4/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o
C:/RBuildTools/3.4/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-34~1.1/include" -DNDEBUG -I../inst/include -I . -I"Z:/_DocumentsXXXX/R/win-library/3.4/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c easywsclient.cpp -o easywsclient.o
easywsclient.cpp:12:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment( lib, "ws2_32" )
^
In file included from C:/PROGRA~1/R/R-34~1.1/include/R.h:91:0,
from Z:/_Documents Thorsten/R/win-library/3.4/Rcpp/include/Rcpp/r/headers.h:52,
from Z:/_Documents Thorsten/R/win-library/3.4/Rcpp/include/RcppCommon.h:29,
from Z:/_Documents Thorsten/R/win-library/3.4/Rcpp/include/Rcpp.h:27,
from easywsclient.cpp:74:
C:/PROGRA~1/R/R-34~1.1/include/R_ext/RS.h:55:0: warning: "ERROR" redefined
#define ERROR ),error(R_problem_buf);}
^
In file included from C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/windows.h:71:0,
from C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/WinSock2.h:23,
from easywsclient.cpp:10:
C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/wingdi.h:75:0: note: this is the location of the previous definition
#define ERROR 0
^
In file included from C:/RBuildTools/3.4/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/stdint.h:9:0,
from C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/c++/cstdint:41,
from C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/c++/bits/char_traits.h:380,
from C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/c++/string:40,
from easywsclient.cpp:73:
C:/RBuildTools/3.4/mingw_32/i686-w64-mingw32/include/stdint.h:35:21: error: conflicting declaration 'typedef signed char int8_t'
typedef signed char int8_t;
^
easywsclient.cpp:33:24: note: previous declaration as 'typedef char int8_t'
typedef __int8 int8_t;
^
make: *** [easywsclient.o] Error 1
Warning: running command 'make -f "Makevars" -f "C:/PROGRA~1/R/R-34~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-34~1.1/share/make/winshlib.mk" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="webrockets.dll" OBJECTS="RcppExports.o easywsclient.o main.o"' had status 2
ERROR: compilation failed for package 'webrockets'
* removing 'Z:/_DocumentsXXXX/R/win-library/3.4/webrockets'
@hrbrmstr Has a plan to do this and submit a pull to the easywsclient library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.