similar to: How can I join two lists?

Displaying 20 results from an estimated 2000 matches similar to: "How can I join two lists?"

2010 May 29
1
[LLVMdev] Vectorized LLVM IR
On Sat, May 29, 2010 at 1:18 AM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Sat, May 29, 2010 at 12:42 AM, Stéphane Letz <letz at grame.fr> wrote: >> >> Le 29 mai 2010 à 01:08, Bill Wendling a écrit : >> >>> Hi Stéphane, >>> >>> The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some
2010 May 29
0
[LLVMdev] Vectorized LLVM IR
On Sat, May 29, 2010 at 12:42 AM, Stéphane Letz <letz at grame.fr> wrote: > > Le 29 mai 2010 à 01:08, Bill Wendling a écrit : > >> Hi Stéphane, >> >> The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code? >> >> -bw >>
2010 May 29
3
[LLVMdev] Vectorized LLVM IR
Le 29 mai 2010 à 01:08, Bill Wendling a écrit : > Hi Stéphane, > > The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code? > > -bw > > On May 28, 2010, at 12:13 PM, Stéphane Letz wrote: We are actually testing LLVM for the Faust language
2010 Feb 10
4
Readjusting the OUTPUT csv file
Dear R helpers   I have some variables say ABC, DEF, PQR, LMN and XYZ. I am choosing any three varaibles at random at a time for my analysis and name these files as input1.csv, input2.csv and input3.csv. So if I choose variables say ABC, DEF and PQR, I am passing the specifications of these variables to input1.csv, input2.csv and input3.csv respectively.   This means in another case even if I
2008 Feb 14
3
contingency table
Hello! May you help me? I'm trying to do a contingency table using this > data(iris) > library(rpart) > modelo <- rpart(Species ~., iris) > prev <- predict(modelo, iris) Finally the contingency table > table(iris$Species, prev) But an error occurs: Error in table(iris$Species, prev) : all arguments must have the same length And I do not understand why, may you
2007 Feb 25
3
Macros in R
Dear members, I have started to work with R recently and there is one thing which I could not solve so far. I don't know how to define macros in R. The problem at hand is the following: I want R to go through a list of 1:54 and create the matrices input1, input2, input3 up to input54. I have tried the following: for ( i in 1:54) { input[i] = matrix(nrow = 1, ncol = 107)
2008 Feb 01
4
Concatenate a Variable
Good morning! I do not speak English very well and so I will try to explain the best I can. I have this: > tabela[,1] [1] a a b b a c b a c c c c c Levels: a b c >unique(tabela[,1]) [1] a b c Levels: a b c >var<-unique(tabela[,1])[1] > var [1] a Levels: a b c But if I concatenate like this > cat("VAR: ", var, "\n") I obtain >VAR: 1 and I
2006 Oct 06
1
transactions not work for array?
Hi, I have a transaction block as follow: begin Hello.transaction(input1,input2) input1.save for i in 0 to count input2[i].input1_id = input1.id input2[i].save end end rescue end I have used validates_uniqueness_of for input2 in the model The problem is, when there is duplicate record in input2, input1 and the first record in input2
2014 May 14
3
Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
Ian Campbell <ijc at hellion.org.uk> writes: #I think at a minimum to make any progress we would need to see some #logs. Probably the dom0 dmesg (perhaps compared to the native boot #dmesg) and the set of modules which are loaded would be a good start. #Probably xen's dmesg would be useful too. Lastly, it would be good to #mention what sort of keyboard this is (USB, PS2?) # #Also the
2005 Mar 05
1
vector memory allocation?
Hi all, I have a vector size allocation problem with R 2.0.1 (script and output shown): > var1 <- sum (input1 * input2, na = TRUE) > gc() used (Mb) gc trigger (Mb) Ncells 199327 5.4 785113 21.0 Vcells 71039552 542.0 206003790 1571.7 > var2 <- sum (input1 * input2 / input2, na = TRUE) Error: cannot allocate vector of size 524288 Kb input1 and
2011 Apr 28
1
Subscript out of Bounds
I currently have this code: for(j in 2:n){ for(i in 1:(j-1)){ # Make sure the inputs are for the matrix "m" input1=rownames(m)[i] input2=colnames(m)[j] q=t[(t$Rec1==input1 & t$Rec2==input2),output] if(length(q)==0){ q=t[(t$Rec1==input2 & t$Rec2==input1),output] } m[i,j]=mean(q) m[j,i]=mean(q) m[j,j]=mean(q) }} I already created a
2011 May 26
1
matrix not working
Hello All, I'm trying to create a matrix from a dataframe (let's call it df): ......a......b.....c.....d a inputs output b inputs output c inputs output d inputs output e inputs output The inputs are represented by columns a and b The outputs are represented by columns c and d, but the only outputs are those from column d - some values from column d are
2008 Feb 11
1
The function predict
Good Morning! May you help me? I need to understand the function predict. I need to understand the algorithm implemented, the calculations associated. Where can I find this information? Thank You!
2007 Jun 05
2
.activate() behaviour
Hi all, I''m trying to understand why the following code doesnt work... ---------------------------------------------------------------------------------------- <html> <head> <title>blabla</title> <script type="text/javascript" src="prototype.js"></script> </head> <body> <form action="bllalba">
2011 Jul 05
1
Executing a function several time, how to save the output
Hi all, I try to exceute a function "myfun" that should use as input "input1.csv" and "input2.csv" . Then I try to save the output dat33 on a csv file (on per each time I execute input1..input 2 and so on). So my problem is how to finally obtain several csv file with "ggt1.csv", "ggt2.csv". The program creates ggt1.csv but BUT when runs
2000 Nov 02
1
Pl. provide and Input for var.test (PR#716)
I want to use var.test function of ctest library. I was able to generate the output from R on the input given by rnorm. But when I store the same data set provided by rnorm into a file, and then read a file into a dataframe, then on using the dataframe as a parameter to var.test function - it gives an error "not enough x observations". I'll explain the above mentioned problem of
2012 Aug 27
0
Optimizing a model toward desired outputs once trained?
I didn't get any responses to this question on stats.SE: - http://stats.stackexchange.com/questions/34415/optimization-of-models-ann-radial-basis-etc-in-r-to-target-predictor-levels What I'm looking for, using neuralnet as an example, is how to guide a model toward an output profile once the model is trained. For example: model1 <- neuralnet(formula=out1 ~ intput1 + input2 + input3 +
2000 Nov 02
0
Pl. provide and Input for var.test (PR#719)
I want to use var.test function of ctest library. I was able to generate the output from R on the input given by rnorm. But when I store the same data set provided by rnorm into a file, and then read a file into a dataframe, then on using the dataframe as a parameter to var.test function - it gives an error "not enough x observations". I'll explain the above mentioned problem of
2000 Nov 02
0
Pl. provide and Input for var.test (PR#718)
I want to use var.test function of ctest library. I was able to generate the output from R on the input given by rnorm. But when I store the same data set provided by rnorm into a file, and then read a file into a dataframe, then on using the dataframe as a parameter to var.test function - it gives an error "not enough x observations". I'll explain the above mentioned problem of
2000 Nov 02
0
Pl. provide and Input for var.test (PR#720)
I want to use var.test function of ctest library. I was able to generate the output from R on the input given by rnorm. But when I store the same data set provided by rnorm into a file, and then read a file into a dataframe, then on using the dataframe as a parameter to var.test function - it gives an error "not enough x observations". I'll explain the above mentioned problem of