Displaying 20 results from an estimated 1000 matches similar to: "snow package"
2008 Dec 31
1
Problem with package SNOW on MacOS X 10.5.5
Hello All,
I can run the "lower level" functions OK, but many of the higher level
(eg. parSApply) functions are generating errors.
When running the example (from the snow help docs) for parApply on
MacOSX 10.5.5, I get the
following error:
cl <- makeSOCKcluster(c("localhost","localhost"))
sum(parApply(cl, matrix(1:100,10), 1, sum))
Error in
2009 May 09
1
Problem with package SNOW on MacOS X 10.5.5
Hi Greg,
I don't know if this is related to your problem, but
I get the same error (on both ubuntu and fedora linux, R 2.9) and just
found a very curious behaviour - snowfall apply functions don't like the
variable name "c".
E.g.:
c<-1
sfLapply(1:10, exp)
issues the same error you had posted, while subsequent
rm("c")
sfLapply(1:10, exp)
runs fine.
Rainer
2011 Mar 09
2
R console Mac
Hi there,
I recently switched to Mac and I wonder if there is any way to get the R
console to autocomplete names of list objects or slots of objects. The
command line version allows to type e.g. list$ and two times the tab
button and then comes up with the names of the list objects. Same for slots of e.g. Eset objects
like eset. Unfortunately this does not work in the Mac R console.
Is there a
2010 Dec 02
1
parLapply - Error in do.call("fun", lapply(args, enquote)) : could not find function "fun"
Hello everybody,
I've got a bit of a problem with parLapply that's left me scratching my head
today. I've tried this in R 2.11 and the 23 bit Revolution R Enterprise and
gotten the same result, OS in question is Windows XP, the package involved
is the snow package.
I've got a list of 20 rain/no rain (1/0) situations for these two stations i
and j, all the items in this list look
2010 Oct 09
2
[LLVMdev] LLVM ERROR: Program used external function 'printd' which could not be resolved!
2010/10/9 António Saragga Seabra <antseabra at gmail.com>:
> I'm on Windows using MinGW...
>
> 2010/10/9 OvermindDL1 <overminddl1 at gmail.com>
>>
>> 2010/10/5 António Saragga Seabra <antseabra at gmail.com>:
>> > Hi
>> >
>> > Thank you for your help! Followed your suggestion closely and changed
>> > the
>> >
2011 May 31
2
correlatation matrix
Hi there,
I wonder if there is a way of efficiently generating a correlation matrix of two expression matrices. I want to correlate miRNA and mRNA expression and used the following code:
##dat.mi miRNA expression matrix, dat.m mRNA expression matrix
nc <- nrow(dat.mi)
cor.mat <- data.frame(rep(NA,nrow(dat.m)))
pval.mat <- data.frame(rep(NA,nrow(dat.m)))
for(i in 1:nc)
{
cr <- vector()
2012 Nov 20
1
parApply computing
I'm using /parApply/() function in "snow" package for parallel computing
(boostrapping repeating calculation), as the follows:
MyBoostrapping <- function( i ){
.....
}
cl <- makeCluster( ncluster, type = "SOCK")
i.circle <- as.matrix( 1:128, , 1)
parApply( cl, i.circle, 1, FUN = MyBoostrapping)
It works.
However, I want to set more than one arguments to
2010 Oct 09
0
[LLVMdev] LLVM ERROR: Program used external function 'printd' which could not be resolved!
Hi,
That seems really simple... just changing the function pointer. But how to
do it for the 'printd' function in the Kaleidoscope example?
An example how to do this would be super-great.
Any help will be much appreciated. Thanks!
On Sat, Oct 9, 2010 at 3:55 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> 2010/10/9 António Saragga Seabra <antseabra at gmail.com>:
2012 Mar 17
1
parApply vs parCapply
I've started to use the parallel package and it works very well speeding
things up. Thank you for making this easy to do.
Should I have expected that parCapply would return a vector
when parApply returns a matrix?
library(parallel)
x <- matrix(rnorm(8), nc = 2)
apply(x, 2, function(y) y)
[,1] [,2]
[1,] -0.9649685 0.91339851
[2,] -1.4313140 0.13457671
[3,] 1.0499248
2009 Jan 02
0
Parallel computing with snow
I've been using parApply() in snow package for parallel computing with
the following lines in R 2.8.1:
library(snow)
nNodes <- 4
cl <- makeCluster(nNodes, type = "SOCK")
fm <- parApply(cl, myData, c(1,2), func1, ...)
Since I have a Mac OS X (version 10.4.11) with two dual-core
processors, I thought that I could run 4 simultaneous clusters.
However with the 1st job
2001 Dec 03
2
Bug in rsyncd 2.5.0 while handling config file string values
I compiled and tried rsync 2.5.0 but could not get the server
running. loadparm.c:string_set() now calls free() which it did not do
in 2.4.6 and this free() tries to free memory that was not allocated
with malloc.
Here is a gdb run (done after adding return before fork() in
become_daemon) which shows where it crashes and what my minimal config
file for demonstrating the bug was. The config file
2012 Jan 07
3
[LLVMdev] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi,
Attached is a patch for compiler-rt to allow it to compile with MinGW-w64
on Windows. Results aren't that bad.
x86 GCC and Clang do everything right, all tests pass.
x86_64 GCC fails a lot of tests. This is 99% sure a codegen issue.
38 - fixunssfti_test (Failed)
74 - fixunsdfti_test (Failed)
x86_64 Clang fails these tests:
2 - udivmodti4_test (SEGFAULT)
6 - fixdfti_test (Failed)
8 -
2010 Apr 09
1
Rsge: recursive parallelization
In principle, I'd like to be able to do something like this:
sge.parLapply(seq(10), function(x) parLapply(seq(x), function(x) x^2))
In practice, however, I have to resort to acrobatics like this:
sge.options(sge.remove.files=FALSE)
sge.options(sge.qsub.options='-cwd -V')
sge.parLapply(seq(10),
function(x) {
sge.options(sge.save.global=TRUE)
2012 Aug 21
1
parLapply fails to detect default cluster?
invoking parLapply without a cluster fails to find a previously
registered cluster
> library(parallel)
> setDefaultCluster(makePSOCKcluster(2))
> parLapply(X=1:2, fun=function(...) {})
Error in cut.default(i, breaks) : invalid number of intervals
This is because in parLapply length(cl) is determined before
defaultCluster(cl) is called. By inspection, this appears to be true of
2005 Dec 02
0
problems with R and snow on a debian box only
(Posted also to debian-user)
In my office network I have access to a debian powerpc server and 2 freebsd
6 servers (actually one of them is my notebook).
Experienced user of the statistical software R, I have now a go at parallel
computation via (r-)pvm and snow under R to enhance the performance of a
heavy duty statistical problem involving many iteration on the calculation
of models.
I moved
2012 Jun 19
0
[LLVMdev] Cast Pointer Address to Functions
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Xin Tong
> Subject: [LLVMdev] Cast Pointer Address to Functions
> I have a function address held in an uint64_t. I would like to cast
> the function address to a function prototype and create a call to the
> function in LLVM. How could I do this ?
This is what works for us:
2001 Oct 14
0
DirectX 8 Library error.
I have written a directdraw program in dx7 that i can get working under
wine.
I have now written a simple directx8 3d program that works under windows
but i am getting these wierd errors under wine.
this is the output from wine -debugmsg +module pro666 I think it is a
problem with the two libraries d3d8.lib and d3dx8.lib as I can see errors
there. Also I notice that these are the two libraries
2012 Jan 07
0
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi Ruben,
> I see I missed some curly braces. I also modified spacing a tiny bit.
Doesn't seem so. E.g. you have:
+ if ( !VirtualQuery(addr, &b, sizeof(b)) )
+ exit(1);
+ if( !VirtualProtect(b.BaseAddress, b.RegionSize,
PAGE_EXECUTE_READWRITE, &b.Protect) )
Add space after "if". Do not put spaces after "(" and before ")". Same
for other
2012 Jan 07
2
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
2012/1/7 Anton Korobeynikov <anton at korobeynikov.info>
> Hi Ruben,
>
> > I see I missed some curly braces. I also modified spacing a tiny bit.
> Doesn't seem so. E.g. you have:
>
> + if ( !VirtualQuery(addr, &b, sizeof(b)) )
> + exit(1);
> + if( !VirtualProtect(b.BaseAddress, b.RegionSize,
> PAGE_EXECUTE_READWRITE, &b.Protect) )
>
2016 Feb 10
5
Question about an error we're now starting to get on LLVM 3.8.0rc2since
+llvm-dev
> On 2016-Feb-09, at 12:54, Harris, Kevin <Kevin.Harris at unisys.com> wrote:
>
> Duncan,
> Kevin Harris here, from Unisys. In our application, generating LLVM IR, we have several instances of code that looks like this:
>
> . . .
> Value* pDS;
> . . .
> auto argIt = pFunc->arg_begin();
>