No results found
We couldn't find anything using that term, please try searching for something else.
注意:本部分列出的容器映像由第三方提供商维护。Google Cloud 不构建、维护或正式支持 图片。在生产环境中部署任何解决方案之前,都要仔细评估 环境。 准备工作 在开始使用 Cloud Workstations 之前,请确保您拥有所需权限,并已完成以下必要的设置步骤:
注意:本部分列出的容器映像由第三方提供商维护。Google Cloud 不构建、维护或正式支持
图片。在生产环境中部署任何解决方案之前,都要仔细评估
环境。
在开始使用 Cloud Workstations 之前,请确保您拥有所需权限,并已完成以下必要的设置步骤:
Sign in to your Google Cloud account. If you’re new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console , on the project selector page ,
select or create a Google Cloud project .
Note: If you don’t plan to keep the
resources that you create in this procedure, create a project instead of
selecting an existing project. After you finish these steps, you can
delete the project, removing all resources associated with the project.
Go to project selector
Make sure that billing is enable for your Google Cloud project .
In the Google Cloud console , on the project selector page ,
select or create a Google Cloud project .
Note: If you don’t plan to keep the
resources that you create in this procedure, create a project instead of
selecting an existing project. After you finish these steps, you can
delete the project, removing all resources associated with the project.
Go to project selector
Make sure that billing is enable for your Google Cloud project .
Enable the Cloud Workstations API.
Enable the API
如果您是管理员,请确保您拥有
Cloud Workstations 管理员
项目的 IAM 角色,以便您可以创建工作站
配置。
如果您是开发者,但没有工作站配置
可在
Google Cloud 控制台,请让贵组织的 Cloud Workstations 管理员执行以下操作:
创建工作站配置
Cloud Workstations Admin IAM 角色,
您可以自行创建这些资源
如需查看您的 IAM 角色,请前往 Google Cloud 控制台中的 IAM 页面:
前往 IAM
如需使用 posit Workbench(包括 RStudio Pro),您必须创建工作站配置
供贵组织的开发者参考 :
找到您的 Posit Workbench 许可密钥,并将其放在附近,因为您
在后续步骤中会用到它如果您需要 Posit Workbench 许可密钥,
请与您的 Posit Customer Success 代表联系或发送电子邮件至
sales@posit.co.
按照说明
创建工作站配置 。
进入环境自定义步骤后,选择基础映像上的代码编辑器。
在 Code editors(代码编辑器)菜单中,选择“Posit Workbench(包括 RStudio Pro)- 第三方提供”。
点击展开图标arrow_drop_down
高级容器选项部分中的箭头。
转到环境变量部分,然后点击
添加变量 。
在 Key(密钥)字段中输入RSW_LICENSE
,然后将您的
在 Value(值)字段中,输入 Workbench 许可密钥。
点击继续。
在添加用户步骤中,向开发者授予对工作站配置的 Cloud Workstations IAM 访问权限 。
如需创建工作站配置并将这些用户添加到该配置,请点击创建 。
如果您还选择了创建新集群,则集群的创建过程最多可能需要 20 分钟。
您团队中的开发者现在应该能够使用
Posit Workbench。
如需创建工作站,请按照以下步骤操作:
在 Google Cloud 控制台中,前往
Cloud Workstations > 工作站
页面 。
前往 Workstations
点击 add_box创建 。
如果没有任何附件,则创建链接可能会被停用
配置,或者您没有查看这些配置的权限。
请让贵组织的 Cloud Workstations Admin 为您创建工作站配置。
输入工作站的名称。
关注 Compute Engine 资源
命名惯例
并选择在工作站集群中唯一的名称 。
点击展开图标arrow_drop_down
Configuration 字段中的箭头,然后选择
Posit Workbench(第三方)工作站配置。
点击
现在您已经创建了工作站,接下来可以启动工作站,然后发布工作站以开始开发:
以下示例展示了 Posit Workbench 的欢迎页面。您的网页看起来可能会有所不同,具体取决于贵组织的定义方式
您的工作站配置:
点击新建会话。
选择 RStudio Pro 作为 IDE,并将 Cluster 设置为 Local。
如需详细了解 is Posit posit Workbench 及其 IDE
如 Jupyter Notebook、JupyterLab 和 VS Code,请参阅
posit 文档 。
点击开始会话。
等待会话启动,然后开始编码!
如需将文件从本地机器上传到工作站,请点击上传。
选择要在其中存储文件的目标目录
工作站。
点击选择文件以选择要上传的文件。
如需开始上传,请点击 OK。
如需上传多个文件或目录,请创建 ZIP 文件。ZIP 文件在上传后会展开。
如需从工作站导入文件,请点击导入数据集并选择
数据集的类型。
在工作站上,找到并选择要导入的数据集。
posit Workbench IDE 依赖于各种 R 软件包 ,
各种不同功能。例如,如果您要上传一个 Excel 文件
文件,则需要安装某些软件包。如果系统提示您安装所需的软件包,请点击是 。
要开始导入,请点击导入。
如果您在使用 Posit Workbench 或 Posit Workbench 容器映像时遇到问题,请发送电子邮件至 support@posit.co 向 Posit 报告问题。