similar to: returning vectors of unknown size from C (with .C)

Displaying 20 results from an estimated 5000 matches similar to: "returning vectors of unknown size from C (with .C)"

2008 Feb 29
1
using zlib (was compress data on read, decompress on write)
Dear All, I think I am confused about how I'd be able to use zlib starting with R 2.7.0. I just downloaded the latest development version, built it, etc, but I am not able to find the zlib.h that, I believe, R should place somewhere under "where/you/want/R/to/go" (from --prefix=/where/you/want/R/to/go). There seem to be entry points for zlib in the binary (e.g., grep -r gzopen ./
2007 Apr 07
2
Rserve and R to R communication
Dear All, The "clients.txt" file of the latest Rserve package, by Simon Urbanek, says, regarding its R client, "(...) a simple R client, i.e. it allows you to connect to Rserve from R itself. It is very simple and limited, because Rserve was not primarily meant for R-to-R communication (there are better ways to do that), but it is useful for quick interactive connection to an
2008 Feb 28
2
compress data on read, decompress on write
Dear All, I'd like to be able to have R store (in a list component) a compressed data set, and then write it out uncompressed. gzcon and gzfile work in exactly the opposite direction. What would be a good way to handle this? Details: ---------- We have a package that uses C; part of the C output is a large sparse matrix. This is never manipulated directly by R, but always by the C code.
2008 May 19
1
using zlib in a package: problems in windows
Dear All, I am having trouble getting an R package to build and install correctly under Windows. In this package, which builds and checks OK under Linux, I use zlib (among other functions, gzprintf). As mentioned by Prof. Ripley a while back, the file "CHANGES" under src/gnuwin32 says explains that to, to use zlib, one has to set $(ZLIB_LIBS) in PKG_LIBS. I have a Makefile.win with
2008 Mar 05
1
R_alloc with structures with "flexible array members"
Dear All, In a package, I want to use some C code where I am using a structure (as the basic element of a linked list) with flexible array members. Basically, this is a structure where the last component is an incomplete array type (e.g., Harbison & Steel, "C, a reference manual, 5th ed.", p. 159) such as: struct Sequence { struct Sequence *next; int len; unsigned int
2010 Feb 12
1
validate (rms package) using step instead of fastbw
Dear All, For logistic regression models: is it possible to use validate (rms package) to compute bias-corrected AUC, but have variable selection with AIC use step (or stepAIC, from MASS), instead of fastbw? More details: I've been using the validate function (in the rms package, by Frank Harrell) to obtain, among other things, bootstrap bias-corrected estimates of the AUC, when variable
2006 Jan 09
0
Looking for packages to do Feature Selection and Classifi cation
Hi, You should also check my msc.features.select from caMassClass package. It has feature selection algorithm that I found useful in case of mass-spectra data. It performs individual feature selection and/or removes highly correlated neighbor features. Jarek -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] Sent: Friday, January
2009 Nov 27
0
multicore: defunct R processes left
Dear All, At least in three different GNU/Linux systems, the parallel function from the multicore package leaves defunct (zombie) R processes. For instance library(multicore) parallel(1:5) collect() After collect, the child process (with pid as given by collect) is left defunct. (If we run the last two lines of code again, the previously defunct process will be replaced by the new defunct
2010 Oct 11
0
OT: snow socket clusters with VirtualBox and VMware player (Linux host, Win guest)
Dear All, I am trying to create socket clusters (using snow and snowfall) with a Windows OS. I am running Windows inside VirtualBox and VMware player (i.e., Windows is guest) from a Debian Linux host system (I've tried in two different Linux systems, an AMD x86-64 workstation and an Intel i686 laptop). However, almost always seting up the cluster fails: either R will hang forever or I will
2005 Dec 12
1
dendrogram: how to obtain leaf height
Dear All, How can the height of a leaf be extracted from a dendrogram? Sure, I can print it, but I am not able to, say, store it in an object. I think I understand that the height is a property of the split, not the leaf itself, but the printing functions display a "height" or "h" (which changes with "hang") and that is what I want. Obviously, the info is there
2016 Mar 22
1
bzlib, pcre and zlib still needed in rules?
Dear All, I just apt-get source r-base-core and noticed that file "rules" under ./r-base-3.2.4-revised/debian contains (lines 277 to 279) --with-system-bzlib \ --with-system-pcre \ --with-system-zlib \ I wonder if these are still necessary and, in fact, when building R alpha (specifically, R-alpha_2016-03-21_r70361.tar.gz) I get a warning saying that those options are not
2007 Jan 05
5
eval(parse(text vs. get when accessing a function
Dear All, I've read Thomas Lumley's fortune "If the answer is parse() you should usually rethink the question.". But I am not sure it that also applies (and why) to other situations (Lumley's comment http://tolstoy.newcastle.edu.au/R/help/05/02/12204.html was in reply to accessing a list). Suppose I have similarly called functions, except for a postfix. E.g. f.1 <-
2015 Dec 30
2
URW Fonts Description in Installation and Administration Manual
On Wed, 30-12-2015, at 12:44, Dirk Eddelbuettel <edd at debian.org> wrote: > On 30 December 2015 at 05:00, Dario Strbenac wrote: > | Good day, > | > | In section A.2, the manual advises "Linux users will want the urw-fonts package". However, this package only seems to be available for RedHat Linux and Fedora Linux. What about for Debian or Ubuntu ? There is no
2005 May 05
1
building from source after installing binary package
Dear All, I've got into the habit of installing R from the precompiled Debian binaries, including many of the packages from the r-cran-* Debian packages, and later building from source (e.g., to link against Goto's BLAS, or to build patched versions, etc). I install the newly built R to the very same place (/usr/lib/R). This allows me to build and update R when I wish, AND provides the
2013 Dec 28
1
make check fails with default libblas
Dear All, Summary: ======== To test some packages, I want to build R-3.1.0 (current R devel). However, when I use the default libblas, make check fails with running code in 'reg-BLAS.R' ...make[3]: *** [reg-BLAS.Rout] Error 1 It does not fail, however, if I use libatlas3 or libopenblas. The same thing happens with the current R patched. I've google around and cannot find
2015 Dec 31
1
URW Fonts Description in Installation and Administration Manual
On Wed, 30-12-2015, at 21:08, Dirk Eddelbuettel <edd at debian.org> wrote: > On 30 December 2015 at 20:07, Ramon Diaz-Uriarte wrote: > | > | > | > | On Wed, 30-12-2015, at 12:44, Dirk Eddelbuettel <edd at debian.org> wrote: > | > On 30 December 2015 at 05:00, Dario Strbenac wrote: > | > | Good day, > | > | > | > | In section A.2, the manual
2017 Jul 03
1
/etc/R/Renviron doesn't set R_LIBS_USER anymore
On Mon, 03-07-2017, at 12:18:36, Dirk Eddelbuettel <edd at debian.org> wrote: > On 3 July 2017 at 13:05, Ramon Diaz-Uriarte wrote: > | If I might chime in, I'd like to add my vote to the "users should be able > | to use install.packages and should be able to install bioconductor > | packages with biocLite". > | > | Longer story > | ============ > | >
2017 Jan 17
0
postdoctoral position in Computational Biology/Statistics/Evolutionary Biology in Madrid, Spain
Dear All, A 1-year postdoctoral position in Computational Biology/Bioinformatics/Evol. Biology/Statistics is available in Madrid, Spain. Brief description: Simulation and analysis of evolutionary processes in cancer. Requirements: - Postdoc younger than 30 years. - Be registered as resident ("estar empadronado") in Madrid, Spain, since 08-August-2016. - Be registed in the
2017 Jul 03
2
/etc/R/Renviron doesn't set R_LIBS_USER anymore
On Mon, 03-07-2017, at 07:58:41, Dirk Eddelbuettel <edd at debian.org> wrote: > On 2 July 2017 at 23:24, Kirill M?ller wrote: > | On 02.07.2017 22:01, Dirk Eddelbuettel wrote: > | > On 2 July 2017 at 21:39, Kirill M?ller wrote: > | > | Hi > | > | > | > | An upgrade to R 3.4.1 on Ubuntu removed the default setting of > | > | R_LIBS_USER in /etc/R/Renviron.
2005 May 06
1
building from source after installing Debian packages
(Apologies for double posting; I sent this to r-help and was suggested that I ask here which I should probable have done to begin with). *************** Dear All, I've got into the habit of installing R from the precompiled Debian binaries, including many of the packages from the r-cran-* Debian packages, and later building from source (e.g., to link against Goto's BLAS, or to build