similar to: snow/rmpi using deinompi question

Displaying 20 results from an estimated 4000 matches similar to: "snow/rmpi using deinompi question"

2008 Sep 30
1
prblems changing directory in mpi snow clusters
Dear R Users, I am attempting to use snow with rmpi. My configuration is: - R Version 2.7.2, rmpi - RMPI 0.5-6 - DeinoMPI 1.1.0 - Windows Xp SP2 I can sucessfully create a cluster and execute simple commands but for some reason, I cannot change the working directory in my nodes. > noclusters<-2 > cl <- makeCluster(noclusters, type = "MPI") 2 slaves are spawned
2008 Sep 08
1
cluster/snow question
Dear R Users, I am attempting to use the snow package for clustering. Is there a way to identfy, in the environment of each node, a rank for that node and also, the total size of the cluster ? By way of analogy, I am looking for the functions in snow equivalent to mpi.comm.rank() and mpi.comm.size() from RMPI, in case that makes things clearer. Thanks in advance, Tolga Generally, this
2008 Sep 08
1
RMPI Question
Dear R Users, I have a relatively simple rmpi question. My configation is: - R version 2.7.2 - rmpi 0.5-6 - Deino MPI 1.1.0 - Windows XP SP2 After succesfully spawning slaves, I am trying to assign values to variables in the environment of each slave and run some simple calcs. This appears to fail, as below: my assignment of value "1" to variable "a" appears to come back
2008 Sep 30
0
snow: Problems with cluster
Dear R Users, I have come across a problem with the snow package across two PCs recently. The error message is : "Error in unserialize(node$con) : error reading from connection" I was wondering if anyone else has ever come across this and if there are any suggestions as to what it may mean and how it can be fixed ? Thanks in advance, Tolga Generally, this communication is for
2008 Jun 05
1
Space character introduced bu paste
Dear R-Users, I am trying to use paste to paste the character ' around a character vector. Paste appears to place spaces (" ") around this. Anyway this can be done without the unintended introduction of space characters ? Please see example below. Many thanks, Tolga > charlist<-c("a","b","c") > lapply(charlist, function (y)
2008 Sep 26
2
Does R have an "inverse empirical cumulative distribution" function ?
Dear R Users, Does R have an "inverse empirical cumulative distribution" function, something one can use to invert ecdf ? Thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you
2008 Aug 12
1
Senging commands to the GUI in Windows through a script
Dear R Users, How can I send commands to the R GUI from within a R script in Microsoft Windows ? I am trying to get the windows within the R GUI to Tile after I draw a graph. Thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official
2008 Jun 05
1
Matrix of data frames
Dear R-Users, Is there a way to create a matrix of data frames in R ? I am pulling in data frames from a SQL database into R using RODBC. I would like to pull in a sequence of data frames which are indexed across two dimensions, and store each data frame as an element in a matrix. I did try this: names<-c("foo","bar") years<-c("1y","2y")
2008 Sep 11
0
Error: bad value
Dear R Users, I am getting a strange error, also relayed by Jose Quesada about a year ago. As below, in his message, I get "Error: bad value" to whatever I enter into the R console. My configuration is: - Windows XP SP2 - R 2.7.2 Has this problem been tracked down to a specific package ? I am using the following packages: library(strucchange) library(car) library(lmtest)
2008 Jul 07
2
Sorting a list
Dear R Users, A bit of a simple question, but I could not find the answer thru google ("sorting lists r cran","how can i sort a list r cran") or RSiteSearch... how can I sort a list ? One imagines something like sort.list would do the job, but that's not the one. > foo<-list(a=10,b=2,c=3) > sort.list(foo) Error in sort.list(foo) : 'x' must be atomic
2008 Sep 09
2
Information on the number of CPU's
Dear R Users, I am on Windows XP SP2 platform, using R version 2.7.2 . I was wondering if there is a way to find out, within R, the number of CPU's on my machine ? I would use this information to set the number of nodes in a cluster, depending on the machine. Sys.info() and .Platform do not carry this information. Thanks in advance, Tolga Uzuner Generally, this communication is for
2008 Nov 15
1
Problems with rbind
Dear R Users, A recent update on base packages on my R installation has introduced a problem to my code which did not exist before the update. The offending function is rbind, which fails where it was working just fine before the update. I have two zoo objects, foo and bar, indexed by class Date. foo starts from "2007-10-09" and bar from "2007-10-10". I attempt to pad
2008 Dec 08
1
statistics on "runs" of numbers
Dear R Users, Is there a package or some functionality in R which returns statistics on "runs" of numbers, i.e. series of numbers with similar qualities in a time series ? For example, the number of +ves,-ves, histograms on cumulations in runs, etc. ? Thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not intended as an offer or
2008 Jul 18
2
Landscape mode for pdf
Dear R Users, I would like to get the pdf() command to create graphics in landscape mode, as I am plotting 8 graphs in 2 rows and 4 columns. This is being generated for an a4 printer (so I also use the paper="a4" command). Is there a way I can ask pdf() to generate the document in landscape mode ? Thanks, Tolga Generally, this communication is for informational purposes only and it
2008 Jul 14
1
options() question for displaying numbers in the GUI
Dear R Users, I would like the R GUI to display numbers with comma separators, i.e. 1,000,000.00 instead of 1000000 Is there a flag in option() for this behaviour. A google/RSiteSearch has not revealed anything but perhaps I have missed it. Thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the
2008 May 23
1
Cleaning a time series
Dear R Users, Was wondering if anyone can give me pointers to functionality in R that can help "clean" a time series ? For example, some kind of package/functionality which identifies potential "errors" and takes some action, such as replacement by some suitable value (carry-forward, average of nearest, what have you) and reporting of errors identified. I did search
2008 Jun 27
1
Yule Kendall resistant measure of skewness
Dear R Users, Is anyone aware of a package which calculates the Yule Kendall resistant (to errors,outliers) measure of skewness ? An easy calculation to perform, but was just wondering if a package exists (as the contents of that package would probably include other cool things I would also be interested). Thanks, Tolga Generally, this communication is for informational purposes only and it
2008 Oct 30
2
smooth function advice
Dear R Users, I am looking for a smoothing function with the following characteristics for a time series of data: - at each date, should only use data up to that date (so, right aligned and not centered) - should return a smoothed series of length equal to the original time series: - for a one-day time series, just returns that day - this means the front part of the series will
2008 Jul 18
1
creating names for lists
Dear R Users, How can I create names for lists within a function where the name itself is a function of several variables ? > a<-1 > b<-2 > paste(a,b) [1] "1 2" > foo<-list(paste(a,b)=3) <<<===== DOES NOT WORK Error: unexpected '=' in "foo<-list(paste(a,b)=" > eval(paste(a,b)) [1] "1 2" >
2008 Jun 17
1
Problems with Cochrane-Orcutt procedures
Hi John, Hi Folks/Prof. Fox, I found some code John Fox had written sometime back on the Cochrane-Orcutt and Prais procedures here: https://stat.ethz.ch/pipermail/r-help/2002-January/017774.html I thought I would try it out and get the following errors below. Was wondering if anyone had any immediate opinions why this might be ? The linear model is the object regrCMSlm . Thanks, Tolga