similar to: unix-type commandline keystrokes in the windows RGUI

Displaying 20 results from an estimated 6000 matches similar to: "unix-type commandline keystrokes in the windows RGUI"

2005 Feb 25
display full form in args
Forgive me for I do not fully comprehend the idea of classes and methods but I was wondering if someone could help explain why the function args () behaves the way it does. Why does args(cut) show the simplified version instead of the more complete one as in help("cut"). This is true for few other functions (e.g. plot, rep). > args(cut) function (x, ...) Sometime I can get
2005 Jul 25
passing formula arguments cv.glm
I am trying to write a wrapper for the last example in help(cv.glm) that deals with leave-one-out-cross-validation (LOOCV) for a logistic model. This wrapper will be used as part of a bigger program. Here is my wrapper funtion : logistic.LOOCV.err <- function( formu=NULL, data=NULL ){ cost.fn <- function(cl, pred) mean( abs(cl-pred) > 0.5 ) glmfit <- glm(
2005 Aug 15
stepAIC invalid scope argument
I am trying to replicate the first example from stepAIC from the MASS package with my own dataset but am running into error. If someone can point where I have gone wrong, I would appreciate it very much. Here is an example : set.seed(1) df <- data.frame( x1=rnorm(1000), x2=rnorm(1000), x3=rnorm(1000) ) df$y <- 0.5*df$x1 + rnorm(1000, mean=8, sd=0.5) # pairs(df); head(df) lo <-
2005 Sep 02
C-index : typical values
I am doing some coxPH model fitting and would like to have some idea about how good the fits are. Someone suggested to use Frank Harrell's C-index measure. As I understand it, a C-index > 0.5 indicates a useful model. I am probably making an error here because I am getting values less than 0.5 on real datasets. Can someone tell me where I am going wrong please ? Here is an example using
2008 Aug 24
howto optimize operations between pairs of rows in a single matrix like cor and pairs
Hi, I calculating the output of a function when applied to pairs of row from a single matrix or dataframe similar to how cor() and pairs() work. This is the code that I have been using: pairwise.apply <- function(x, FUN, ...){ n <- nrow(x) r <- rownames(x) output <- matrix(NA, nc=n, nr=n, dimnames=list(r, r)) for(i in 1:n){ for(j
2008 Aug 25
Maintaining repeated ID numbers when transposing with reshape
I have a dataset in "long" format that looks something like this: ID TEST RESULT 1 A 17 1 A 12 1 B 15 1 C 12 2 B 8 2 B 9 Now what I would like to do is transpose it like so: ID TEST A TEST B TEST C 1 17 15 12 1 12 . . 2
2001 Mar 03
Emacs & ESS under Windows
After the discussions about appropriate editors under Windows to use with R, I have managed to install Emacs, XEmacs, and ESS under WinNT 4.0, and these work fine. It's not necessary to compile anything to use R with ESS, just to install Emacs and ESS, and do a few modifications in some files. XEmacs is also easy to install but apparently ESS cannot run with it (confirmed by a message by Tony
2005 Aug 08
use different symbols for frequency in a plot
suppose I have the following data x<-c(rep(.1,5),rep(.2,6),rep(.4,10),rep(.5,20)) y<-c(rep(.5,3),rep(.6,8),rep(1.2,8),rep(2.5,18),rep(3,4)) If I plot(x,y) in R, I will only get seven distinct points. What I want to do is to use different symbols to show the frequency at each point. e.g. if the frequncey is between 1 and 5, then I plot the point as a circle; if the frequency is between 6
1998 Nov 20
installing R packages in Windows?
> Date: Fri, 20 Nov 1998 15:58:07 +0100 > To: r-help at > Subject: [R] installing R packages in Windows? > From: 320098218774-0001 at (Pablo E. Verde) > > I am a Windows user of R. Could somebody give me a concrete > example of how to install a package in R? I have tried to > follow the Appendix C of "R complements to Modern Applied >
1998 Nov 20
installing R packages in Windows?
> Date: Fri, 20 Nov 1998 15:58:07 +0100 > To: r-help at > Subject: [R] installing R packages in Windows? > From: 320098218774-0001 at (Pablo E. Verde) > > I am a Windows user of R. Could somebody give me a concrete > example of how to install a package in R? I have tried to > follow the Appendix C of "R complements to Modern Applied >
2005 Feb 23
and [ESS] Starting ESS
Dear R People: I have finally seen the error of my ways and have decided to use ESS for R and S + stuff. However, I have a question right from the beginning. I'm somewhat confused by the installation instructions. Do I install XEMACS or ESS first, please? Windows XP R Version 2.0.1 (S + 6.2) Thanks so much! Sincerely, Laura Holt mailto: lauraholt_983 at
2002 Sep 02
Coplot graph size manipulation
I am currently plotting a graph with the function coplot() conditional on two factors which gives me 36 sub-panels. I have a few questions in general about changing the size of the graph. My question follows : a) I have a fair bit of text to put on the margin sides using mtext(). What is the best way to shrink the whole graph to say 80 - 90% so that I can include a bit more words. b) Since I am
2001 Jun 29
Re: ESS and R ver 1.3.0/ graph menu/ save PDF
"SM" == S McClatchie <S.McClatchie> writes: > > SM> I notice that the new option under R ver. 1.3.0 to save a > SM> graph as a pdf file from the graph window menu (file/ save as/ SM> > PDF) works differently (extremely slowly) under ESS, whereas SM> it is > almost instant from the R- gui. > > SM> Does the feature not
2005 Jul 10
Boxplot in R
I am trying to draw a plot like Matlab does: The upper extreme whisker represents 95% of the data; The upper hinge represents 75% of the data; The median represents 50% of the data; The lower hinge represents 25% of the data; The lower extreme whisker represents 5% of the data. It looks like: --- 95% | | ------- 75% | | |-----| 50% | | | | -------
2010 May 04
Using R with screenreading software
Dear R-Experts, a student of mine tries to use the Windows-Rconsole with screen reading software (she is blind), and cannot access the command line (Menus are ok). The company which produces her screen reader tells her that this is due to the cursor used in Rconsole, which is static, not blinking. They maintain that if the cursor could be changed to a blinking one, she should be able to access
2006 Feb 06
Evaluate output after each rep()
Hi R-Help, I'm trying a develop a test simulation where i evaluate the probability of not getting a value of 100 from the function rbinom(6000, 200, .5) [indeed, a very small probability]. At the end of each rep, I would like to evaluate the output, continue with the loop if the output contains the value 100, stop if the output lacks a 100. How do I get R to evaluate the output after
2012 Jan 31
ignorant question about Roxy- mode in ESS
I am slowly getting up to speed/being dragged into using Roxygen in a project. I'm wondering if there's a way to emulate the behaviour of C-c C-p (Rd-preview-help) in Rd-mode (create a preview in a new Emacs buffer in "R Help Preview" mode), but from an Roxygen chunk. In Roxy-mode there is C-c C-e C-t (ess-proxy-preview-HTML), which works to preview the documentation derived
1999 Sep 22
Brace highlighting in R for the PC?
Hey everyone, Might it be possible for future versions of PC-R to highlight the opening brace in a pair, a la emacs? Programs that do that are infinitely friendlier than those that don't. Thanks, Steve Stephen R. Laniel | "I've got a match: Carnegie Mellon University | Your embrace and my collapse." laniel at | --They Might Be
2003 Mar 03
Use Rterm in rxvt for Cygwin?
Dear R users, Does anyone notice that Rterm.exe does not work well with rxvt.exe, an xterm emulator for Cygwin? It produces an error message window with the following message: This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor It also prints "Signal 127" in rxvt window. Rterm --ess, however, works.
2006 Feb 21
How to Import Data
Hello, I am a very new user of R. I've spent several hours trying to import data, so I feel okay asking the list for help. I had an Excel file, then I turned it into a "csv" file, as instructed by directions. My filename is "x111.csv." I then used the following commands to read this (fairly small) dataset in. x111 <-read.table(file='x111.csv',