similar to: R compilation

Displaying 20 results from an estimated 400 matches similar to: "R compilation"

2008 Jan 29
1
Compiling R code
Hi all, I am struggling to compile a massive R code that I have written through some years, aiming to provide automated investment strategies to my Portfolio Managers. You may ask me why do I not rewrite the code in C or C++; the answer is it is really massive and that will take me lots of time. The pb is I will be moving from one team to another therefore I want to make it an exec program that
2008 Jan 30
1
re stricting points in a data frame
useR's, Consider some variables and a data frame of points: x1 <- c(1,2,3) x2 <- c(3,4,5) xk1 <- seq(min(x1)-.5, max(x1)+.5,.5) xk2 <- seq(min(x2)-.5, max(x2)+.5,.5) expand.grid(xk1=xk1,xk2=xk2) xk1 xk2 1 0.5 2.5 2 1.0 2.5 3 1.5 2.5 4 2.0 2.5 5 2.5 2.5 6 3.0 2.5 7 3.5 2.5 ... 46 2.0 5.5 47 2.5 5.5 48 3.0 5.5 49 3.5 5.5 I want to restrict the data frame to only contain
2009 Nov 13
1
shrink list by mathed entries
Hello a <- c("Mama", "Papa", "Papa; Mama", "", "Sammy; Mama; Papa") a <- strsplit(a, "; ") mama <- rep(F, length(a)) mama[sapply(a, function(x) { sum(x=="Mama") }, simplify=T) > 0] <- T papa <- rep(F, length(a)) papa[sapply(a, function(x) { sum(x=="Papa") }, simplify=T) > 0] <- T # ... more
2008 Jan 30
4
Multiplying each row of a big matrix with a vector
I have a big matrix 'ret'. I want to multiply each row of it with a 2nd vector 'pos', resulting result, I want to save in a vector named 'port'. I wrote following code: > pos [1] 2593419 2130220 6198197 1673888 1980000 1784732 2052120 -7490228 -5275000 > dim(ret) [1] 500 9 > fu # user defined function function(x) { fu = x %*%
2008 Jan 29
3
How to get two y-axises in a bar plot?
Hi, I have measured two response variables (y1, y2) at each treatment level (x = 0, 1.5 or 3). Now I would like to show the y1 and y2 against x in a bar plot. However, y1 and y2 differ in scale so I need two y-axises, one on the left side and one on the right side (and I dont want to standardize my responses). This is fairly easy if you want to show points,lines etc, but gets more complicated
2008 Jan 29
5
pivot table in R
Hello, I'm struggling with an elementary problem with R. I have a simple data frame such as this one giving the number of accidents subdivided by sex, age and region. sex age region no_of_accidents F young north 10 F young south 12 F old north 5 F old south 7 M young north 24 M
2003 Apr 07
3
graphic question
Hi, I want to use R for some data mining project , and was wondering if it has any intercative graphical features? For example, is it possible to plot a histogram and be able to select a specific point on it and have all the data about it? or select a specific area in a curve and have all the data about it? or possibilities to zoom out and in? Thank you for your help, Mama Benchaffai School of
2018 Jul 07
3
Completar un for, que falla al faltarle algún dato.
Buenas noches; Además del proyecto que comenté antes y con el que sigo discutiendo, también me estoy peleando con otro... con el que también tropiezo. Necesito reordenar los datos presentados en dos columnas a filas y columnas. Los datos ideales serían algo así: Ques <- c(rep("Q1",3),rep("Q2",3),rep("Q3",3)) Info <- rep(c("aca", "ahi",
2002 May 17
1
[Bug 248] New: scp doesn't support ssh2 protocol
http://bugzilla.mindrot.org/show_bug.cgi?id=248 Summary: scp doesn't support ssh2 protocol Product: Portable OpenSSH Version: -current Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: scp AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: liug
2002 May 27
9
[Bug 257] sftp and 32 bit integar
http://bugzilla.mindrot.org/show_bug.cgi?id=257 ------- Additional Comments From markus at openbsd.org 2002-05-27 17:09 ------- openssh is not derived from ssh.com-2.x or 3.x. but adding support for 32bit int is not hard. you can attach patches to this bug. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package. I have something like this ############################################ xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11) xylab<-dados$maslab xxlab<-dados$femlab
2009 Mar 31
4
Tax Preparation with WINE
As approximately 130 million other US citizens, I am dutifully preparing for the April deadline for filing my income tax returns. Reviewing the WINE AppDB for installable tax software to help out in the process, it appeared that 2nd Story Software's TAX ACT was most likely to work with the WINE version (1.1.17) installed on my Mandriva-equipped HP laptop. As it turned out, TAX ACT was able
2009 Jan 28
2
t.test in a loop
Hi All, I've been having a little trouble with creating a loop that will run a a series of t.tests for inspection, Below is the code i've tried, and some checks i've looked at. I've used the get(paste()) idea as i was told previously that the use of the eval should try and be avoided. I've run a single syntax to check that my systax is correct and works without any problems
2019 Jun 26
5
Alternitives to Firefox...
At Wed, 26 Jun 2019 16:39:12 -0400 CentOS mailing list <centos at centos.org> wrote: > > Robert Heller wrote: > > OK, I recently ugraded to the current ESR release of Firefox for CentOS > > 6. > > And I am having problems with the user interface (basically it has become > > hard [for me] to use). > > > > > > What alternitives are there?
2012 Aug 09
4
debug vs regular mode
Dear all, I had a R segmentation fault, and then invoked debug mode and ran step by step. When I reached "terms(Y~X1*X2*...*X16)", I would then have "segmentation" fault. However, if I just ran this under regular "R interactive" mode, it would be fine though taking long time. My questions are: 1. Is there a known limit of terms for a formula? 2. Why does the
2012 Aug 09
4
debug vs regular mode
Dear all, I had a R segmentation fault, and then invoked debug mode and ran step by step. When I reached "terms(Y~X1*X2*...*X16)", I would then have "segmentation" fault. However, if I just ran this under regular "R interactive" mode, it would be fine though taking long time. My questions are: 1. Is there a known limit of terms for a formula? 2. Why does the
2002 May 17
2
[Bug 248] scp doesn't support ssh2 protocol
http://bugzilla.mindrot.org/show_bug.cgi?id=248 ------- Additional Comments From liug at mama.indstate.edu 2002-05-18 07:14 ------- I tried several different versions of openssh, and got the same problem with scp. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 May 27
0
[Bug 257] New: sftp and 32 bit integar
http://bugzilla.mindrot.org/show_bug.cgi?id=257 Summary: sftp and 32 bit integar Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: other Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: liug at
2002 May 27
0
[Bug 258] New: scanf format not portable
http://bugzilla.mindrot.org/show_bug.cgi?id=258 Summary: scanf format not portable Product: Portable OpenSSH Version: -current Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: liug at
2002 May 27
0
[Bug 258] scanf format not portable
http://bugzilla.mindrot.org/show_bug.cgi?id=258 ------- Additional Comments From liug at mama.indstate.edu 2002-05-28 02:53 ------- Here are some more info I gathered from the Watcom newsgroup: The C99 draft explicitly said that: "If a - character is in the scanlist and is not the first, nor the second where the first character is a ^, nor the last character, the behavior is