如何改变Rterm.exe的线长度 [英] how to change line length on Rterm.exe
问题描述
我在 Windows XP
上使用 R 2.15.2
。
我用来使用 Rgui.exe
但它缺乏UNIX标准我喜欢使用像 CTRL + R& >向后研究
和 CTRL + U <= 擦除行
...
I was used to use Rgui.exe
but it was lacking the UNIX standards I like to use like CTRL+R <=>backward research
and CTRL+U <=>erase line
...
如果我错过了一些,请告诉我!
If I missed something please tell me !
然后我尝试了 Rterm.exe
R.exe
给我),它有所有那些好的功能。我发现如何调整它右键单击窗口的顶部来设置高度宽度(这就像调整你从 cmd.exe )获得的窗口。
Then I tried Rterm.exe
(which looks identical to R.exe
to me) which has all those nice features. I found how to tune it right clicking on the top of the window to set height-width (it is like tuning the window you get from cmd.exe
).
问题是,现在我在窗口上看不到 75
个字符,而 $
在结尾:像这样:
The problem is that now I cannot see on the window more than 75
characters, with a $
at the end: like this:
R)ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp $
不确定是否是 windows
的 R
选项,但如果我设置选项(width= 180)
我可以看到 data.frame
窗口...
Not sure if it is a R
option of a windows
one, but if I set options("width"=180)
I can see data.frame
on the full width of the window...
不知道发生了什么,我可以修改吗?
Not sure what is happening, can I modify this?
推荐答案
很遗憾,它似乎是内置的。
Sadly, it appears to be built in.
以前,当尝试打印长字符串。显然,它被固定在Rterm和其他版本的R之前固定在Rgui。
There used to be a problem with R when trying to print long strings. Apparently it was fixed first in Rterm and other versions of R before being fixed in Rgui.
当Rgui被修复时,可能是一个不同的方法,因为这个问题可以固定在Rgui中,而不是R的其他Windows版本。您可以在 Rgui 和(稍后) Rterm 。
When Rgui was fixed, possibly it was by a different means, since this issue can be fixed in Rgui but not other windows versions of R. You can change the width of the console for output both in Rgui and (later) Rterm.
提示是另一个故事。它实际上和输出空间不一样,因此是用不同的选项控制的;但是,这只适用于Rgui。为此,请在 [R HOME] \\下的
。这修改了Rgui控制台的内部分页器的宽度,并且有效地使您能够在每个输入提示符下最多输入180个字符。 Rconsole
文件中设置 pgcolumns = 180
\\etc\
The prompt is another story. It is actually not the same as the output space, and thus is controlled with a different option; but, this only works for Rgui. To do it, set pgcolumns=180
in the Rconsole
file under [R HOME]\etc\
. This modifies the width of the internal pager of the Rgui console, and effectively enables you to type up to 180 characters per input prompt.
可能有一种方法来整合行为引入Rterm,也许邓肯默多克可以指出在正确的方向(或证明我完全错了)。
Possibly there is a way to integrate that behavior into Rterm, and maybe Duncan Murdoch can point you in the correct direction (or prove me completely wrong).
这篇关于如何改变Rterm.exe的线长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!