问题描述
我在 Google Cloud Shell 中安装了代码服务器。 安装成功并打开,但我无法使用版本控制。
我从 Google shell 运行 library(dplyr)
library(tidyr)
data %>%
select(-Site) %>%
pivot_longer(cols = starts_with('Sp'),values_to = 'Presence') %>%
mutate(Presence = pmin(Presence,1)) %>%
arrange(name)
# Long Lat name Presence
# <dbl> <dbl> <chr> <dbl>
# 1 30.0 -29.7 Sp_A 0
# 2 30.0 -29.7 Sp_A 0
# 3 30.0 -29.7 Sp_A 1
# 4 30.0 -29.7 Sp_A 1
# 5 30.0 -29.7 Sp_A 0
# 6 29.9 -29.7 Sp_A 1
# 7 30.0 -29.7 Sp_B 1
# 8 30.0 -29.7 Sp_B 1
# 9 30.0 -29.7 Sp_B 1
#10 30.0 -29.7 Sp_B 0
# … with 14 more rows
并返回值 git version 2.20.1,这意味着 git 已经安装。
我也安装了 data<-data.frame(Site,Long,Lat,Sp_A,Sp_B,Sp_C,Sp_D)
data <- type.convert(data)
,但没有帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)