similar to: installing multicore package

Displaying 20 results from an estimated 4000 matches similar to: "installing multicore package"

2010 Jun 18
2
double integral
Sir, I want to calculate double integral in R. Is there any function to do this? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 May 31
1
getting the column name of a data frame
Sir, I want to store the column name of a data frame as a vector and use the vector to remove a column of the data frame ,if required. Thanks, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 06
2
fitting multinomial logistic regression
Sir, I want to fit a multinomial logistic regression in R.I think mlogit() is the function for doing this. mlogit () is in packege globaltest.But, I can not install this package. I use the following: install.packages("globaltest") Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 04
1
parttioning a matrix corresponding to different levels of y
Sir, I have a problem regarding partitioning a matrix.I state my problem as follows: I have a y vector of length say 1000.Variable y has 4 levels say 0,1,2.Corresponding to each y(response), I have a x-vector(explanatory) as a row of X matrix.Now, I want to partition the X matrix into 3 submatrices say x1,x2,x3 corresponding to each level of y.Is there any function to do this in R or how can I
2010 Jun 10
1
To give column names of a data-frame
Sir, I want to export the results of R in a data frame. So I want to give rownames,columnnames & title to the data-frame.I have applied the following: data.frame(matrix(c(...),nrow=,ncol=),row.names=c("a","b"),col.names=c("c","d"),title="aaa") But, it does not work. Can you help me? Regards, Suman Dhara [[alternative HTML version
2010 Jun 05
1
Prediction in discriminant analysis
Sir, I am working with multiclass discriminant analysis.(say response variable has 3classes).In R, using lda(), I get 2 sets of coefficients for the discriminant function.Now, I want to put a new x-vector(vector of independent variables) and want to check it corresponds to which class of y.Is there any formula for doing this? or how can I do this? Regards, Suman Dhara [[alternative HTML
2010 Jun 16
1
generating samples from multivariate distributions
Sir, I want to draw random from any multivariate disrtibution. Is there any function in R to do this? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 17
1
simulating data from a multivariate dist
Sir, I am working on fitting distribution on multivariate financial data and then simulate observations from that fitted distribution. I use stepAIC.ghyp() function of 'ghyp' library which select the best fitted distribution from generalized hyperbolic distribution class on the given dataset. data(indices) # Multivariate case: aic.mv <- stepAIC.ghyp(indices, dist =
2011 Feb 02
2
multicore + xeon ?
Is there any reason to expect a problem ? i'm running this script on the cluster down the hall: module load R/2.11.0 R library(multicore) fxx<-function(ll) runif(1) mclapply(1:10,fxx) i get: Error in fork() : Unable to fork. less /proc/cpuinfo yields: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU
2010 Jun 10
2
drawing curve
Sir, I have a problem regarding drawing curve.I pose the problem as follows: suppose I have two vectors: x<-c(1:6) y<-c(.01,.09,.08,.03,.001,.02) plot(x,y) It gives me the plotted points.But I want to draw a smooth curve passing througt these points. How can I do this? Thanks & Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Aug 15
1
Moving average in R
Hi, I want to fit moving average trend in R. In google, I see that it is in the package 'TTR'. But, I can't install this package. I have used the following code: >install.packages("TTR") But, it says there is no package called 'TTR'. Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2010 May 31
1
Removing columns from data frame referenced by column index
Can you suggest me any way to remove a column of a data frame by the column number,not by the column name. Thanks, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 16
1
Exporting multiple plots
Sir, I want to export 10, say graphs using 'for' loop. What will be the command and format for exporting multiple plots. Regards, Suman Dhara [[alternative HTML version deleted]]
2010 Jun 23
1
calculating using user provided function
Sir, I'm writing a program in R that requires the user to provide a funtion. On the basis of the user provided function the program will proceed further and give results. Is there any technique in R that allow a user to give his own function and on the basis of that function the program will work. Regards, Suman Dhara [[alternative HTML version deleted]]
2011 Oct 10
5
multicore by(), like mclapply?
dear r experts---Is there a multicore equivalent of by(), just like mclapply() is the multicore equivalent of lapply()? if not, is there a fast way to convert a data.table into a list based on a column that lapply and mclapply can consume? advice appreciated...as always. regards, /iaw ---- Ivo Welch (ivo.welch at gmail.com)
2010 Jan 15
1
Using multicore with an open pdf device results in corrupt pdf (PR#14186)
The attached code produces corrupted pdfs (test2.pdf, test4.pdf and test5.pdf). The resulting pdf depends on how many cores are available on the machine. I don't see why there should be any difference between the pdfs (exept for the timestamp). Doing many operations involving mclapply can increase the size of the resulting pdf by ten times! Thank you for checking this. require(multicore)
2011 Jul 20
4
R on Multicore for Linux
Hi all, I have R installed on a box, which is running on a machine with 16 core and Redhat - Linux. I am handling huge (size of dataset will be 5 GB) dataset. Lets assume that my data is in the form of structured (multiple) logs. I access the data by using all.files(). Since by default basic version of R utilizes single core, the processing of my analysis code is taking too much time. I got to
2011 Oct 16
1
multicore combn
This is a 'rather than re-invent the wheel' post. Has anyone out there re-written combn so that it can be parallelized - with multicore, snow, or otherwise? I have a job that requires large numbers of combinations, and rather than get all of the index values, then crank it through mclapply, I was wondering if there was a way to just do this natively within a function. Just curious.
2010 Aug 12
1
multicore mclapply error
I'm running r 2. on a mac running 10.6.4 and a dual-core macbook pro. I'm having a funny time with multicore. When I run it with 2 cores, mclapply, R borks with the following error. The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
2010 Nov 01
1
multicore package: help
I have matrices as below: a <- matrix(c(1:10, 11, 12), 3,4) aa <- data.frame(a) b <- matrix(c(10:20, 21), 4,3) bb <- data.frame(b) ... and many more matrices. st = list(aa,bb, ..... ) mclapply(st, FUN, mc.cores=6); #this function apply the function to the elements of the list 'aa', 'bb'...etc FUN = function(st) { Is there a way/function to know the index of