similar to: anyone has C++ STL classes stability issue if used with R

Displaying 20 results from an estimated 100 matches similar to: "anyone has C++ STL classes stability issue if used with R"

2007 Dec 19
1
FW: cgh package
Hi, I would like some extra information on the 'cgh' package in R. I noticed that there isn't much activity regarding this package on the R and BioC mailing list (I googled it). I started using this package and I have few questions: 1/ As I have a custom tiling like array @8um features resolution (affy), I have a lot of probes to work with. I'm assuming it is correct to
2007 May 22
2
inline C/C++ in R: question and suggestion
This is a question and maybe an announcement. We've been discussing in the group that it would be nice to have a mechanism for something like "inline" C/C++ function calls in R. I do not want to reinvent the wheel, therefore, if something like that already exists, please give me a hint -- I could not find anything. If not, here is a working solution, please criticise so I could
2012 Dec 06
1
Use .Call interface
Hi I've written the following program: #include <R.h> #include <Rdefines.h> #include "Projector.h" SEXP Projector2(SEXP L, SEXP G, SEXP W, SEXP xymod, SEXP modif){ int nprot=0; PROTECT(L=AS_NUMERIC(L));nprot++; PROTECT(G=AS_NUMERIC(G));nprot++; PROTECT(W=AS_NUMERIC(W));nprot++; PROTECT(xymod=AS_INTEGER(xymod));nprot++; PROTECT(modif=AS_NUMERIC(modif));nprot++;
2004 Jun 22
3
[Q] GET_DIM() crash on Windows only
I have the following contrived code in package format. On Solaris and Mac OS X, code runs just fine. On Windows, it crashes the R environment with the "Send Bug Report" dialog. I tried R 1.8.1 (Win2K) and R 1.9 (WinXP) binaries with the same result. PCs otherwise appear properly configured for creating R packages. Anything blatantly wrong? Suggestions? TIA Relevant files from package
2003 May 21
2
moving onto returning a data.frame?
I've been studying some of the code and I'm still a little shakey on the proper method for returning a data.frame from a C function (which is my ultimate goal here). I've started some code that I've "stolen" from the archives and I'm running into crashes, etc. I've been trying to gleen some insight from the src/main/scan.c file and didn't find many comments in
1998 Apr 01
1
line plot with NA
I have the following data: intens<-c(28000,72000,120000,150000,180000,260000,310000) #Td peakcb<-c(1.2,2.5,2.7,3.7,5.6,6.2,6.8) #presses/s peakan<-c(0.5,3.7,5.1,5.8,7.4,NA,8.4) (See why I am using NA? I can work around this problem by using intensityan and intensitycb) Now do a plot of peakan: plot(intensity, peakan, pch=10,type="b") The plot skips the point (260000,NA),
2003 Jun 23
3
FW: S4 classes, creating in C
I am using C code to create an S4 object based on Douglas Bates's example in his lecture notes on <http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slide s.pdf> http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slides .pdf e.g. SEXP La_DGE_dc(SEXP A) { SEXP aa = PROTECT(duplicate(A)); SEXP adims, pivot, val; int
2004 Aug 06
7
(no subject)
Hi, I am the current webmaster at WUML (www.wuml.org) a college radio station. We are looking to purchase a new web cast server which we are planning will run IceCast, but it is a little unclear on the system requirements that IceCast requires. I read somewhere that IceCast can run on as little as a 486 with 32mb of ram but that sounded like those specs were for streaming mp3s saved on that
2007 Oct 05
1
Sklyar's inline package: how to return a list?
Hi, Below I have a mickey-mouse example using Oleg Sklyar's wonderful inline package. The question I have is, how do I return multiple values, say in a list? Inside the C code, I've also calculated 'sum'. How do I return this along with 'res'? Ultimately, I want to return multiple matrix results. Thanks in advance for any code snipplets/advice! Regards, Ken #
2006 Apr 12
1
Cisco 7960 won't dial (sccp)
I'm trying to setup a couple of Cisco 7960's in asterisk. I have asterisk working fine for sip clients, and can call the 7960's just fine, but I can't seem to dial out on them. As soon as I enter the first digit, the phone attempts to dial it without waiting for the rest. I've changed timeout settings, etc but can't seem to get it to work. Any ideas? Asterisk
2001 Dec 14
2
colSums in C
Hi, all! My project today is to write a speedy colSums(), which is a function available in S-Plus to add the columns of a matrix. Here are 4 ways to do it, with the time it took (elapsed, best of 3 trials) in both R and S-Plus: m <- matrix(1, 400, 40000) x1 <- apply(m, 2, sum) ## R=16.55 S=52.39 x2 <- as.vector(rep(1,nrow(m)) %*% m) ## R= 2.39 S= 8.52 x3 <-
2005 Mar 10
1
Single port S0 ISDN card to use in Greece
Hello to all, I'm trying to build a PBX using Asterisk. I have a single BRI ISDN line and I need to connect 4 internal normal phones and a couple of softphones on PC. I have bought a single port Billion S0 card and a TDM400 with 4 FXS modules for the intenal phones. ISDN lines here in Greece terminate to an NT1 terminal called NetMod
2003 Nov 01
2
ipfw2 logging
Dear list! I have a little problem, trying to enable logging of deny rule. I have enabled it via kernel: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=3 It is ipfw2. After that, my inten- tion was to use syslogd and !ipfw *.* /var/log/ipfw.log and newsyslog with /var/log/ipfw.log 600 3 100 * J In rc.conf I have firewall_enable="YES"
2004 Jun 24
0
[SOLVED] GET_DIM() crash on Windows only
Paul Roebuck wrote: >I have the following contrived code in package format. >On Solaris and Mac OS X, code runs just fine. On Windows, >it crashes the R environment with the "Send Bug Report" >dialog. I tried R 1.8.1 (Win2K) and R 1.9 (WinXP) binaries >with the same result. PCs otherwise appear properly >configured for creating R packages. Anything blatantly >wrong?
2008 Apr 02
4
Security issue
Hello, I am trying to convince our IT Manager that R is as safe as possible from IT security point of view - could you point me to something on the web / some reasons for why this is true? I do not think he has a specific concern but does not know the software and would like to understand the security implications. Thanks in advance Best Regards Martin Hanek Actuarial Analyst Glacier
2003 Apr 25
1
Creating objects from values in a "meta" dataframe
I am trying to use a meta data set with information about some repetative analysis that I have to do for a variables measured on multiple occasions. I think the best way to explain the problem is by using a simplified example. So here goes: I have a data frame called "meta" say with the following content: Test Min Max Low High APS 0 40 -10 10 TPP 0 120 -8 8 NOS
2003 May 07
1
[R ] Query : problems with the arithmetic operator "^" wi th function "lme" and "lmList"
Dear Martin, Have you try to create a new variable for age squared, say agesq? If you fit the model using this new variable you should get the coefficients. So your new model is something like height~age+agesq I hope this helps, Saghir > -----Original Message----- > From: MARTIN Ludovic [SMTP:martinl@mathinfo.ens.univ-reims.fr] > Sent: Wednesday, 07 May, 2003 2:02 PM > To:
2010 Feb 18
3
R CMD check: OK in LINUX. Crashes in Windows!
Hi, I have followed the recommended steps for creating a package (rctest). As of now, my goal is simply to understand how various pieces fit together. The package includes: (1) C code with source in sub-directories, compiled to create a static library. (a) There is a single C-struct (dns) a simple 'matrix': {int m; int n; double *d;} (b) C code to create random matrix of a certain size.
2013 Nov 30
0
[fdo] Lista de emails o que mala direta email lista
Lista de emails o que mala direta email lista envio de email compreendendo lista de emails, que ? mala direta envio de email: http://www.maladiretaemails.com todos entendem que email cadastro, ? ben?fico para muitos indiv?duos. newsletter emails de pessoas incluindo lista de emails, enviar emails como fazer mala direta, a inten??o de nosso website. Se voc? est? procurando servidor de email,
2016 Jan 10
3
coerce SEXP type to C++ matrix class and back
Dear all, I am testing a simple C++ function that takes a double matrix as argument and which uses routines provided by the C++ Armadillo package. I am aware of the nice capabilities of Rcpp and RcppArmadillo which helps simplifying a lot and that I have already successfully tested. However, I had a hard time trying to figure out how the coercion from a REALSPX matrix to an arma::mat =