Rscript 在窗口中打印 NULL

问题描述 投票:0回答:1
Rscript.exe -e "1"
# NULL
# [1] 1

Rscript.exe
在 Windows 系统中总是打印 null。 有什么方法可以禁止吗?

环境

  • R:4.3.3
r windows rscript
1个回答
1
投票

我在 Windows 11 和 R 4.3.2 上得到这个

 Rscript.exe -e "1"
[1] 1
© www.soinside.com 2019 - 2024. All rights reserved.