小编use*_*121的帖子

RStudio Run命令运行两次问题

我一直在与RStudio有一个奇怪的问题.

当我使用任何命令来运行脚本时(因此Ctrl + R,Ctrl + Enter或RStudio上的实际运行命令)该命令运行两次.我一直无法在互联网上找到任何相关信息.

有没有人遇到过这个问题?谢谢

command r rstudio

12
推荐指数
1
解决办法
2万
查看次数

如何证明R ggplot中的文本轴标签

我有一个条形图,沿x轴有文字标签.有些标签很长,我想让它们看起来更整洁.关于如何实现这一目标的任何想法?

library(sjPlot)
require(ggplot2)
require(ggthemes)
WAM_3_plot <- sjp.frq(WAM_Dec13_R2$WAM_3, title= c("WAM Item 3"),
    axisLabels.x=c("Disruptive behaviour can be contained and does not spread to other patients.  Generally, behaviour on the ward is positive and pro-therapeutic.", 
                   "1", "2","3","4",
                   "Disruptive behaviour by one patient tends to spread to other patients and is only contained with great difficulty. The general level of behaviour seems to be getting more counter-therapeutic."),
    barColor = c("palegreen4", "palegreen3", "palegreen2", "brown1", "brown2", "brown3"),
    upperYlim = 25,
    valueLabelSize = 5,
    axisLabelSize = 1.2, …
Run Code Online (Sandbox Code Playgroud)

r justify ggplot2 axis-labels

8
推荐指数
2
解决办法
5963
查看次数

标签 统计

r ×2

axis-labels ×1

command ×1

ggplot2 ×1

justify ×1

rstudio ×1