similar to: dll problem with C++ function

Displaying 20 results from an estimated 2000 matches similar to: "dll problem with C++ function"

2011 Apr 21
2
combining matrices
Heja, I hope someone is still there to help me: How can I somehow merge/combine matrices to get such a result: Matrix A A B x1 1 0 x2 1 1 Matrix B C D x3 1 0 x4 0 1 Resulting Matrix? A B C D x1 1 0 0 0 x2 1 1 0 0 x3 0 0 1 0 x4 0 0 0 1 Does anyone see this probably obvious solution with R how to do this? Sorry if this question is silly...it's too hot here to think properly ;O)
2009 Jul 02
1
MCMC/Bayesian framework in R?
Dear R-users (and developers), I am looking for an efficient framework to carry out parameter estimations based on MCMC (optionally with specified priors). My goal is as follow: * take ANY R-function returning a likelihood-value (this function may itself call external programmes or other code!) * run a sampler that covers the multidimensional parameter space (thus creating a posterior
2008 Apr 23
2
Transport endpoint is not connected
Hi, I want to share a partition of an external disk between 3 machines. It is located on a Sun StoreTek 3510 and bound (via multipathing) to all 3 machines. One machine (say mach1) is the node I used to create the filesystem and setup /etc/ocfs2/cluster.conf. I copied the file to the other 2 machines. All use the same /etc/multipath.conf[1], too. All start /etc/init.d/ocfs2 at boot, all are
2007 Jan 09
2
posthoc tests with ANCOVA
dear all, I want to perform a posthoc test for my ANCOVA: a1<-aov(seeds~treatment*length) With summary(glht(a1, linfct = mcp(treatment = "Tukey"))) R tells me: "covariate interactions found -- please choose appropriate contrast" How do I build these contrasts? Ideally, I would like to have the posthoc test for the ANCOVA including a block-effect
2013 Oct 11
6
puppet class if
Hello, I created puppet class and I want the file operation to be executed on all servers but not on server with hostname "''server1.domain.com". I tried this class, but it does not work. Is there any other way? Thanks class test { if $hostname != ''server1.domain.com'' { file { "/etc/ntp.conf": owner
2008 Oct 25
0
increase symbol size in expression - axis label of a plot
Heja, It took me a while to find a way of implementing normal text as subscripted text in a expression followed by another expression and more subscripted text :O) It looks now as this: ylab=expression(Delta^"+"~""[paste("my subscripted text")]~">"~Delta^"+"~""[paste("my subscripted text")]) I use several par commands
2008 Oct 09
1
stack or dissolve matrix without double entries
Heja, I've some bigger distance-matrices like this: num [1:3231, 1:3231] 0.000 0.176 0.176 0.176 0.176 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:3231] "A" "B" "C" "D" ... ..$ : chr [1:3231] A" "B" "C" "D" . I actually want to convert them into a 2 column dataframe like this: data.frame':
2013 Apr 02
0
PhD position in the field of combining Hyperspectral and Radar (L-Band) Remote Sensing of Vegetation
The Helmholtz Alliance of Earth System Dynamics aims at the development of innovative remote sensing products based on the newest satellite missions. The focus here is on quantifying dynamic processes within the bio-, hydro-, geo- and cryosphere to monitor and understand environmental change on a global scale. The Alliance will be the nucleus within an innovative network of more than 60
2011 Nov 23
1
How to explain interaction variable in Linear regression?
Hello everyone, Recently, I faced a problem on explanatory of *Interaction variable* in Linear Regression, could anyone give me some help on how to explain that? the response variable Y is significantly correlated with *Interaction variable X* which is consisted of Continuous predictor A and Categorical predictor B. The Categorical predictor B has two factors B1 (value=1) and B2 (value=0). The
2008 Dec 18
4
autologistic modelling in R
Hi, I have spatially autocorrelated data (with a binary response variable and continuous predictor variables). I believe I need to do an autologistic model, does anyone know a method for doing this in R? Many thanks C Bell
2011 Feb 18
1
How to fsck.ocfs2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, simple question: how can I execute a "fsck.ocfs2 /dev/sdf"? All I get is - ---snip--- myhost:~ # fsck.ocfs2 /dev/sdf fsck.ocfs2 1.4.3 Checking OCFS2 filesystem in /dev/sdf: Label: SAP01 UUID: 5969C8CABB854F8EA9C17B5B8DE48EC6 Number of blocks: 183500800 Block size: 4096 Number of
2013 Jun 12
4
certificate problem
When I try to connect to my new puppet master, I get an error because of a self-signed certificate: ---snip--- # puppet agent --test --noop Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA:
2003 Feb 19
1
RODBC problems
Hello, I successfully used RODBC very frequently, but after having updatetd to R 6.0.2, the current RODBC-Version gives me some problems. After connecting to my Oracle-Database via odbcConnect("") (or the necessary information) I receive a much longer output than usual: RODB Connection 0 Details: case=nochange DRIVER={Oracle in OraHome90} ... with all the details. Previously,
2018 Feb 12
2
[parallel] fixes load balancing of parLapplyLB
Dear R-Devel List, **TL;DR:** The function **parLapplyLB** of the parallel package has [reportedly][1] (see also attached RRD output) not been doing its job, i.e. not actually balancing the load. My colleague Dirk Sarpe and I found the cause of the problem and we also have a patch to fix it (attached). A similar fix has also been provided [here][2]. [1]:
2002 Jul 17
5
R crashes when using "xyplot" (PR#1801)
Full_Name: Carsten Dormann Version: 1.4.0 OS: Windows 2000 Submission from: (NULL) (192.171.129.9) Hello, using the function xyplot I repeatedly had R crashing. One example is from the book of Mick Crawley (Stat. Computing in Splus), where the commandline reads: xyplot(Weight~Age|Genotype, pch=16) I also had the same phenomenon with my own data and commands even simpler. I reinstalled
2010 Sep 03
3
S4 Method Signatures
Hello, If the signature of a method defines which generic it implements then I'm confused about why this minimal example I invented won't work : setGeneric("myFun", function(rs, ...){standardGeneric("myFun")}) setGeneric("myFun", function(cs, ...){standardGeneric("myFun")}) setMethod("myFun", "numeric", function(rs, colour =
2006 Feb 02
2
How to get the namespace of a function?
I declared the environment of the function myfun to be NULL as follows: environment(myfun) <- NULL Later on I called that myfun and got an error message because the function index() in the zoo package was called inside myfun and was not visible: Error in myfun(args) : couldn't find function "index" I tried to use zoo::index() instead of index(), but that did not work. In fact,
2011 Feb 02
1
pass nrow(x) to dots in function(x){plot(x,...)}
Dear Rers, I have a function to barplot() a matrix, eg myfun <- function(x, ...) { barplot(x , ... )} (The real function is more complicated, it does things to the matrix first.) So I can do: m1 <- matrix(1:20,4) myfun(m1) myfun(m1, main="My title") I'd like to be able to add the number of rows of the matrix passed to the function to the "..." argument, eg
2009 Jun 12
1
how to trigger variable creation?
Hello R users, i'm wondering how to trigger variable creation. Whenever a variable is created i want my own function myFun(...) to be started. if (exists("x")) {rm(x)} # after removal of x # any of these calls x<-10 # should call myFun x=10 # should call myFun assign(x,10) # should call myFun etc.
2018 Feb 26
2
[parallel] fixes load balancing of parLapplyLB
Dear Christian and Henrik, thank you for spotting the problem and suggestions for a fix. We'll probably add a chunk.size argument to parLapplyLB and parLapply to follow OpenMP terminology, which has already been an inspiration for the present code (parLapply already implements static scheduling via internal function staticClusterApply, yet with a fixed chunk size; parLapplyLB already