Displaying 20 results from an estimated 10000 matches similar to: "Windows startup menu display problem in 1.9.0 (PR#6783)"
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
Hi,
I have just upgraded from the 1.8.1 to the 1.9.0 version of R, and have some trouble to run RWinEdt from the .Rprofile file (in the
user folder). The script is:
library(MASS)
library(lattice)
cat("Load editor?(y/n default = y): ")
nf <- as.character(readLines(n = 1))
if ((nf=="y")|(nf=="Y")|(nf=="")) {library(RWinEdt)}
rm(nf)
When run at start,
2003 Apr 22
2
Weird Windows startup menu display problem in 1.7.0 (PR#2817)
Folks:
Winnt; R1.7.0 (freshly installed) running under Rgui.exe.,MDI=yes.
The following is repeatable:
On startup, in my Rprofile.site file, I use winMenuAdd() etc. to install
some user menus. However, they do not appear when R GUI window opens. If I
minimize and restore the window, the added menus now are present.
The exact same procedure under 1.6.2 with exactly the same Rprofile.site and
2004 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error :
Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd"
I hadn't this problem with others R versions.
What Can I do now to avoid that?
I'm using R1.9.0 under Win98.
[[alternative HTML version deleted]]
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
I had this problem too. The documentation for the winMenus says that these
functions are part of the utils package. R must be loading this library
after it sources in Rprofile. If you add library(utils) to the beginning of
your .First function, it should take care of the problem.
Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
Brian.J.GREGOR at
2010 Feb 12
1
Selective load of .First() function just for Rgui.exe
Hi all,
I have a .First <- function() {...} in the Rprofile.site file. Through
.First() I'm adding several menus to the GUI to access several functions
I've been developing for own use.
However, I also need to launch R scripts silently in a batch way, and
in this case I get the error message:
"Error in winMenuAdd(menuname, NULL, NULL):
Menu functions can only be used in the
2004 May 21
2
.First() in R 1.9.0
Dear R experts,
I just upgraded R from 1.8.1 to 1.9.0 version. My .First()
function in ~/.Rprofile contains x11() and par() functions.
.First <- function() {
x11(display = "", 8.0, 5.0)
par(las = 1, ...)
## ...
}
And, R claims now, on startup:
[hello messages skiped ...]
Error in .First() : couldn't find function "x11"
>
I commented
2003 Jun 03
2
winMenuAdd misbehaving?
Microsoft Windows R users,
I am operating Windows 2000 (build2195) with R1.7. It may be pertinent that
I am using a dual head screen with the initial RGui filing the entire area
of both screens.
When starting R I use the .First() function to add menu items to the RGui
interface using winMenuAdd() and winMenuAddItem(). The menus do not display
until the RGui window is physically manipulated in
2006 Mar 31
1
Segfault with too many menu items on Rgui
Hi all,
In the CHANGES file for R-2.3.0alpha, there is the following
statement:
winMenuAdd() now has no limits on the number of menus or items, and
names are now limited to 500 (not 50) bytes.
However, I can reproducibly get a segfault using this (admittedly
silly) example:
for( i in 1:5) winMenuAdd(paste("Test", letters[i], sep=""))
for(i in 1:5) for(j in 1:24)
2012 Jun 20
1
Websocket example out of the box failing if running at startup from Rprofile.site
Hello,
I run websockets 1.1.1 from R 2.15 without any problems. I would like
to deploy R script running automatically for all users when R is
starting from Rprofile.site like follow:
.First <- function()
{
source("C:\\R\\orig-websockets.R")
}
This script is from websockets package distribution.
The error is follow:
Error in .parse_header(x) :
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I
can use in other sessions. Although I could 'Load Workspace" these files,
most of the times I prefer attaching them. It would be really convenient to
have a menu item under the File menu on the Windows R Console to allow
attaching workspaces, e.g.
--------------------
Attach Workspace...
Load Workspace...
Save
2010 Feb 11
1
(linux) display messages in R startup screen
Dear guRus,
I'm maintaining central R installation (Linux) for our institute. The
startup screen of R traditionally echoes some messages (starting with "R
version ...Copyright (C).. The R Foundation for Statistical
Computing...") and I'd like to display for example right after these
messages some other messages about our specific setup, how to contact me
etc ...
What
2004 May 23
1
Running scripts automatically from Rgui (Windows)
I am trying to get a script to start automatically
when I run the GUI version of R version 1.9.0, started
from a .bat file (WINDOWS), but I'm getting strange
errors
In version 1.8.1 I was able to run a script
automatically by copying the script into the file
.Rprofile and running Rgui from a .bat script, but in
version 1.9.0 I'm getting errors like:
Error in inherits(x,
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
Dear R-List member,
I have installed the new version of R on my PC (see system details below). I
can start the RGui with http_proxy succesfully. However, I do encounter two
problems:
1)
After starting the Rgui the following error message is displayed (vertical
dots represent omissions of output):
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
.
.
.
.
Error in
2008 Aug 04
1
R init file and source()
In the context of calling R from another program (namely gretl,
http://gretl.sourceforge.net ) I'm trying to understand the
interactions of the R init file (corresponding to the environment
variable RPROFILE) and the source() function.
I'll illustrate my problem with the following simplified contrast
implemented in the bash shell (with R 2.7.1).
1. Works fine:
allin at myrtle:~/Rfoo$
2006 Mar 20
1
Platform independent dialogs & menus?
Dear list mates,
Are {utils} dialog box functions, and winMenuAdd... functions used to change
(e.g. Console) menus, platform dependent?
I'm writing a script loaded with .First that provides first time users in a
lab course with the ability to select, load, and change between what I
called a 'session' (more specific save that focuses on the session object I
defined rather than the
2008 Jul 06
1
Windows Only: winMenuAdd() problem
Folks:
I don't know whether the following is a Windows or R problem, nor whether it
is particular to my particular Windows version/setup. So any help would be
appreciated. First the problem, then the info. The following code can be cut
and pasted into your R session
#############################
### start R
### create a plot on device 2 (which can be determined by dev.cur())
plot(1:10)
2003 Mar 05
1
order of package loading and printing messages to console on startup
Recently in R-devel, I've noticed that when I start up R, code in
.Rprofile (in the working directory) gets sourced but any messages printed
out by that code (e.g. by `cat') are printed *before* the introductory
statement about R.
For example, if I put the line
library(KernSmooth)
in my .Rprofile file, I get
artemis:> R
KernSmooth 2.22 installed
Copyright M. P. Wand 1997
R :
2005 Jan 31
2
Startup Files (RProfile) and R-Aqua
Hello,
I'm having some difficulty understanding the documentation relative to
the startup files with R-Aqua 2.0.1 for Mac OS X.
Specifically, I'm wondering: where does R search for the startup files
(my home directory at Users:<me>:?); how should they be named
(.RProfile will be treated by Mac OS X as a system file and be hidden,
so I'm wondering if it should just be
2008 Jul 14
2
.First and .Rprofile won't run on startup
I'm trying to source a file automatically every time I start R. I tried
adding the following .First function in a file Rprofile.site in my
$R_HOME/etc/ directory (verified $R_HOME by Sys.getenv()) as well as in a
file .Rprofile in my $HOME directory and .Rprofile in the working directory:
.First <- function(){
source(file.path(Sys.getenv("HOME"), "R",
2004 Jun 16
1
start-up problems
Hi,
After some reading and experimentation I found that I cannot solve this
problem:
1.
I am starting R and check:
> system("pwd")
/home/woodstock/hoffmacw/R/test
> system("echo $HOME")
/home/woodstock/hoffmacw
> system("echo $R_PROFILE")
/home/woodstock/hoffmacw/R
> system("ls $R_PROFILE/.Rprofile")
/home/woodstock/hoffmacw/R/.Rprofile