lattice linux运行,本地终端运行远程R命令,并输出图像

启动 R 服务

通过以上命令我们就登录了远程服务器,接下来是启动 R 进程开始运行

R [14:44:16]

R version 3.5.1 (2018-07-02) -- "Feather Spray"

Copyright (C) 2018 The R Foundation for Statistical Computing

Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

Attaching package: ‘emayili’

The following object is masked from ‘package:base’:

body

>

## 可以设置不同的端口

rmote::start_rmote()

?start_rmote

start_rmote package:rmote R Documentation

Initialize a remote servr

Description:

Initialize a remote servr

Usage:

start_rmote(server_dir = file.path(tempdir(), "rmote_server"), port = 4321,

daemon = TRUE, help = TRUE, graphics = TRUE, basegraphics = TRUE,

htmlwidgets = TRUE, hostname = TRUE, history = TRUE)

Arguments:

server_dir: directory to launch servr from

port: port to run servr on

daemon: logical - should the server be started as a daemon?

help: (logical) send results of `?` to servr

graphics: (logical) send traditional lattice / ggplot2 plots to servr

basegraphics: (logical) send base graphics to servr

htmlwidgets: (logical) send htmlwidgets to servr

hostname: (logical) try to get hostname and use it in viewer page title

history: (logical) should history thumbnails be created and shown in

the viewer?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值