因此,我决定尝试创建一个非常基本的密码保护函数,它将在每次打开Rstudio时运行。几个小时后,我想出了下面的代码
whoRU <- function()
{
password<- "mypassword"
Henry<- "Henry"
n <- readline(prompt="Who are you then? ")
if(n== Henry){
print(p<-readline(prompt= "If you are Henry, yo
请描述您的问题
标题:年底大酬宾-腾讯云
地址:https://cloud.tencent.com/act/bargin?utm_source=portal&utm_medium=banner&utm_campaign=bargin&utm_term=1204
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36