How to use Zlib in R

Hi Rstudio Community.

(How to use Zlib in R)

I am currently working on a Rshiny project, there is going to be used for plotting time series data. These time series is compressed by the Zlib algorithm. Which means I got a blob containing a series of numbers, this series is compressed by using the Zlib algorithm.

Below you will find an example these blobs/compressed timeseries:

0x789C4D56D96E1C371024F2900B70ECC4862D5BB775ADF78C56ABD52DD1D1D8CA6103710C0448908FE1A7F59F3955DDC5E53C0C86D3D36CB28BD5D54CF6A64BC9BEA43CC1FBB84B76DAA5B294EDAC4BF902E307D83E862D7D80CF5FB0FF0BDB3F61B3FF60FB1BCFAFF8FE45B613BCAFF120565928DE1CF3067846F83E513CAC51B086AFF5B36C63D8E877849803CD1DE28DA730C6B1D6986A7C88477918F2C87B18C3AFC8AF20B69DC30E9F3251BCE3F84FDFF2527EDF63FC1DC65FEE937DA5785FC3F6027E5BF8DE958DEF8DCEF76E678AF736F22D33BC67F29B0BCBA5EC5C631FE31D8CB16639906D3B6273EF65A8B957581358163CF64EB8DCE31B6B647C9B704EC03C7FC6F813FE7D523C7EE3BC0ACFED5EF138EF0E0FCE379D6AAECEBABCC777A7B9BFE1CD07F994B7CA0DF38C0FFCCAEF9AAB7C0D6FBB951F62E43FC48107C57B88FDE7F7FA279BC73FEB9D07F2F6077BB2CA8DF3C038DFF6F6474C6E02D35CF320472F316FD1C39958824F05DCB0D7C2602F3027D7C9235F7710B8930F26BEE4EBC039DDB6DCFC3CB82F708EBC733FAE873D125BBEEB9EF379D76A475CCB9CC375C6ADDEC871CF5FF178F6AC01D687F5F8EC3530EBD50773C4D8B6C525C6DBC47F70CB46914F5D971C4CACA37DD95E61FCAC730EE76DAD0B7C8C3534085F5F1771C855C64D7B9A0BEC0A6B0E6FABDCC53E0D7B28F0B3A79AFB043E3FE17BBDF3D83E7727B037C42F5AC3EB94F3369B9FD7F861C4A7DD6DEB517F3CC79A87AF3F16569386A911A779C38A5CA24FEECD2D7BAAE523E54CDB66E0491F13A6692B302DC0ABFC28BF1FF0FF51E739D2EE7E2F634E3EEC61055C3235E26960E17ED017FB06DFCFA41FDC1FF9474E8C229FCA0313572ACEE955E0E1E7219BE7480E522F470D178ECB49D35D6A003523FD89189FE5C77186FD3234DF6DC83F23978C3D9BF6ECB86F075F8AF69C8593EBE7BCE5CB73E519E583C65D72D588CF0BD9A8A5CF75BE956B3C977D69ACFC1C77E059AE423BDC76117A936183D8042EEF420FFCA9BA3B8D7D94B5D059F703E6792DF661DB2D0FE7DD419CF38A7FCBA8F115D706E2C150754CBF69E4E6FC978DE7685B915FE5460157D293A8A5546B751A679694A3C73B107EBB11C36DCF8343E4EBAA0FEE879FD7B6384E1DCC3369CBACADE1BD093899FAB9DD08B749B3F10C9983EB6CD5A179F0CAF7A49E97882538C85E5BD72DD0C69CA34F78DFA08D77009EC96DE8B1EFE53C7ABCDF07D453CAA5F4956779A5FD5DE86CA9A5A73DEDDC9216E8DCC81BF2CE7A181047E7E0B8D511EF336E7BDDAD7A3763104BE6BD3A37F51CEF17B56696B107CF437B21BFA8EB8CEB3D4818786F5D84F6543FEFE3E4BF749C3A437DE03F53CD504BBDFF32967A855D064ECC63754677D12B898BFFA7ED42B5B708CD77DB5871AE025B5F17631B46BC5CEB63208D98F6FA117BDF65D45BBDD3788F5D043FF2A8E5E1F71F6AFC23CDFD1663DE9B1E8B23B4D51EC5BEAF3B83F3849AC31A5EB63AF23BDDB5F8C1FD91A337317FC58313EDEBBCDD0F18830F35A1DE0FF28DE24F1A0FFC9C47817F564FF1FAA4D66CF4F4F48DB4ABF2A8E2B2102FEAFD60A8BB00CFF6A8E946DE15A7E4E77546AE905F17ED2CC9793FD33BD9AEC5A16BD589EE6BAE7DD4D375F95147D07F88B73DEE56BD873AE1BA233FF678BF5FEEB41E6F6BA187ECC3B58E5C7BC69147AE3C3D0A9D673F4CEAC98CE35AB8D134CCEF0C47DDFFA4EB11F4

Can anyone please help me, figure out how to implement Zlib in R?

Please let me know, if I must support you with additional information’s!!

Best regards Mik Christensen

http://www.omegahat.net/Rcompression/

Hi Nirgrahamuk.
Thank you for your reply!!

I was trying to install the package 'Rcompression' using the following command.
install.packages("Rcompression", repos = "http://www.omegahat.net/R")

But it returns the following error:

  • installing source package 'Rcompression' ...
    ** using staged installation
    Please define LIB_ZLIB
    ERROR: configuration failed for package 'Rcompression'

Do you have any ideas how to solve this error?

theres an installation section on the link : http://www.omegahat.net/Rcompression/
the zlib link seems broken, but im guessing this is as good as https://zlib.net/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.