similar to: ctrl+r does not work sometimes

Displaying 20 results from an estimated 20000 matches similar to: "ctrl+r does not work sometimes"

2013 Aug 26
1
plot categorical variable with percentage infomation
Dear All, Suppose I have a categorical variable a=as.factor(sample(1:3,10,replace=T)) plot(a) and hist(as.numeric(a),freq=F) would give the histogram of it. But I do not know how to add the counts or percentage information for plot.factor(). hist() can do it but as a numeric variable, the x-axis is not 3 categories in this case. Thank you for any suggestion. Best wishes, Jie
2013 Apr 30
2
Quote as element of a vector/list
Dear All, I would like to store quote as part of an vector. For instance, I would like to get an character object as x = " 12"ab"34 " or y = c("1", "2", """, "a", "b", """, "3", "4") Is that possible? Thank you. Best wishes, Jie [[alternative HTML version deleted]]
2012 Jul 31
2
protential rounding error concern
Dear All, I am running a r code on 32bit win, involving absolutely small numbers. Although I tried sth like the ratio of numers like 10^(-100) and did not have issue to get the correct answer, but still a little concerned about it. Could anyone give some suggestion or have any experience? Best wishes, Jie [[alternative HTML version deleted]]
2013 Oct 04
3
quote a column of a dataframe by its name
Dear All, I have a question, suppose X is a dataframe, with column names as "x1", "x2", "x3", ..... And I would like to use the i-th column by X[,'xi']. But it seems the single quote and double quote are different. So if I run X[, names(X)[i]], it has some error. Please use the below example code X = matrix(rnorm(50),ncol = 5) X = data.frame(X)
2013 Jul 23
1
p-values from multiple testing
Dear All, I performed thousands of testings and obtained p-values. And then I did two-sided uniform KS test of the p-values, the result claimed it is uniform. So does it mean that my model are wrong? Because I expect more small p-values near 0. This is a preliminary step before correcting the multiplicity. Attached is hist of p-values (does this list allow attachment?). The ks test: One-sample
2013 Mar 11
1
Allocate virtual memory on hard drive
Dear All, I have a long sequence and want to find the quantile, or sort it first. It seems sort() or quantile() reaches the memory limit. Is there a way to allocate more memoy on SSD for R when startup, so that R can use both RAM and hard drive space? Thank you. Best wishes, Jie
2020 Aug 19
2
Redo en RStudio, Ctrl y?
Buenas tardes. Más bien una curiosidad. Echaba de menos poder rehacer con *Ctrl y* lo deshecho con *Ctrl z*. Lo curioso es que RStudio, desde hace un tiempo, en la pestaña *Edit*, al lado de *Redo *pone "*Ctrl y", *pero *Ctrl y* no funciona. ¿sabe alguien por qué? Gracias, Manuel [[alternative HTML version deleted]]
2013 Mar 09
2
read.table freezes the computer
Hi All, I have a txt file to read into R. The size of it is about 500MB. This txt file is produced by calling write.table(M, file = "xxx.txt"), where M is a large matrix After running MM = read.table("xxx.txt"), the R gui keeps a cpu core/thread fully occupied forever. 64 bit R with 16GB RAM on Win7 64, i5 cpu should be capable. So if anyone knows the reason, that will be
2020 Aug 19
2
Redo en RStudio, Ctrl y?
En mi caso a veces funciona ctr+alt+Z. El mié., 19 ago. 2020 21:46, Carlos Ortega <cof en qualityexcellence.es> escribió: > Hola Manuel, > > En Mac son otra combinación, pero sí que funcionan. > RStudio tiene un grupo de soporte (más bien es una Community) donde podrías > comentarlo por si es un bug. > > Saludos, > Carlos Ortega > www.qualityexcellence.es >
2012 Aug 08
1
random number generator with SNOW/ Parallel/ foreach
Dear All, I have three classes of questions about generating random numbers with different packages (windows xp 32bit R). . 1. Suppose I would like to use package *foreach*, can I use current Sys.time as a seed? Although I can get the time up to1e-6 second precesion, the code below dose not work well on a local machine with two cores. ################# library(foreach) library(snow)
2008 Aug 25
5
How to do a meta-analysis plot
Dear R-list, I'd like to do a meta-analysis plot similar to install.packages('rmeta') require(rmeta) data(catheter) a <- meta.MH(n.trt, n.ctrl, col.trt, col.ctrl, data=catheter, names=Name, subset=c(13,6,5,3,7,12,4,11,1,8,10,2)) summary(a) plot(a) (see attached file) by using my own OR (Odds Ratio) and 95% Confidence Interval data set, which looks like
2010 Jul 11
2
Interrupt R?
How can one interrupt the following gracefully: while(TRUE){ Sys.sleep(1) } In R2.11.1 under Emacs+ESS, some sequence of ctrl-g, ctrl-c eventually worked for me. Under Rgui 2.11.1, the only way I've found was to kill R. Suggestions on something more graceful? Beyond this, what would you suggest to update a real-time report when new data arrives in a certain
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
On Mon, Sep 14, 2020 at 05:48:07PM +0300, Dan Carpenter wrote: > Hi Jie, > > url: https://github.com/0day-ci/linux/commits/Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20200911-115013 > base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next > config: parisc-randconfig-m031-20200913 (attached as .config) > compiler: hppa-linux-gcc (GCC)
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
On Mon, Sep 14, 2020 at 05:48:07PM +0300, Dan Carpenter wrote: > Hi Jie, > > url: https://github.com/0day-ci/linux/commits/Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20200911-115013 > base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next > config: parisc-randconfig-m031-20200913 (attached as .config) > compiler: hppa-linux-gcc (GCC)
2012 Aug 06
1
more efficient way to parallel
Dear All, Suppose I have a program as below: Outside is a loop for simulation (with random generated data), inside there are several sapply()'s (10~100) over the data and something else, but these sapply's have to be sequential. And each sapply do not involve very intensive calculation (a few seconds only). So the outside loop takes minutes to finish one iteration. I guess the better way
2012 Aug 02
2
parallel SNOW slower than single core?
Dear All, I am learning parallel in R and start with the package "snow". I did a test about running time and the parallel version is much slower than the regulat code. My laptop is X200s with dual core intel L9400 cpu. Should I make more clusters than 2? Or how to improve the performance? # install.packages("snow") library(snow) cl <- makeCluster(2) t1 <- proc.time() a
2009 May 03
2
clear screen?
I?ve been using this routine for several years. I?m sorry, I don?t remember where I got it. It works as it should, viz. it blanks the R console. But it requires package rcom and now that requires rscproxy. cls <- function () { require(rcom) wsh <- comCreateObject("Wscript.Shell") comInvoke(wsh, "SendKeys", "\f") invisible(wsh) } > cls()
2013 Mar 18
2
how to plot u-v wind by R?
hi R users: I have a dataset including u wind in x-axis and v wind in y-axis. How can I plot the u,v wind data in vector or barb figure? which command ? thank you . -- TANG Jie [[alternative HTML version deleted]]
2012 Jul 10
2
is it possible to insert a figure into into another new figure by r script
hi R-users Now I have a figure in emf or png or tiff format that have been drawn by other tool and I want to insert this figure into my new figure by R script. I wonder if is possible ? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2013 Jan 22
1
how to give a lengend in symbols functions
hi Rusers I am trying to use symbos in gtools package symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen") Now I want to give a lengend to tell the reader the meaning or magnitude of these circle. How can I add these information in symbols plot just like legend in plot ? thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon