我想生成随机字符串并安装了random
包。
但是,我无法运行我的代码并收到此错误:
Error in url(urltxt, ..., method = "libcurl") : cannot open connection In addition: Warning message: In url(urltxt, ..., method = "libcurl") : URL 'https://www.random.org/strings/?num=7&len=6&digits=on&upperalpha=on&loweralpha=off&unique=on&format=plain&rnd=new' : status was 'SSL connect error'
这是我的代码:
library("random")
String<-randomStrings(n=7, len = 6, digits = TRUE, upperalpha = TRUE, loweralpha = FALSE, unique = TRUE, check = FALSE)
有谁知道这个错误的来源是什么?