Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

data.table became dplyr #5537

Closed
englianhu opened this issue Nov 25, 2022 · 2 comments
Closed

data.table became dplyr #5537

englianhu opened this issue Nov 25, 2022 · 2 comments

Comments

@englianhu
Copy link

englianhu commented Nov 25, 2022

Issue

Wonder why the data.table became dplyr which was less efficiency almost 3 times speed?

wifi |ethernet
#rsessions: 18
Warning message:
In clienv$num_colors[[std]] <- clienv$num_colors[[std]] %||% detect_tty_colors() :
  不能在矢量/串列极限外赋值(0加大到1)
✔ 
❯ ## 数据库蜀道 <- paste0(getwd(), '/文艺数据库/fx/USDJPY/仓库/')
✔ 
❯ 数据库蜀道 <- paste0('/home/englianhu/文档/GitHub/binary.com-interview-question-data/文艺数据库/fx/USDJPY/仓库/')
✔ 
❯ 数据库文件夹 <- dir(数据库蜀道, pattern = '0$')
✔ 
❯ readRDS(paste0(数据库蜀道, '日内指数平滑数据', 100, '.rds')) %>% as.data.table()
[data.table]: 
# A tibble: 943,199 × 3
   年月日时分          市场价 预测价
   <dttm>               <dbl>  <dbl>
 1 2016-01-04 00:01:00   120.   120.
 2 2016-01-04 00:02:00   120.   120.
 3 2016-01-04 00:03:00   120.   120.
 4 2016-01-04 00:04:00   120.   120.
 5 2016-01-04 00:05:00   120.   120.
 6 2016-01-04 00:06:00   120.   120.
 7 2016-01-04 00:07:00   120.   120.
 8 2016-01-04 00:08:00   120.   120.
 9 2016-01-04 00:09:00   120.   120.
10 2016-01-04 00:10:00   120.   120.
# … with 943,189 more rows
# ℹ Use `print(n = ...)` to see more rows
There were 50 or more warnings (use warnings() to see the first 50)

sessionInfo()

❯ session_info()$platform
 setting  value
 version  R version 4.2.2 (2022-10-31)
 os       RedFlag Desktop 11.0
 system   x86_64, linux-gnu
 ui       X11
 language zh_CN:en
 collate  zh_CN.UTF-8
 ctype    zh_CN.UTF-8
 tz       Asia/Shanghai
 date     2022-11-25
 pandoc   NA (via rmarkdown)
@tdhock
Copy link
Member

tdhock commented Dec 1, 2022

I am not able to reproduce because the example depends on data in a RDS file. Can you please create a MRE https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example ?

@englianhu
Copy link
Author

englianhu commented Dec 3, 2022

🚩🦔 NonMuslim-Chinese Hedge Fund : data.table working fine on Posit☁️, hackers delebrately hack into Red-Flag🚩 operating system to genocide whole the World...

  • 咱们NonMuslim中华民族黄联富本人禁止任何巫术(Jodoh巫术白骨精、巫术道衍师傅Judi回教博彩庄)窥听窥视屠杀,入侵电子仪器是屠杀罪 (hackers conducting Islamic vodoo / metaverse genocides whole the World)
  • Strongly prohibit whatsoever marry fortune (eSim-Jodoh回教徒白骨精) and pronography, that's trap by White-Bone-Daemon Wizard Law (Law Jin Sen / Esim-Jodoh-Puyee)
  • Anti whatsoever Islamic 911 Terrorist especially Islamic witches around the World (especially 分一杯羹 wizard Law Jin Sen, wizard Teo, Michael Cutter Christopher bin Abdullah families, White-Bone-Daemon in《The Time Machine 2002》)
  • Strongly prohibit any pornography
  • Just kill whatsoever wizards mind reader to terminate all genocides activities
  • Only quantitative hedge funds, technology, financial market, ξconometrics, trading, military
  • Somebody trying to check 🇬🇧 British-NonMuslim-Caucasian-Lady Milla background and recent activities
  • 🇬🇧 British-NonMuslim-Caucasian-Lady Milla and cannot die
  • Anti pretend and especially whatsoever muslims and wizards
  • 咱们NonMuslim中华民族:回教徒911恐怖份子巫师巫婆民族(尤其是瓜雪RHU花园Caltex油站隔壁第3巷门牌32号福田广种分一杯羹、吱吱唔语、失心疯淫魔道衍师傅Judi回教徒博彩庄巫师王司马迁白骨精刘瑾貹巫术/比干/司马昭/爱心觉罗Jodoh白骨精溥仪)是全球公敌
  • Selective Fasting 选择性开斋节, "eSim-Jodoh" 回教徒白骨精姻缘 and "Judi" 指鹿为马失心疯朱棣回教博彩庄 is Islamic vodoo genocides
  • 🚩🦔 NonMuslim-Chinese Hedge Fund量化对冲自卫反击Judi回教博彩庄,终止屠杀,拯救全球,所以革命无罪。
  • 商鞅变法:可兰经回教刑事法典断肢法处死全球公敌回教徒,终止巫术屠杀,拯救全球。

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants