摘要:
1、空白 > x <- 1:10 > y <- x^2 > plot(x,y) 2、expression用于上标 > x <- 1:10 > y <- x^2 > plot(x,y, ylab = expression(x^y)) ## 用于上标 3、用于下标 > plot(1:10, ylab = 阅读全文
摘要:
1、测试1 当前目录下文件 > getwd() [1] "C:/Users/75377/Desktop/r_test2" > dir() ## 查看当前目录下文件 [1] "a.txt" > file.exists("a.txt") ## 判断当前目录下是否存在a.txt [1] TRUE > fi 阅读全文