相关疑难解决方法(0)

使用 cmd 和 R 配置数据块

我正在尝试使用 databricks cli 并调用 databricks configure 这就是我从 cmd 中执行的操作

  somepath>databricks configure --token
  Databricks Host (should begin with https://): my_https_address 
  Token: my_token
Run Code Online (Sandbox Code Playgroud)

我想使用 R 调用相同的命令。所以我做了:

  tool.control <- c('databricks configure --token'
                    ,'my_https_address'
                    ,'my_token')

 shell(tool.control)
Run Code Online (Sandbox Code Playgroud)

我收到以下错误

  Error in system(command, as.integer(flag), f, stdout, stderr, timeout) : 
  character string expected as first argument
Run Code Online (Sandbox Code Playgroud)

我该如何纠正?

编辑:尝试评论中的建议后,我收到此错误:

Databricks Host (should begin with https://): Aborted!
'https:' is not recognized as an internal or external command,
 operable program or batch file.
 'my_token' is not recognized as an internal or …
Run Code Online (Sandbox Code Playgroud)

command-line r databricks azure-databricks

0
推荐指数
1
解决办法
2687
查看次数

标签 统计

azure-databricks ×1

command-line ×1

databricks ×1

r ×1