similar to: Re: [R] Execute function at startup

Displaying 20 results from an estimated 7000 matches similar to: "Re: [R] Execute function at startup"

2004 Apr 13
1
Execute function at startup
It would be convenient to have something like Rgui runfist="myfunction()" in Windows. The reason: AFAIK Rgui does not accept piped input (RGui < myfile.R does not seem to work). A solution could be to put a few fuctions in Rprofile and then give the name for one of these functions to be executed at startup as a command line parameter to Rgui. Can something like this be done? --
2004 Apr 13
1
Execute function at startup
It would be convenient to have something like Rgui runfist="myfunction()" in Windows. The reason: AFAIK Rgui does not accept piped input (RGui < myfile.R does not seem to work). A solution could be to put a few fuctions in Rprofile and then give the name for one of these functions to be executed at startup as a command line parameter to Rgui. Can something like this be done? --
2004 Apr 15
0
Re: [R] Execute function at startup
#-----Original Message----- #From: Duncan Murdoch [mailto:dmurdoch@pair.com] #I forget whether Erich mentioned it in this post, but in other #messages he's told me that the intention is to use this as a way to #start R for naive users, immediately firing up Rcmdr for instance. #It's possible to install a .First function for such users, but it #would be easier if the capability was built
2000 Nov 14
1
RE: Gnuserv, NTEmacs, Windows 2000 and R
The following becomes more and more a topic for an R mailing list, possibly R-devel. R for Windows crashes are important and should be discussed and debugged with the experts -- which are not reading ESS-help AFAIK. Martin >>>>> "ColCun" == Cunningham, Colin A <colin.a.cunningham@intel.com> writes: ColCun> In my very brief exposure to R, I have
2009 Oct 16
0
post-installation startup problem with 2.10.0
I've just installed R2.10.0 v50082, and found the problem described below the first few times I launched it. Did not occur with v49613 (the previous most recent version I have). The problem has now gone away, and is therefore non-reproducible, but there seems to be something up with parameter processing or environment variable checking or loading of .RData files immediately after installation.
2004 Apr 12
0
Windows startup question
I would like to be able to double click on an R source file and by that start R and have the file sourced in R. I am using WinXP Pro. So I created an association for file type R and tye following Run action: "C:\Program Files\R\rw1090beta\bin\Rgui.exe" R_PROFILE=%1 I have an R file with the following lines at the beginning. library(vcd) votes<-array(0,10*7*9*2)
2008 Feb 09
1
Rprofile.site in Windows version
I think Rprofile.site as installed with R-2.6.2 contains some misleading information. It contains the following lines # set a CRAN mirror # local({r <- getOption("repos") # r["CRAN"] <- "http://my.local.cran" # options(repos=r)})'. Uncommenting these lines and changing the URL will not work. '. at the end of the last line will break the
2004 Jul 14
5
RGui Titlebar
In the windows version (RGui), is there a way to set the text displayed in the titlebar of the R window? When I have 2 instances of RGui running, it would be helpul if the titlebar could help to understand which is which. -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2001 Apr 17
0
RE: [Rd] converting body of a function to a a character vector
1. This query belongs in r-help, not in r-devel 2. Pity about your shift key... 3. The function you need is deparse() rather than as.character(): > fff <- function(x) { + x*x + } > deparse(body(fff)) [1] "{" "x * x" "}" > 4. There is a reason why as.character works this way. It transforms to character from a more fundamental representation of
2001 Dec 07
2
question
Isn't anything in a data frame that is not explicitly numeric a *factor*? -Greg > -----Original Message----- > From: Peter Dalgaard BSA [mailto:p.dalgaard@biostat.ku.dk] > Sent: Friday, December 07, 2001 5:32 PM > To: Erich Neuwirth > Cc: r-devel@stat.math.ethz.ch > Subject: Re: [Rd] question > > > Erich Neuwirth
2007 Oct 18
0
Nice reference to R
Just saw this in the Windows Secret blog: Get official and unofficial fixes for Excel By Brian Livingston Despite the hotfix that Microsoft recently released for Excel 2007, as I described on Oct. 11, some math errors that you should know about still lurk in both Excel 2007 and Excel 2003. I'll bring you up to date and explain how you can get better results from Excel. Baier and
2000 Feb 25
1
r-excel interface code
some of you might be interested. i just uploaded the first release of my r-excel interface package to CRAN. it is in contributed extensions nonstandard extensions erich neuwirth -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2000 Feb 25
1
r-excel interface code
some of you might be interested. i just uploaded the first release of my r-excel interface package to CRAN. it is in contributed extensions nonstandard extensions erich neuwirth -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2001 Feb 04
1
help with build on windows needed.
i installed r for window 1.2.1 and suddenly rcmd build does not work any more. C:\work\checked.out>rcmd build Please set TMPDIR to a valid temporary directory C:\work\checked.out>echo %TMPDIR% C:\Documents and Settings\Erich Neuwirth\Local Settings\Temp and this is a valid directory. things worked smoothly in 1.2.0 what can i do? -- Erich Neuwirth, Computer Supported Didactics
2009 Oct 18
2
Bug with .First in R 2.10
Under R2.10.0 beta (2009-10-14 r50082) my .First does not run reliably. I reported this last week, but not reproducibly, and it seemed to go away, so I thought it might be installation-related. But it has now recurred reproducibly, at least on my machine. The website ftp://ftp.csiro.au/MarkBravington contains two .RData files each containing (only) a .First. One of them does what it should, and
2010 May 22
1
exmaple problems
I do not know if this has been reported already (I searched the headers of the recent messages to r-devel) It seems that 'example' in R 2.11.0 has a problem when the help file does not contain any example. This is what happens on R 2.11.0 on Windows XP. > library(tools) > example(Rdiff) Error in file(con, "r") : cannot open the connection In addition: Warning message: In
2000 Apr 10
0
Re: building xgobi on Solaris
> Date: Mon, 10 Apr 2000 14:14:39 +0200 > From: Erich Neuwirth <erich.neuwirth at univie.ac.at> > X-Accept-Language: en > To: R-help at r-project.org > Subject: [R] Re: [Rd] R CMD build/check > > i am trying to compile xgobi ob my solaris box, > but i don't have > /usr/ccs/bin/cc > installed > > is there a makefile for building xgobi on solaris with
2004 Jun 22
0
R (D)COM server, new release
Today we uploaded a new release of the R (D)COM server for Windows to CRAN. It is release 1.35 The software is much more stable, and there are quite a few improvements. Excerpts from the NEWS file: RServerManager has been added. This provides a repository for R COM servers. See the samples and the additional documentation Partial rewrite of the code for SetSymbol() and GetSymbol(). Now
2004 Jun 22
0
R (D)COM server, new release
Today we uploaded a new release of the R (D)COM server for Windows to CRAN. It is release 1.35 The software is much more stable, and there are quite a few improvements. Excerpts from the NEWS file: RServerManager has been added. This provides a repository for R COM servers. See the samples and the additional documentation Partial rewrite of the code for SetSymbol() and GetSymbol(). Now
2016 Apr 01
0
Compute the Gini coefficient
Hello, Thank you very much for your help. How can I draw a Lorenz curve with several replications ? Here is an example with 4 replications: hosts=c(23,31,19,10,7,7,3, 39,40,8,3,6,2,2, 47,17,8,10,6,11,1, 30,30,10,0,15,15,0) parasites=rep(seq(from=0,to=6,by=1),4) replications=c(rep(1,7),rep(2,7),rep(3,7),rep(4,7)) test <- cbind(parasites,hosts,replications) Should I