为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我的RStudio里列表显示不出来呢?


R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"

Copyright (C) 2017 The R Foundation for Statistical Computing

Platform: x86_64-w64-mingw32/x64 (64-bit)


R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.


R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.


Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.


> x<- 1

> x

[1] 1

> class(x)

[1] "numeric"

> x<- 3.14

> class(x)

[1] "numeric"

> x<- 2L

> X <- 5

> y <- "yes"

> class(y)

[1] "character"

> x <- vector("character", length = 10)

> x1 <- 1:4

> x2 <- c(1,2,3,4)

> x3 <- c(TRUE, 10, "a")

> as.numeric()

numeric(0)

> as.numeric(x)

 [1] NA NA NA NA NA NA NA NA NA NA

> x4 <- c("a","b","c")

> as.numeric(x)

 [1] NA NA NA NA NA NA NA NA NA NA

> x <- matrix(nrow = 3, ncol = 2)

> x <- matrix(1:6,nrow = 3, ncol = 2)

> l <- list("a",2,10L,3+4i,TRUE)


正在回答

1 回答

在下行中没又输入L,系统未能知道你要显示列表L,所以不显示

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

为什么我的RStudio里列表显示不出来呢?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信