similar to: R_qsort_int_I() error

Displaying 20 results from an estimated 1100 matches similar to: "R_qsort_int_I() error"

2004 Feb 28
2
matrix inverse in C
Hi, I'm writing an R package using the C code i've written. I'm wondering if anyone knows an easy way to calculate an inverse and cholesky factor of a matrix using the Fortran/C library of R: and how to call them from C. My code is based on the Numerical Reciepe code, and I'm trying to use something that is already in R. Thanks for your help in advance, Kosuke
2004 Apr 24
1
determinant via Lapack
Hi, What Lapack routine(s) should I use to calculate the determinant of a symmetric matrix of real numbers? I would appreciate any guidance on this issue. Thanks, Kosuke --------------------------------------------------------- Kosuke Imai Office: Corwin Hall 041 Assistant Professor Phone: 609-258-6601 (Direct) Department of Politics Fax: 609-258-1110 (Department)
2012 Jan 27
2
The following code (using rgamma) hangs
Hi, I'm seeing something that may be a bug in R's standalone math library, which is packaged by Debian as r-mathlib. I reported it to the Debian BTS as http://bugs.debian.org/657573 I'm using Debian squeeze, and the code was tested with r-mathlib 2.11.1-6 (default on stable) and 2.14.1-1 (from testing/unstable). I summarize this report below. The following code with the R math
2004 Apr 14
1
question about /nmath/standalone
Hello, I can't link a c code with Mathlib according to introduction of R manual "Writing R Extensions", page 60. It is written : "It is possible to build Mathlib, the R set of mathematical functions documented in 'Rmath.h?, as a standalone library 'libRmath? under Unix and Windows. (This includes the functions documented in Section 5.7 [Numerical analysis
2006 Mar 02
1
calling R's library using C
Hi, Thanks, everyone for all the help! So, here is my calling function in C (called test.c): #include<stdio.h> #include<stdlib.h> #include<Rmath.h> int main(void) { printf("%f \n",pchisq(2.,7., 1, 0)); printf("%f \n",pnchisq(2.,7.,0., 1, 0)); return EXIT_SUCCESS; } I compile using: gcc test.c -I/usr/lib/R/include
2002 Jan 14
1
trouble using R Mathlib as standalone
Dear People, I am trying to use R's Math library as standalone, as documented in /src/nmath/standalone. I am using C++ in Debian testing, and the versions are as follows: ii g++-3.0 3.0.3-1 The GNU C++ compiler. ii r-mathlib 1.4.0-1 `GNU S' - Standalone R math library I have a file (rand.cc) as follows. I don't think that lattice.hh or mh.hh are very
2004 Apr 14
2
again question about nmath/standalone
Hello, I forgot to tell you that I am using Linux OS. And I can?t find directory "src/nmath/standalone". I will send you the test code I am using and the whole operation process. [credsim at confsys ~/src]$ gcc test1.c -o test1 -lRmath test1.c: In function `main': test1.c:18: warning: assignment makes pointer from integer without a cast test1.c:19: warning: assignment makes
2004 Jun 22
1
R mathlib
Hello, dear R experts! I run R on Debian 'sarge' platform. There is 'r-mathlib' package in Debian distribution, which is described as: $ dpkg --status r-mathlib ... This packages provides the libRmath shared and static libraries which can be called from standalone C or C++ code. Well, I use runif() function in test_runif.c: #include <Rmath.h> main() { // ...
2004 Dec 22
0
eco 1.0-1 released
Hi all, We would like to announce the release of our software, which is now available through CRAN. ===================================================================== eco: R Package for Fitting Bayesian Models of Ecological Inference in 2 by 2 Tables Abstract: eco is a publicly available R package that fits parametric and nonparametric Bayesian models for ecological inference in 2 by 2
2004 Dec 22
0
eco 1.0-1 released
Hi all, We would like to announce the release of our software, which is now available through CRAN. ===================================================================== eco: R Package for Fitting Bayesian Models of Ecological Inference in 2 by 2 Tables Abstract: eco is a publicly available R package that fits parametric and nonparametric Bayesian models for ecological inference in 2 by 2
2006 Mar 03
1
Fwd: Re: calling R's library using C
Sorry, forgot to switch the header to the R group.... --- Globe Trotter <itsme_410 at yahoo.com> wrote: > Date: Thu, 2 Mar 2006 19:35:21 -0800 (PST) > From: Globe Trotter <itsme_410 at yahoo.com> > Subject: Re: [R] calling R's library using C > To: Dirk Eddelbuettel <edd at debian.org> > > Hi, Dirk: > > Thanks for all the help. I thought I would
2004 Apr 22
2
Urgent:again question about nmath/standalone
Hello, all, I have the same question as the last mail I sent. I have installed libRmath in my system. But I still can not link Rmath through -lRmath. The whole process is as follow.Is there anybody who is so kind to help me find out the problem? I will appreciate very much. [credsim at confsys ~]$ cd /usr/lib [credsim at confsys lib]$ ls -l libR* -rw------- 1 bcdesai bcdesai 237828 Apr
2005 Aug 11
1
include C functions from nmath in my own C functions
Hi: I followed the README in src/nmath/standalone/ to make the use the command "make shared" to make the libRmath.so file. I also add the directories containg libRmath.so to LD_LIBRARY_PATH by using command "export D_LIBRARY_PATH=$LD_LIBRARY_PATH:$/home/zhliu/Backup/R-2.0.1/src/nmath/standalon e " However, when I try to run the following codes by the command
2007 May 31
1
Problems when linking to R shared library
Folks, I'm fairly sure that I'm doing something stupid, but I'm getting a few really strange results from *some* of the distributions, but by no means all, when I link directly to the R shared library. I've tried this on both Windows with the precompiled Mingw binary of R-2.5.0 (compiling my code with MinGW-3.4.2), and by building R-2.5.0 on Mandriva Linux with gcc-3.4.4 and
2005 Jul 13
1
problems with MNP
Hi all, Does anybody have a hint on what may be going wrong in this R code? I mimic the sample code from the MNP developers but I seem unable to get the choice specific variables right. Thanks, Joan Serra > rm(list=ls()) > library(foreign) > small<-read.spss("small.sav") Warning message: small.sav: Unrecognized record type 7, subtype 13 encountered in system file. >
2006 Dec 18
1
Rmath: R libraries from C on Mac OS X
Dear R-experts, I have been having trouble using R's standalone random number generators from C on my Mac OS X 10.4.8 system. I try to compile my C program in the following way: gcc -Wall -o helloMac helloMac.c -lm -lRmath I get the following error: /usr/bin/ld: can't locate file for: -lRmath I am unable to locate Rmath on my machine. The problem appears to be that no libRmath.a was
2004 Mar 30
2
RAqua and gcc
Hi, I've recently purchased PowerBookG4 (panther) and installed RAqua 1.8.1. I also installed gcc version 3.3 through Xcode tools. But, for some reason, I'm having a hard time getting gcc work with R. For example, I get the following error while installing Hmisc package. I would appreciate any suggestion to fix this problem. Thanks Kosuke * Installing *source* package
2003 Dec 14
1
compile error with C code and standalone R math C library
Dear People, I just went back to an old piece of C code. On trying to compile it with the R math standalone C library I got the following error. Can anyone enlighten me what I am doing wrong, if anything? C file (rr-sa.c) follows. I'm on Debian sarge. I'm running R version 1.8.1. Gcc is version 3.3.1. Thanks in advance. Faheem.
2010 Jul 11
0
New package "list" for analyzing list survey experiments
Dear all, Kosuke Imai and I announce the new package "list," which is now available on CRAN. list: Multivariate Statistical Analysis for the Item Count Technique List allows researchers to conduct multivariate statistical analyses with data from the item count technique for sensitive survey questions. This survey methodology, also known as the list experiment or the unmatched count
2010 Jul 11
0
New package "list" for analyzing list survey experiments
Dear all, Kosuke Imai and I announce the new package "list," which is now available on CRAN. list: Multivariate Statistical Analysis for the Item Count Technique List allows researchers to conduct multivariate statistical analyses with data from the item count technique for sensitive survey questions. This survey methodology, also known as the list experiment or the unmatched count