similar to: Prevent killing an ESS *R* buffer unintentionally

Displaying 20 results from an estimated 1000 matches similar to: "Prevent killing an ESS *R* buffer unintentionally"

2001 Feb 21
1
Specification of factors in tapply
After some fiddling around with the tapply command, I discovered that the factors (the INDEX argument) given to tapply must be specified in fastest-cycling first order. The following code shows how I discovered my error: (R version 1.2.1) -o-o-o-o-o- x <- as.data.frame(list(data=c(-9,0,3,1,-9,1,0,-9,0,3,1,-9,1,0), subj=c(rep(1,7),rep(2,7)),
1999 Jan 04
1
Names of data frame columns in an apply
Hi, [some background] I have a dataset which describes a number of subjects doing a "scientific discovery". That is, they have to discover the rules underlying a particular domain. To do so, they have to set the levels of 5 variables which leads to a certain outcome. To identify what kind of "experiments" the subjects did, I want to combine these levels into one variable
1999 Jan 11
0
Bug in axis(...,tcl=0)?
Hi, first of all, I would like to take this opportunity to thank all of you "answer guys" for giving such detailed answers. I think I've learned about as much from all these answers as from the different S/R documents I've read so far. Anyway, I ran into a incompatability between S and R, that is, R does not know the "ticks=T/F" argument to functions like axis and
2002 Jul 28
1
[R] bug in unsplit()? (PR#1843)
Hedderik van Rijn <hedderik@cmu.edu> writes: > If the second argument to unsplit is not a simple vector (but a "list > containing multiple lists"), the function seems to have some problems. > > Given a slight modification of the examples in help(split): > > > xg <- split(x,list(g1=g,g2=g)) > > unsplit(xg,list(g1=g,g2=g)) > [1] -0.7877109
2002 Jul 28
0
[R] bug in unsplit()? (PR#1845)
Hedderik van Rijn <hedderik@cmu.edu> writes: > > Thanks for pointing this out. I think your code should work, although > > I'm slightly uneasy about actually modifying f, so how about > > Just curious, why are you uneasy about that? Does it have side effects? It is largely due superstition, but if you change f before calling split<-() you have split() and
2005 Mar 28
1
gnuclient problems witrh R/ESS in linux
Dear list, Not strictly R ... In R on Xemacs with ESS (R-2.0.1, Xemacs-21.4.15-r3, ESS-5.2.6) on gentoo-linux when I use k<-edit(k) or fix(k) to change a small vector k <- c(1,2,3,4,5,6) the opened window (called '6b8b4567') appears not to be connected to the gnuclient and I'm able to edit the file but has no instructions in the minibuffer and C-x # gives '6b8b4567 does
2004 Dec 09
3
US 2004 Elections map
even for people who didn't like the outcome of the US elections this year, it must have been a joy to see all the nice (and not so nice) graphs that were shown. As an exercise, I recreated the map shown on the NY-Times website [ http://www.nytimes.com/packages/khtml/2004/11/03/politics/ 20041103_px_ELECT_GRAPHIC.html ] If you're interested,
1998 Jun 18
0
R-beta: netscape/R interaction [color allocation]
Thanks to Martin Maechler, Douglas Bates, Peter Dalgaard, and Hedderik van Rijn for pointing out the problem is with the color resource demands of the two applications and for their suggested possible solutions. A 24 bit monitor would be ideal and maybe someday I'll have the $$$ to upgrade. "netscape -install" works with the attendant flashing screen color changes from window to
2001 Feb 15
1
Re: Question "kill-buffer"
I would be very thankfull for such a solution, too .... "R.E. Darnell" wrote: > > Would introducing a "Are you sure?" question after kill the *R* ( or > whatever) buffer with a hasty C-x k be a popular default > "feature". How can I include this for my own use? > > Thanks > > Ross Darnell --
2003 Aug 10
1
read.spss doesn't work anymore
A couple of months ago, probably using an older version of R, R used to run the following code just fine: library("foreign") data.exp1 <- as.data.frame(read.spss("dataDef.sav")) Issuing the same commands now (after starting R using --vanilla), gives me the following behavior: > library("foreign") > x <- read.spss("dataDef.sav") Error
2002 Dec 20
3
Sweave & xtable
I'm trying to get Sweave running for automatic report generation, and it seems to run fine when just using verbatim output. However, I've ran into a problem with xtable. I would like to print the following matrix using xtable: > dim(counts) [1] 19 15 All columns are filled with real/integer numbers > 0 and < 1000. Just typing xtable(counts) gives correct LaTeX output, but
2002 Jul 17
1
editing Sweave files in xemacs with ess (noweb), auctex and reftex
I am having some trouble getting reftex, in particular the bibtex related features, to work properly in xemacs when editing text in Sweave files. I have added (defun Rnw-mode () (noweb-mode) (if (fboundp 'R-mode) (setq noweb-default-code-mode 'R-mode))) (add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode)) (add-to-list 'auto-mode-alist
2001 Mar 07
4
R.xpm?
I use AfterStep on Linux. I made an R.xpm file (attached) and put this icon in the "wharf". To invoke R I click on the R icon. I did not find an offical R.xpm, and so I am submitting this one for your collective consideration.... The idea behind the icon is that it looks like a scatterplot, which is "statistical". My main beefs with my R.xpm are that it doesn't have a
2000 Jul 28
2
Loop removal?
Dear all, I've got a quite large dataframe (stor) with rows subject and rt (reaction time). I would like to split the reaction times per subject into 6 bins of equal size. Right now, I'm using the following code: bindata <- function(rt) { bindata <- rep(-1,length(rt)) binwidth <- length(rt)/6 bindata[order(rt)[(0*binwidth)+1:(1*binwidth)]] <- 1
2018 Oct 23
0
elpa-ess fails to initialize after update to 18.10 on ubuntu bionic
Hi Chris, On 22 October 2018 at 22:22, Chris Sims wrote: | The latest ess and elpa-ess 18.10-1bionic0 packages for ubuntu leave | ess unable to find initialization files when it is invoked from R via | M-x R. I've found a workaround by creating a soft link: | | cd /usr/share | sudo ln -s /usr/share/emacs/site-lisp/elpa-src/ess-18.10 ess | | but this may be a widespread problem. It
1999 Nov 28
2
gnuclient X11 & openssh
The following message is a courtesy copy of an article that has been posted to comp.emacs.xemacs as well. [This message has been CC'ed to the OpenSSH list in a plea to at least consider supporting more advanced usages of Xauth] Chris Green <sprout at dok.org> writes: > Its not configurable behavior. It always generates a new random file > in /tmp. Then they should probably
2000 Dec 19
1
Re: ESS for R
>>>>> "BR" == B Rowlingson <B.Rowlingson at lancaster.ac.uk> writes: >> Could you check and see if the variable is global or >> buffer-local? ("C-h v ess-dump-filename-template" should do >> it). BR> ess-dump-filename-template's value is "rowlings.%s.S" Local in BR> buffer *S+5*; global value is
2005 Dec 05
1
how to save output all together
Dear R users: I have a problem about catch the value from function. I have following two functions (part): sbolus1 <- function() { ....... for( i in 1:Subject) { kel<-par1 Vd<-par2 PKindex<-sbolus1.out(PKtime,kel,Vd,defun,par1,par2,Dose,i) } savefile(PKindex) } sbolus1.out<-function(PKtime,kel,Vd,defun,par1,par2,Dose,i) { time<-PKtime$time
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
2008 Dec 03
3
Help with maps
A few questions about maps... (1) How can I find a listing of the internal data sets that map() from the maps library contains? For example, "usa", "county", "state", "nz" all work. Are there any others? (2) Is there an easier, more generalized way to produce this (http://www.ai.rug.nl/~hedderik/R/US2004/ ) type of plot than this