similar to: xemacs and ess: keyboard shortcut for sending line to R

Displaying 20 results from an estimated 3000 matches similar to: "xemacs and ess: keyboard shortcut for sending line to R"

2009 Apr 20
4
automatic exploration of all possible loglinear models?
Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic regression? Thanks. --Chris -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch Street, Johnson City, NY 13790 cryanatbinghamtondotedu "If you want to build a ship, don't drum
2008 Jun 26
2
stuck on making a line graph across time, with 4 categories
I can't seem to find just what I'm looking for in R help, Everitt and Hothorn HSAUR, Murrell's book, or the R graphics gallery at http://addictedtor.free.fr/graphiques/. Probably not looking efficiently, but anyway, If my data look like this: > head(data) cat startyear studentid 1 other 2001 12 2 UHS 2001 17 3 Lourdes 2001 10 4
2008 Jul 14
2
question about a small "for" loop
R 2.5.1 on WinXP I'm trying to create new variables in a dataframe called jaw, as powers of jaw$age up to the sixth power, and name them jaw$age.(--the digit corresponding to the power--) Obviously none of these work (silly for me to try, I suppose): for (i in 2:6) { jaw$age.'i' <- jaw$age^i } for (i in 2:6) { jaw$age.i <- jaw$age^i } for (i in 2:6) {
2009 Jun 30
4
conditional coloring of output text in console or in GUI
suppose I have some logical vector x <- as.logical(c(0,0,0,1,0,0,1,1,0)) x How would I make the words TRUE appear on the screen in a different color from the words FALSE? Thanks. --Chris -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch Street, Johnson City, NY 13790 cryanatbinghamtondotedu "If you want to build a ship, don't drum
2009 Jan 30
1
problem using identify() after plot()
I can't seem to use the point-and-click identify() function properly. I'm running R 2.5.1 (I know, I need to get around to upgrading) under Win XP. The problem is, when I click on a point on the graph, I get an error, "no point within 0.25 inches." But in some areas, I can click where there is no visible point anywhere close, and an identify() label will pop up. The troublesome
2009 Jan 27
2
using Sweave with a master file that has several iputted .tex files
Suppose I have a Master.Rnw file that looks something like this: \documentclass[12pt]{mypaper} \usepackage[margin=1in]{geometry} \usepackage{setspace} \usepackage{url} \usepackage{indentfirst} \usepackage{fancyhdr} \usepackage{Sweave} \pagestyle{fancy} \lhead{sonographic rectal diameter and ADHD} \rhead{ } \usepackage{abbrevs} %\usepackage{natbib} %\usepackage{apacite}
2009 Jan 21
1
trouble converting an array to a dataframe
I start with a dataframe called xrays. It contains scores on films from each of two radiologists. It is in "long" format. I used the reshape package to melt a data frame and then cast it into "wide" format, one line for each patient (identified by redlognumb) with scores from both radiologists for a given patient on the same line. I named the result of the casting xrays.data.
2008 Oct 30
1
trying to figure out reorder.factor in gdata
I'm trying to make a factor with levels for day of week, appear as Monday-Sunday, rather than alphabetically. I'm using reorder.factor from gdata package, but obviously not using it properly. What am I doing wrong? Thanks. >data <- read.table("DataEarly2008.txt", sep=" ", header=T, as.is=1:2) >str(data) 'data.frame': 7953 obs. of 9 variables: $
2007 Jul 11
0
installing, removing, upgrading, and downgrading packages
I'm very new to R, trying to learn it. I started with R 2.4, but I have since upgraded to 2.5.0, on WindowsXP. I understand that 2.5.1 is now available. Last night in the course of things I loaded libraries "coin" and "survival". I received warning messages that they had been built under version 2.5.1. However, as far as I could tell, they worked OK. But this brought
2007 Sep 17
0
color schemes in Tinn-R
A question for anyone using Tinn-R: I find that using the default color scheme with the white background on my laptop hard on the ole' eyes. I see the drop-down menus leading to the ability to change the colors of individual components (numbers, commmands, strings, etc, and the background for each of those.) I can play around with background colors and foreground colors. However, I'm
2008 Jul 24
0
OT: course in research administration
I'm currently enrolled in the distance education masters degree program in statistics at Texas A&M University. I'm hoping the program will help me develop skills useful in advancing my primary care research endeavors. Having a great time so far, learning a lot. I have one semester in which to take a non-statistical elective. What I'd like to learn in that semester is some of
2009 Jan 23
0
high values of my response variable get chopped off of lattice dotplots
I am trying the following lattice graphics code: > library(lattice) > attach(junk) > summary(junk) mean.barr variable value Min. : 3.50 item15 :15 Min. :0.0000 1st Qu.: 9.50 item14 :14 1st Qu.:0.0000 Median :11.00 item16 :14 Median :0.0000 Mean :11.64 item1 : 0 Mean :0.6744 3rd Qu.:16.00 item2 : 0 3rd Qu.:1.0000 Max. :20.00 item3 :
2009 Jul 21
1
is a sequence of dates consecutive, without gaps?
I have a long sequence of dates, about 6 years worth, as one column in a data frame. How can I test whether the sequence is consecutive, that is, without gaps? Thanks. --Chris -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch Street, Johnson City, NY 13790 cryanatbinghamtondotedu "If you want to build a ship, don't drum up the men to
2007 Jul 22
1
summary of linear fixed effects model is different than the HSAUR book
Running R 2.5.1 and a newly downloaded lme4 package on WinXP I'm trying to work my way through Everitt and Hothorn's "Handbook of Statistical Analyses Using R," c 2006. (No, it's not homework.) Chapter 10 discusses linear mixed effects models for longitudinal data. I've called my long data frame BtheB.long Here's the model from the book, which I run. lmer1 <-
2007 Nov 29
1
extracting items from R objects and using them in \Sexpr with Sweave--problem with $
Running R 2.5.1 on WinXP with Tinn-R, and using Sweave via MikTex. I am having trouble with the code below: ------------------------------------------------------- <<lowerCI95>>= lowerCI95713 <- t.test(data713, alternative="greater") lowerCI95713.bound <- lowerCI95713$conf.int[1] @ Thus a lower 95\% confidence bound on the mean octane concentration is
2010 Mar 10
1
trouble calculating rates--sometimes the denominator is missing
Every day I get a csv file containing the names of the 64 schools in our county, the number of students sent home ill, and the number of students absent (plus lots of other variables). The file is cumulative since fall of 2009. It is in "long" format: one line per school per day. Each line is also supposed to contain the total number of students enrolled in the school. That number
2004 Feb 14
1
PLEASE IGNORE PREVIOUS: How to configure ess-5.2.0beta3-1.i586.rpm, Xemacs and SuSE 9.0?
Please ignore (and excuse) my previous message - it is incomplete. I'm trying to get R and ESS to work with Xemacs on a newly installed SuSE 9.0 system. Is some setup required beyond installing the rpms? I've installed the Xemacs packages from SuSE xemacs-info-21.4.13-35 xemacs-packages-el-20030629-37 xemacs-21.4.13-35 xemacs-el-21.4.13-35 xemacs-packages-info-20030629-37
2004 Feb 14
1
How to configure ess-5.2.0beta3-1.i586.rpm, Xemacs and SuSE 9.0?
I'm trying to get R and ESS to work with Xemacs on a newly installed SuSE 9.0 system. Is some setup required beyond installing the rpms? I've installed the Xemacs packages from SuSE xemacs-info-21.4.13-35 xemacs-packages-el-20030629-37 xemacs-21.4.13-35 xemacs-el-21.4.13-35 xemacs-packages-info-20030629-37 xemacs-packages-20030629-37 ess-5.2.0beta3-1.i586.rpm
2001 Dec 26
1
ESS 5.1.19 w/Xemacs 21.4.6
Probably wrong group for this, but a quick question. I've just switched from emacs to Xemacs. In reinstalling ESS 5.1.19 I keep getting the following error when loading Xemacs: "Error in init file: Symbol's function definition is void: w32-using-nt" I've debugged the ess-site.el file, which is where the error originates from. The line causing the difficulty is:
2003 Apr 01
1
[OFF]- Xemacs, delete key and ESS
Hi, I use R with XEmacs and ESS, when I'm editing a R file in XEmacs, the delete key work like the Backspace key. This behaviour is only in XEmacs + ESS + R file, it dont have this behaviour on a R section (M+R). Anybody know how to make a delete key to work like the delete key?? ESS 5.1.20-2 XEmacs 21.4.6-8 Thanks for all -- You will always have good luck in your personal affairs. --