首页
苦瓜小仔
取消

【R 语言】技巧整理

DataFrame 重置 DataFrame 的索引:row.names(df) <- NULL 与 python 交互 reticulate 文档 在 RStudio IDE 中使用 Python 将 Python 与 RStudio Connect 结合使用的常见问题解答

【R 语言】在线书籍

学习路径: RStudio Education RStudio 团队成员写的书籍:books Hadley Wickham Hadley Wickham 大佬的博客:https://hadley.nz/ with Garrett Grolemund, the place to start if you want to learn how to do data sci...

【R 语言】Ubuntu 安装 RStudio Server 以及踩坑记录

很久没有使用 R 语言了,突然发现 RStudio 公司 改名 了,主页为 posit.co 。 RStudio Server 官方下载说明:https://posit.co/download/rstudio-server/ 步骤 1:安装 R 语言和 Rserver 注意:安装 R 语言的命令不建议直接使用我这里写的,因为 CRAN 源被设置成 cloud.r-project....

使用 ktra 搭建私人 Cargo registry

使用工具: ktra:纯 Rust 编写的,用于搭建 Cargo registry 的命令行工具 安装它: cargo install ktra 注意: 这开启了 secure-auth 和 db-sled,数据库是内置的 sled 如果你需要 redis 或者 mongo 作为后端数据库,自行添加 features,见 https://book.ktra.dev/...

Shell Parameter Expansion

https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html 例子 # CI 中运行所有例子 for example in $(ls examples/) do cargo run --example ${example%%.rs} done

处理后台程序

https://www.baeldung.com/linux/output-process-another-session#using-strace https://www.baeldung.com/linux/attach-terminal-detached-process https://blog.csdn.net/whuzm08/article/details/104002415 ...

Rust RFC2094:NLL

Feature Name: nll Start Date: 2017-08-02 RFC PR: rust-lang/rfcs#2094 Rust Issue: rust-lang/rust#43234 原文:RFC 2094: NLL 摘要 扩展 Rust 的借用系统以支持非词法生命周期 (non-lexical lifetimes) —— 这些生命周期基...

clickhouse 禁用自动重启

clickhouse 的 GC 比较明显,每隔一段时间总是带来 CPU 峰值(目测是几秒钟一次),由于仅在需要的使用它, 不需要后台常驻,所以使用 clickhouse stop 关闭。 $ clickhouse stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1653...

clickhouse 从 22.4 更新到 23.2

clickhouse 是一个开源的列式数据库,这两天在云服务器上对它进行了更新,记录一些问题和解决方式。 安装问题 根据文档 install 章节,以前的 deb 更新方式已经不行(距离上次更新已经过去十个月了): 官网推荐的迁移方式 无论按照迁移方式还是新的安装方式,都出现以下 404 问题: ~ $ apt-get install -y clickhouse-server c...

nvim 技巧之 quickfix 与文本处理

大部分内容整理自:Advanced Vim topics, tips and tricks (by Mark McDonnell) global 命令 功能 :global/pattern/excmd 对满足 pattern 的行文本进行 excmd 操作 ...