坐山雕

导航

2020年12月29日

tree list in R

摘要: write.csv(data.frame(list.files("/DIR/DIR/", all.files = TRUE,recursive = TRUE,full.names = TRUE)),file="/DIR/DIR/CSV.csv") list.dirs("/DIR/DIR/", ful 阅读全文

posted @ 2020-12-29 13:01 坐山雕 阅读(59) 评论(0) 推荐(0)

react-treeview. tree view of directory

摘要: https://github.com/chenglou/react-treeview install npm: sudo yum install nodejs# centos apt-get install npm #ubuntu React-treeview Easy, light, flexib 阅读全文

posted @ 2020-12-29 12:48 坐山雕 阅读(187) 评论(0) 推荐(0)

ggplot plot summary table

摘要: DATA=RSUM$ROWSUM FDATA<-data.frame(round(unclass(summary(DATA)),2), check.names = FALSE, stringsAsFactors = FALSE) colnames(FDATA)<-"values" grid.arra 阅读全文

posted @ 2020-12-29 12:14 坐山雕 阅读(70) 评论(0) 推荐(0)

ggplot test

摘要: library(ggpubr)my_comparisons <- list( c("0.5", "1"), c("1", "2"), c("0.5", "2") )options(repr.plot.width=4, repr.plot.height=4)ggplot(ToothGrowth, ae 阅读全文

posted @ 2020-12-29 11:56 坐山雕 阅读(81) 评论(0) 推荐(0)

Ubuntu 18.04 安装R 4.0.2 和Rstudio server

摘要: 1、软件源文件,添加CRAN源(默认安装成功是R3.4版本,使用这个方法更新也是可以的) sudo vim /etc/apt/sources.list添加一行cran源,网上有人推荐清华的源,但是我试了,不好用,还是阿里云这个好用deb http://mirrors.aliyun.com/CRAN/ 阅读全文

posted @ 2020-12-29 11:22 坐山雕 阅读(350) 评论(0) 推荐(0)

how to find out R library location in Mac OSX?

摘要: 28 With .Library you get your default library locationWith .libPaths("your/path") you can also get/set you library trees (see ?.libPaths)and with getw 阅读全文

posted @ 2020-12-29 10:49 坐山雕 阅读(61) 评论(0) 推荐(0)

Shiny allows you to build interactive web apps from R. This file explains how to run Shiny in CoCalc

摘要: https://doc.cocalc.com/howto/shiny-server.html Create a new file kmeans.r Split the editor and open up a Linux Terminal in one frame – see Frame Edito 阅读全文

posted @ 2020-12-29 10:47 坐山雕 阅读(69) 评论(0) 推荐(0)

install rstudio server in ubuntu20

摘要: Rstudio 各种版本下载网页 https://rstudio.com/products/rstudio/download/preview/ sudo apt upgrade sudo apt update ## https://rstudio.com/products/rstudio/downl 阅读全文

posted @ 2020-12-29 10:40 坐山雕 阅读(254) 评论(0) 推荐(0)

scp a folder a port

摘要: ssh mike@10.20.1.109 -p 2222 scp -P 2222 -r /FIN mike@10.20.1.109:/home/mike 阅读全文

posted @ 2020-12-29 10:06 坐山雕 阅读(54) 评论(0) 推荐(0)