Dva namiga z R-bloggers

17 views
Skip to first unread message

Andrej Blejec

unread,
Oct 18, 2019, 4:48:46 AM10/18/19
to rkoh...@googlegroups.com

Pripenjam dva zanimiva namiga, na katera sem naletel dabes v R-bloggers

 

 

Productionizing Shiny and Plumber with Pins (package pins)

https://rviews.rstudio.com/2019/10/17/deploying-data-with-pins/

 

 

Reading Multiple Files in the Zip Folder (package easycsv)

https://costaleconomist.blogspot.com/2019/10/repetative-q-reading-multiple-files-in.html

 

--
Andrej Blejec
National Institute of Biology
Vecna pot 111 POB 141, SI-1000 Ljubljana, SLOVENIA

e-mail: andrej...@nib.si
URL: http://ablejec.nib.si
tel: + 386 (0)59 232 789
fax: + 386 1 241 29 80
--------------------------
Organizer of

Applied Statistics 2019 conference

http://conferences.nib.si/AS2019

 

romunov

unread,
Oct 18, 2019, 5:18:09 AM10/18/19
to rkoh...@googlegroups.com
Z data.table::fread lahko preberemo stisnjene datoteke brez, da jih prej razširimo. Tole sem probal na UNIX sistemu, ne vem pa kako bi tole delalo na windowsih...

> library(data.table)
> system.time(xy <- fread(cmd = "zcat samples.zip"))
   user  system elapsed
  2.145   0.150   1.862
> dim(xy)
[1] 60483   381
> file.size("samples.zip") / 1000000
[1] 96.0166

lp,
Roman


--
To sporočilo ste prejeli, ker ste naročeni na skupino »Anonimni Rkoholiki« v Google Skupinah.
Če se želite odjaviti od skupine in ne želite več prejemati njenih e-poštnih sporočil, pišite na naslov rkoholiki+...@googlegroups.com.
Če si želite ogledati to razpravo v spletu, obiščite spletno stran https://groups.google.com/d/msgid/rkoholiki/F634341A4B09904DA815D764D8CA8B14F412A041%40SRVLJEXC.nib.sql.


--
In God we trust, all others bring data.
Reply all
Reply to author
Forward
0 new messages