上一页 1 ··· 274 275 276 277 278 279 280 281 282 ··· 403 下一页
摘要: 1、测试1 library(dplyr) fun1 <- function(x1, x2){return(x1 - x2)} fun2 <- function(x1, x2, x3){return(x1 * x2 - x3)} a = 8 b = 7 c = 3 y1 <- a %>% fun1(b 阅读全文
posted @ 2021-10-26 17:00 小鲨鱼2018 阅读(588) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test/test/test# cat a.txt 1 d f 2 3 f 3 s 8 4 f a d g 8 root@PC1:/home/test/test/test# cat -A a.txt 1 d f$ $ 2 3 f$ 3 s 8$ $ $ 4 阅读全文
posted @ 2021-10-25 21:33 小鲨鱼2018 阅读(315) 评论(0) 推荐(0)
摘要: 1、问题 2、解决方法,增加如下内容 root@PC1:~/home/test# vim /etc/profileexport DISPLAY=:0.0 3、立即生效 root@PC1:/home/test# source /etc/profile 参考:https://blog.csdn.net/ 阅读全文
posted @ 2021-10-24 17:58 小鲨鱼2018 阅读(11879) 评论(0) 推荐(0)
摘要: linux中comm命令用于提取两列数据中的唯一项、交集、并集等。 1、测试数据 root@PC1:/home/test/test# ls a.txt b.txt root@PC1:/home/test/test# cat a.txt w s g d w a root@PC1:/home/test/ 阅读全文
posted @ 2021-10-24 12:16 小鲨鱼2018 阅读(458) 评论(0) 推荐(0)
摘要: 1、 root@PC1:/home/test# cat test.r library(optparse) option_list <- list( make_option(c("-p", "--arg1"), type = "character", default=FALSE), make_opti 阅读全文
posted @ 2021-10-23 22:01 小鲨鱼2018 阅读(163) 评论(0) 推荐(0)
摘要: 1、查看内核 root@PC1:~/GS/lihua/test# hostnamectl Static hostname: PC1 Icon name: computer-vm Chassis: vm Machine ID: dc50d4dc469c45ea8a2a10f39caa45e9 Boot 阅读全文
posted @ 2021-10-23 18:51 小鲨鱼2018 阅读(2482) 评论(0) 推荐(0)
摘要: 1、问题 Package libxml-2.0 was not found in the pkg-config search path 2、检查是否有库文件, no root@PC1:/home/software# find / -name "libxml-2.0.pc" root@PC1:/hom 阅读全文
posted @ 2021-10-23 15:19 小鲨鱼2018 阅读(1206) 评论(0) 推荐(0)
摘要: 1、问题 2、检查相关变量、目录 root@PC1:/test# locate libcurl.pc root@PC1:/test# echo PKG_CONFIG_PATH PKG_CONFIG_PATH root@PC1:/test# ls /usr/lib/pkgconfig/ ibus-ta 阅读全文
posted @ 2021-10-23 14:57 小鲨鱼2018 阅读(1534) 评论(0) 推荐(0)
摘要: 1、问题, 命名是目录,却无法通过颜色识别 2、解决方法 root@PC1:/test# vim /etc/profile 在配置文件末尾添加ls命令别名,保存退出 3、使用source命令使其立即生效 root@PC1:/test# source /etc/profile 4、测试效果 阅读全文
posted @ 2021-10-23 11:44 小鲨鱼2018 阅读(331) 评论(0) 推荐(0)
摘要: 1、问题 ll: command not found 2、解决方法 root@PC1:/etc# vim /etc/profile 在最下面增加命令别名, 然后保存退出。 3、重新加载profle文件 root@PC1:/etc# source /etc/profile 4、测试效果 root@PC 阅读全文
posted @ 2021-10-23 11:32 小鲨鱼2018 阅读(1702) 评论(0) 推荐(0)
上一页 1 ··· 274 275 276 277 278 279 280 281 282 ··· 403 下一页