Questions tagged [rgui]
63 questions
125
votes
1 answer
R.exe, Rcmd.exe, Rscript.exe and Rterm.exe: what's the difference?
I'm struggling with the different R executables. What is the difference between R.exe (with or without CMD BATCH option), Rcmd.exe, Rscript.exe and Rterm.exe when running command line in a batch file?
And what is the difference between:
R.exe…

waanders
- 8,907
- 22
- 70
- 102
17
votes
7 answers
Import multiline SQL query to single string
In R, how can I import the contents of a multiline text file (containing SQL) to a single string?
The sql.txt file looks like this:
SELECT TOP 100
setpoint,
tph
FROM rates
I need to import that text file into an R string such that it looks…

Tommy O'Dell
- 7,019
- 13
- 56
- 69
12
votes
2 answers
How to suppress output in RStudio?
I need to suppress my output when I run my R scripts in RStudio. There are a lot of comments in my scripts, and the comments are printed when I run the file.
I realize that others have asked how to do this from the command prompt - How to…

makansij
- 9,303
- 37
- 105
- 183
8
votes
3 answers
how to change line length on Rterm.exe
I am using R 2.15.2 on windows XP.
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 !
Then I tried Rterm.exe (which…

statquant
- 13,672
- 21
- 91
- 162
6
votes
1 answer
R ggplot2 - no background or grid lines in plot with RGui
I'm having a strange problem with the output window in RGui (under Win XP). I should see a plot like the one below...
... when I run this script:
library(ggplot2)
x <- rnorm(100,0,1)
y <- rnorm(100,0,1)
z <- data.frame(x,y)
g <- ggplot(z,…

user246211
- 1,137
- 1
- 13
- 23
6
votes
2 answers
Configure fix() and edit() to open in Notepad++ from R/RStudio
When I do this in RStudio or RGUI:
fix(SomeFunction)
(or using edit()) I can see the function's code in Notepad. Is there any way that I could change this so that the code preview opens in Notepad++ rather than plain old Notepad? And similarly, is…

Ciarán Tobin
- 7,306
- 1
- 29
- 45
5
votes
0 answers
gdb prints output (stdout) to RGui console instead of gdb console on Windows when debugging C++ code
I am debugging a C++ shared library (DLL) of an R library that uses the Rcpp framework.
I am on Windows and use gdb for debugging (the version installed via the Rtools).
I start debugging via the recommended command:
gdb Rgui.exe --silent
My…

R Yoda
- 8,358
- 2
- 50
- 87
5
votes
2 answers
Show line number in script editor
Is there any way in a standard R environment how to show cursor position (at least line number) in script editor in R? I've tried to look at options but no success.
I am using R for Windows (XP, 7, ..).

Tomas
- 57,621
- 49
- 238
- 373
4
votes
1 answer
How to make R-GUI as standalone application or executable platform independent software
I have made an R-GUI, now i want to make it as an application which can be used as software without running code in 'R' platform, means an executable file which can be run on every windows platform like any other image processing software or any…

Kanwal Nayan
- 71
- 1
- 6
4
votes
2 answers
Making simple R GUI with tcltk package
I'm trying to make very simple GUI for my script. In nutshell problem looks like that :
dataset is dataframe, I would like to plot one column as the time and use simple GUI for choosing next/previus column.
dataset <-data.frame(rnorm(10),…

Qbik
- 5,885
- 14
- 62
- 93
3
votes
1 answer
R: run multiple line sql from text file
In R, how can I import the contents of a multiline text file (containing SQL) into multiple lines of SQL?
I've studied Import multiline SQL query to single string and managed to get a simple sql script working. However, when SQL demands a new line…

Tim
- 31
- 1
- 3
3
votes
2 answers
Opening a new instance of R and sourcing a script within that instance
Background/Motivation:
I am running a bioinformatics pipeline that, if executed from beginning to end linearly takes several days to finish. Fortunately, some of the tasks don't depend upon each other so they can be performed individually. For…

jrp355
- 83
- 8
3
votes
2 answers
R console and `didBecomeActive` messages
TL;DR: In RGUI and ESS, what are the didBecomeActive messages and how do I suppress them?
Working with the OSX RGUI 3.0.3 in OSX 10.9.2, the console displays what look like logging messages
Whenever the RGUI app becomes active. See the screenshot…

Ryogi
- 5,497
- 5
- 26
- 46
2
votes
1 answer
Vector Indexing using Logical vector
I am new to R. I have created an object a:
a <- c(2,4,6,8,10,12,14,16,18,20)
I have performed the following operation on the vector:
a[!c(10,0,8,6,0)]
and I get the output as 4 10 14 20
I do understand that !c(10,0,8,6,0) produces the output as…

Sumeet Prajapati
- 21
- 2
2
votes
0 answers
Prevent R from updating automatically
I'm currently using R via the command line in another software. Apparently, R automatically upgrades it version from time to time resulting in a new installation of R in different location.
After that, packages have to be reinstalled and the path to…

dnns
- 180
- 6