[Rd] [SoC] R and Google Summer of Code 2010: Call for Proposals

2010-02-23 Thread Dirk Eddelbuettel
Google Summer of Code 2010 ("GSoC 2010") is starting in a few weeks and now is the time to collect ideas. At this point this is all we need: a list of possible projects which will help the sponsor (ie Google) assess how serious and prepared the R Project is, and how many slots we should get alloc

Re: [Rd] Portability of a C function

2010-02-14 Thread Dirk Eddelbuettel
On 14 February 2010 at 12:58, Christophe Genolini wrote: | Hi the list, | | In a package P1, I write a function f1 in C, potentially an internal | function (not to be called from R). | In a package P2, I write a function f2 in C. The f2 function needs to | use f1 from P1. Is it possible ? Yes.

Re: [Rd] R Startup configuration file

2010-02-12 Thread Dirk Eddelbuettel
On 12 February 2010 at 09:22, Simon Urbanek wrote: | On Feb 12, 2010, at 3:50 , Barry Rowlingson wrote: | | > On Wed, Feb 10, 2010 at 3:06 PM, Barry Rowlingson | > wrote: | > | >> But I agree that writing a saveable options package is the first | >> step | >> - then making that a default in R

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread Dirk Eddelbuettel
Christian, On 10 February 2010 at 22:40, cstrato wrote: | Dear Dirk, | | Thank you for your fast reply. | | I am afraid that a small self-contained example will not solve the | problem, since in this example I would need to add "#include | ", and as you can see from: | https://stat.ethz.ch/pi

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread Dirk Eddelbuettel
Christian, On 10 February 2010 at 22:02, cstrato wrote: | Dear Debian/Ubuntu experts, | | For the second time users of my BioC package reported problems when | trying to compile it on Debian/Ubuntu. | | The error is always the same: "'wcstombs' was not declared in this | scope", see: | https:

Re: [Rd] Stop packages and datasets to be loaded on startup.

2010-01-30 Thread Dirk Eddelbuettel
On 30 January 2010 at 17:08, Guillaume Yziquel wrote: | Hi. | | I would like to know how to start an embedded R session, and avoid | datasets and the standard library packages to be loaded on startup. | | I've been looking at littler's code (so this is partly a question to | Dirk Ed

Re: [Rd] Problem with R math library.

2010-01-28 Thread Dirk Eddelbuettel
On 28 January 2010 at 17:59, Guillaume Yziquel wrote: | Guillaume Yziquel a écrit : | > Dirk Eddelbuettel a écrit : | >> | >> Salut Guilluame, | >> | >> | > val norm_rand : unit -> float | >> | > Random variates from the standard normal distribution. B

Re: [Rd] Problem with R math library. [and a minor bug report]

2010-01-28 Thread Dirk Eddelbuettel
On 28 January 2010 at 14:00, Guillaume Yziquel wrote: | Dirk Eddelbuettel a écrit : | > | > Salut Guilluame, | > | > | > val norm_rand : unit -> float | > | > Random variates from the standard normal distribution. Bug: currently systematically returns -8.7733211690013437

Re: [Rd] Problem with R math library.

2010-01-28 Thread Dirk Eddelbuettel
Salut Guilluame, On 28 January 2010 at 12:38, Guillaume Yziquel wrote: | Hello. | | I've been working on my OCaml-R binding, and I quite pleased to see that | it is functional, though far from being perfect or polished. You can | find the gitweb webpage and the interface documentation at | |

Re: [Rd] Stack smashing in RODBC

2010-01-26 Thread Dirk Eddelbuettel
On 26 January 2010 at 01:23, "Tom \"spot\" Callaway" wrote: | On 01/25/2010 09:14 PM, Dirk Eddelbuettel wrote: | > I cannot replicate this on Debian. The error gets trapped just fine. This may | > be particular to your builds or setup. I don;t see an R error (but of cou

Re: [Rd] Stack smashing in RODBC

2010-01-25 Thread Dirk Eddelbuettel
On 25 January 2010 at 20:48, "Tom \"spot\" Callaway" wrote: | This is R 2.10.1, from Fedora 12 and RODBC 1.3-1 (although 1.3-0 has the | same problem) on i686. | | Originally reported here: | https://bugzilla.redhat.com/show_bug.cgi?id=557953 | | Reproducer and output below: | | [s...@f12.i386

Re: [Rd] R-2.10.1 : There is no make file. (PR#14192)

2010-01-22 Thread Dirk Eddelbuettel
On 22 January 2010 at 15:35, nachiket...@cox.net wrote: | Full_Name: N. Srinivasan | Version: R-2.10.1 | OS: Ubuntu 9.10, 64 bits | Submission from: (NULL) (68.110.238.141) | | ,/configure runs fine. | | But there is no make file mentioned in the INSTALL file. Please specifiy your question more

Re: [Rd] optional package dependency (enhances)

2010-01-20 Thread Dirk Eddelbuettel
A working system exists at http://debian.cran.r-project.org with automated builds (ie automated resolutions of both built-time and run-time dependencies) of over 2000 packages for both 64-bit Linux ("amd64") and 32-bit Linux ("i386") of the Debian 'testing' distribution. Charles and I

Re: [Rd] optional package dependency

2010-01-16 Thread Dirk Eddelbuettel
On 16 January 2010 at 10:53, Ross Boylan wrote: | On Sat, 2010-01-16 at 07:49 -0800, Seth Falcon wrote: | > Package authors | > should be responsible enough to test their codes with and without | > optional features. | It seems unlikely most package authors will have access to a full range | of pl

Re: [Rd] R_PreserveObject, R_ReleaseObject : reference counting needed ?

2010-01-02 Thread Dirk Eddelbuettel
On 2 January 2010 at 16:26, Whit Armstrong wrote: | I still think all these Rcpp projects should come together some day. | Dirk and I talked about combining about two years ago, but "real" work | got it the way. I'll ping you off list for a follow up. Have a look at the SVN archive for Rcpp on R

Re: [Rd] simplifying number of R installations on disk

2009-12-26 Thread Dirk Eddelbuettel
Moreover, one may want to script use of R. And while I use R a lot more on non-Windows systems I do have helper and convenience scripts, PATH settings etc to create packages on Windows. For that I find it a PITA to have to adjust things on each upgrade --- and hence some time ago I stopped accept

Re: [Rd] O(N log N) Kendall Tau

2009-12-13 Thread Dirk Eddelbuettel
On 13 December 2009 at 00:38, David Simcha wrote: | I've noticed that the implementation of Kendall's Tau in R is O(N^2). | The following reference describes how it can be done in O(N log N): | | A Computer Method for Calculating Kendall's Tau with Ungrouped Data | William R. Knight | Journa

Re: [Rd] Which packages in R use C++?

2009-12-10 Thread Dirk Eddelbuettel
On 10 December 2009 at 15:02, Peng Yu wrote: | I want to see some working examples on how to call C++ programs from | R. Could somebody let me know which R packages mainly use C++ rather | than C or Fortran? I am not aware of anyone keeping aggregate statistics. If you would like a simple exam

Re: [Rd] [Fwd: opened symbols in libR.so available.]

2009-11-29 Thread Dirk Eddelbuettel
Two quick comments while I catch up with the email back log from travelling: On 28 November 2009 at 10:50, Guillaume Yziquel wrote: | I've been told that there's an interesting scheme, used by r-base-ra, to It's 'r-base-core-ra' and I mentioned that in off-line email only to show that you can a

Re: [Rd] R_tryEval for OCaml-R.

2009-11-14 Thread Dirk Eddelbuettel
On 14 November 2009 at 16:45, Guillaume Yziquel wrote: | I'm currently working on the OCaml-R binding allowing to call R code | from Objective Caml. | | As Objective Caml is a functional language, I'd like the binding to be | as 'functional' as possible. Specifically, this means that I'd like

Re: [Rd] Makevars, cc files in multiple directories

2009-10-31 Thread Dirk Eddelbuettel
On 29 October 2009 at 11:47, Saptarshi Guha wrote: | Hello, | In the src folder of my R package I have | | a.cc | b.cc | f/g/x.cc | | my Makevars.in has | | all: $(SHLIB) | | upon installing only, a.o and b.o is build and the final dll is | comprised of a.o and b.o | | How can I instruct $(

Re: [Rd] Rscript not returning zero

2009-10-18 Thread Dirk Eddelbuettel
On 18 October 2009 at 06:22, Prof Brian Ripley wrote: | On Sat, 17 Oct 2009, Rodrigo Flores wrote: | > Is there any way to get the Rscript returning zero ? | | Have a successful script | | You have not told us the 'at a minimum' information asked for in the | posting guide, whereas I get (

Re: [Rd] MASS (and class, nnet, spatial) for R 2.10.0 ?

2009-10-15 Thread Dirk Eddelbuettel
On 15 October 2009 at 09:54, Uwe Ligges wrote: | The PACKAGES file in src/contrib also points to the packages in | src/contrib/2.10.0. It is up to Dirk to use the information in PACKAGES | correctly as it is done for the Windows and Mac binaries on CRAN. I am -- which is why I took care of 'eff

Re: [Rd] MASS (and class, nnet, spatial) for R 2.10.0 ?

2009-10-14 Thread Dirk Eddelbuettel
On 14 October 2009 at 18:54, Duncan Murdoch wrote: | On 14/10/2009 6:42 PM, Dirk Eddelbuettel wrote: | > Maybe I missed an announcement somewhere but having started with the usual | > practice of putting R pre-releases into Debian unstable leading up to the | > release of the next R v

[Rd] MASS (and class, nnet, spatial) for R 2.10.0 ?

2009-10-14 Thread Dirk Eddelbuettel
Maybe I missed an announcement somewhere but having started with the usual practice of putting R pre-releases into Debian unstable leading up to the release of the next R version, I now find myself unable to do my daily package maintenance as I only see VR 7.2-49 with its Depends:

Re: [Rd] Setting a mirror "permanently" on R on ubuntu (PR#13995)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:55, lmra...@gmail.com wrote: | Dear all, | | I seem to have many problems as I run R on my ubuntu system. | want to set a mirror so that anytime I use the command "install.packages", | it does not ask me for which mirror to use but go direct. | This is because of the erro

Re: [Rd] rJava downloads but cannot load, when I run R as root (PR#13994)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:40, lmra...@gmail.com wrote: | > library(rJava) | Error in library(rJava) : there is no package called 'rJava' | > install.packages("rJava") | Warning in install.packages("rJava") : | argument 'lib' is missing: using '/usr/local/lib/R/site-library' | --- Please select a

Re: [Rd] installing any package fails using 'install.packages()' (PR#13993)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:25, lmra...@gmail.com wrote: | Dear all, | I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the | command | |sudo apt-get install r-base-dev | | The problem is that I cannot install any package. Huh? This has _nothing_ to do with the error belo

Re: [Rd] Errors in installing package "rJava" on Ubuntu (PR#13992)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 04:15, lmra...@gmail.com wrote: | *Hello, | I have had this serious problem while trying to install package rJava. It is | a requirement by the package JGR and it cannot be downloaded due to the | error indicated below. a) Problems with packages should go to the maintainer,

Re: [Rd] X11 Problems

2009-10-02 Thread Dirk Eddelbuettel
On 2 October 2009 at 11:01, Kay Wanous wrote: | Well, I feel silly - I just hadn't started the x11 server on the machine! That would do it. For completeness, you _can_ get cairo(), x11(), ... to work in batch mode (or from a webserver etc pp) if you use the xvfb server which (on Debian at leas

Re: [Rd] unable to load shared library (Symbol not found: _PQbackendPID)

2009-09-29 Thread Dirk Eddelbuettel
Jeff, On 29 September 2009 at 17:50, Jeff Hamann wrote: | I can't get the RPostgreSQL library to load on OSX and have no idea | where it's going wrong... | | > library( RPostgreSQL ) | Error in dyn.load(file, DLLpath = DLLpath, ...) : |unable to load shared library '/Users/hamannj/Library

Re: [Rd] How do I access class slots from C?

2009-09-29 Thread Dirk Eddelbuettel
-basic-offset: 4; tab-width: 8; -*- // // Another simple example inspired by an r-devel mail by Abhijit Bera // // Copyright (C) 2009 Dirk Eddelbuettel and GPL'ed #include "RInside.h"// for the embedded R via RInside #include "Rcpp.h"

Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Dirk Eddelbuettel
On 17 September 2009 at 11:32, Gabor Grothendieck wrote: | Regarding this from this week: | | 2.10.0 PACKAGE INSTALLATION (Windows) | It is possible to install source packages without Rtools provided they | have no compiled code and no configure.win or cleanup.win script. | | - what are the inst

Re: [Rd] DESCRIPTION/OS_type and OS X

2009-09-12 Thread Dirk Eddelbuettel
On 12 September 2009 at 09:52, Marc Schwartz wrote: | On Sep 12, 2009, at 9:49 AM, Dirk Eddelbuettel wrote: | | > | > R Extensions (Section 1.1.1, and using the 2.9.2 version) says | > | > The optional `OS_type' field specifies the OS(es) for which the | > package is i

[Rd] DESCRIPTION/OS_type and OS X

2009-09-12 Thread Dirk Eddelbuettel
R Extensions (Section 1.1.1, and using the 2.9.2 version) says The optional `OS_type' field specifies the OS(es) for which the package is intended. If present, it should be one of `unix' or `windows', and indicates that the package should only be installed on a platform with `.Platfo

Re: [Rd] Non-GPL packages for R

2009-09-11 Thread Dirk Eddelbuettel
On 11 September 2009 at 17:25, Kurt Hornik wrote: | I thought I had already explained the last time the GPL-only suggestion | came up that this will not happen for CRAN. | | But again: we have invested considerable time into getting the license | specs standardized, and writing code to compute on

Re: [Rd] Non-GPL packages for R

2009-09-11 Thread Dirk Eddelbuettel
On 11 September 2009 at 12:19, Gabor Grothendieck wrote: | One complication is that its possible that a package can use a non-free | component but can also be used without it. The fame package could | be used with fame or without fame for a long time but more recently the | non-fame portion was f

Re: [Rd] Non-GPL packages for R

2009-09-11 Thread Dirk Eddelbuettel
On 11 September 2009 at 16:37, Peter Dalgaard wrote: | who have responded on the list do not necessarily speak for CRAN. In the | final analysis, the maintainers must decide what is maintainable. Fully agreed. As 'maintainers' of cran2deb, Charles and I decided to 'shoot first, ask questions late

Re: [Rd] Non-GPL packages for R

2009-09-10 Thread Dirk Eddelbuettel
On 10 September 2009 at 14:26, Gabor Grothendieck wrote: | The SystemRequirements: field of the DESCRIPTION file normally | lists external dependencies whether free or non-free. Moreover, the (aptly named) field 'License:' in DESCRIPTION is now much more parseable and contains pertinent informati

Re: [Rd] --enable-memory-profiling at configuration (compilation) time?

2009-09-03 Thread Dirk Eddelbuettel
On 3 September 2009 at 13:40, Corrado wrote: | Dear Rfriends, | | what is the option --enable-memory-profiling at configuration (just before build | + install) time? | | I did not find mention of it in the R admin manual (http://cran.r- | project.org/doc/manuals/R-admin.html). Try the 'R Exte

Re: [Rd] How to ship R scripts with R packages ?

2009-09-03 Thread Dirk Eddelbuettel
On 3 September 2009 at 13:47, Romain Francois wrote: | On 09/02/2009 01:13 PM, Duncan Murdoch wrote: | > I think exec is a reasonable place to put the script. If you don't want | > to type that long command above, why not put it in a small function in | > the package? E.g. define | > | > antR <- f

[Rd] Simpler example of embedding R in C++ (Was: Clarifications please.)

2009-08-28 Thread Dirk Eddelbuettel
cat rinside_test2.cpp // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; -*- // // Simple example for the repeated r-devel mails by Abhijit Bera // // Copyright (C) 2009 Dirk Eddelbuettel and GPL'ed #include "RInside.h" // for the embedded R via

Re: [Rd] Clarifications please.

2009-08-27 Thread Dirk Eddelbuettel
Abhijit, On 27 August 2009 at 19:29, Abhijit Bera wrote: | Hi Martin | | Sorry, I made a mistake, I wasn't looking at the syntactic correctness of | your code, I just followed what you suggested. | | Your method is valid when I want to extract data from a class. I was trying | to get data from

Re: [Rd] Package-level access to Rp->R_Quiet ?

2009-08-24 Thread Dirk Eddelbuettel
On 13 August 2009 at 21:53, Dirk Eddelbuettel wrote: | I would like to simulate the effect of the command-line option --quiet from | user-level scripts and startup code. From src/main/CommandLineArgs.c I learn | that Rp->R_Quiet is set, and I see how that is used in main/main.c. | | I would

[Rd] Package-level access to Rp->R_Quiet ?

2009-08-13 Thread Dirk Eddelbuettel
I would like to simulate the effect of the command-line option --quiet from user-level scripts and startup code. From src/main/CommandLineArgs.c I learn that Rp->R_Quiet is set, and I see how that is used in main/main.c. I would use this from code in Rprofile.site. In other words, I want to be s

Re: [Rd] odbcConnectExcel on non-Windows?

2009-08-09 Thread Dirk Eddelbuettel
On 9 August 2009 at 12:04, spencerg wrote: | What should I do regarding code to write an Excel file in a | non-Windows platform? [...] | What would you suggest we do about this? [...] | If there is a better way to handle this, I would like to know. http://cran.r-project.org

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Dirk Eddelbuettel
Mark, Again, sudo apt-get install r-cran-rjava does what you want. We do provide these binaries for a reason. Namely, that it can be hard to tame the system requirements. So why don't you just install the binaries we provide? Dirk -- Three out of two people have difficulties with fra

Re: [Rd] Installation of R_2.9.1 & readline (PR#13805)

2009-07-08 Thread Dirk Eddelbuettel
On 6 July 2009 at 08:50, mb990...@uni-greifswald.de wrote: | Submission from: (NULL) (141.53.34.152) | | | Hello, | when I try to install R by "./configure", I get the following message: | | | . | . | . | configure: error: --with-readline=yes (default) and headers/libs are not | available | .

Re: [Rd] Installing DLL elsewhere than in \libs?

2009-06-29 Thread Dirk Eddelbuettel
Philippe, On 29 June 2009 at 19:59, Philippe Grosjean wrote: | Its a couple of days I am fighting with this problem, and cannot find a | solution. I need to compile a DLL that is not directly used by R, but | must be installed elsewhere (it is indeed part of a Tcl/Tk package). So, | I want to

Re: [Rd] Problem making the manuals (make dvi and make pdf)

2009-06-26 Thread Dirk Eddelbuettel
Hi Roland, On 26 June 2009 at 10:46, Rau, Roland wrote: | Dear all, | | I am trying to compile and install R from sources on Ubuntu GNU/Linux 64 | bit. It usually worked flawlessly for me for more than 4 years (32bit | and 64bit on Mandrake/Mandriva, Suse, Debian, Ubuntu). However, I am | experi

Re: [Rd] cran task view

2009-06-11 Thread Dirk Eddelbuettel
On 11 June 2009 at 14:11, Achim Zeileis wrote: | > Yesterday, I try to look at a CRAN task view on extreme value theory (EVT). | > Does anyone plan to do a CRAN task view on this topic? | | Not that I know of. | | > Packages related to this topic seem to be spread among finance, econometrics

Re: [Rd] Qs on calling R from C

2009-06-06 Thread Dirk Eddelbuettel
On 6 June 2009 at 17:03, Kynn Jones wrote: | Consider the following simple C program: | | /*** hello_r.c ***/ | #include | | SEXP hello() { | return mkString("Hello, world!\n"); | } | | int main(void) { | SEXP x = hello(); | return x == NULL; /* i.e. 0 on success */ | } | | Thi

Re: [Rd] Auto-upgrading a package under Windows ?

2009-05-21 Thread Dirk Eddelbuettel
On 21 May 2009 at 07:11, Prof Brian Ripley wrote: | You would need not to use UseDynLib in the NAMESPACE, but load the DLL | in the .onLoad via library.dynam. Martin Morgan had suggested the same in private mail, and that is indeed the solution: do not load the dynamic library via NAMESPACE, com

Re: [Rd] Auto-upgrading a package under Windows ?

2009-05-20 Thread Dirk Eddelbuettel
On 20 May 2009 at 13:54, Prof Brian Ripley wrote: | On Mon, 18 May 2009, Dirk Eddelbuettel wrote: | | > | > I was trying to be cute with a company-internal package and used | > | >if (Sys.info()["sysname"]=="Windows") { | >update.packages(repos=&

[Rd] Auto-upgrading a package under Windows ?

2009-05-18 Thread Dirk Eddelbuettel
I was trying to be cute with a company-internal package and used if (Sys.info()["sysname"]=="Windows") { update.packages(repos="http://some.where.internal/R";, ask=FALSE) } but that of course fails as the package itself is loaded and cannot be upgraded (as it contains a dll) when

Re: [Rd] R & Java

2009-05-14 Thread Dirk Eddelbuettel
On 14 May 2009 at 16:39, Philippe Lamote wrote: | I'm a (Java) integration architect. | We are currently stuck with SAS but I'd be happy to switch that to R! (of | course ;-). | Now, a big argument for the latter, is that we can integrate it seamlessly | with all our existing (java) apps. | Theref

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-12 Thread Dirk Eddelbuettel
On 12 May 2009 at 22:58, Ben Bolker wrote: | Actually, gdb seems not to want to debug this -- in either the | Debian-magic version or the one I configured/made on my own system, I | get to the View() command and get | | >> View(v) | > [Thread debugging using libthread_db enabled] | > Error whil

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-12 Thread Dirk Eddelbuettel
ethods base | > View(v) | > | *** caught segfault *** | address 0x4, cause 'memory not mapped' | | Possible actions: | 1: abort (with core dump, if enabled) | 2: normal R exit | 3: exit R without saving workspace | 4: exit R saving workspace | Selection: 3 | | Process R exited a

Re: [Rd] View() crashy on Ubuntu 9.04

2009-05-12 Thread Dirk Eddelbuettel
On 12 May 2009 at 19:46, Ben Bolker wrote: | It's my vague impression that View() is workable on Windows and maybe | on MacOS, but on Ubuntu Linux 9.04 (intrepid) it seems completely | unstable. I can reliably crash R by trying to look at a very small, | simple data frame ... | |I was goi

Re: [Rd] set.seed and /dev/random

2009-05-02 Thread Dirk Eddelbuettel
-indented below). Dirk R> library(help=random) Information on package 'random' Description: Package: random Version: 0.2.0 Date: $Date: 2009-01-03 11:45:17 -0600 (Sat, 03 Jan 2009) $ Author:Dirk Eddelbuettel Maintainer:Dirk Eddelb

Re: [Rd] Error in X11() : X11 module cannot be loaded

2009-04-26 Thread Dirk Eddelbuettel
On 24 April 2009 at 04:50, Petr Novak wrote: | Hi, | we are using R installed on several linux computer - mostly debian lenny | and also ubuntu, all 64 bit. Approx.two week ago, I started getting the | following error when I tried to plot(). | | Error in X11() : X11 module cannot be loaded | In a

Re: [Rd] License status of CRAN packages

2009-04-24 Thread Dirk Eddelbuettel
On 24 April 2009 at 10:18, Kjetil Halvorsen wrote: | On Thu, Apr 23, 2009 at 4:59 PM, Ben Goodrich wrote: | | > Dirk Eddelbuettel debian.org> writes: | > > As a non-exhautive list with possible misclassifications, cran2deb | > currently | > > has these packasges as 'ma

Re: [Rd] License status of CRAN packages

2009-04-23 Thread Dirk Eddelbuettel
On 23 April 2009 at 16:35, Gabor Grothendieck wrote: | Of the 31 packages listed: | [1] "BARD" "BayesDA" "CoCo" "ConvCalendar" | [5] "FAiR" "PTAk" "RScaLAPACK""Rcsdp" | [9] "SDDA" "SGP" "alphahull" "ash" | [13] "asypow"

Re: [Rd] License status of CRAN packages

2009-04-23 Thread Dirk Eddelbuettel
On 23 April 2009 at 15:35, Marc Schwartz wrote: | There is a list of acceptable entries that are defined as part of the | specs in R-exts (see page 4). Perhaps this needs to be "tightened" a | bit, at least in so far as packages passing R CMD check for the | purpose of inclusion on CRAN. Tha

Re: [Rd] License status of CRAN packages

2009-04-23 Thread Dirk Eddelbuettel
On 23 April 2009 at 15:32, Gabor Grothendieck wrote: | On Thu, Apr 23, 2009 at 3:08 PM, Dirk Eddelbuettel wrote: | > | > (Subject: renamed as thread hijacked from the ParallelR thread --Dirk) | > | > On 23 April 2009 at 14:44, Gabor Grothendieck wrote: | > | Aside from R there

[Rd] License status of CRAN packages

2009-04-23 Thread Dirk Eddelbuettel
(Subject: renamed as thread hijacked from the ParallelR thread --Dirk) On 23 April 2009 at 14:44, Gabor Grothendieck wrote: | Aside from R there are the add-on packages. | | A frequency table showing the licenses of the CRAN packages indicates | that the all or almost all packages have some so

Re: [Rd] suggestion for R >= 3.0: computer-readable CHANGELOG

2009-04-17 Thread Dirk Eddelbuettel
On 17 April 2009 at 10:36, Duncan Murdoch wrote: | I think it would have to do more than that to be useful. It would need | to warn about a lack of an entry for the current version. Otherwise | package.skeleton would create a blank one, and that would satisfy the | check from then on. | | To

Re: [Rd] suggestion for R >= 3.0: computer-readable CHANGELOG

2009-04-17 Thread Dirk Eddelbuettel
Salut Romain, On 17 April 2009 at 16:36, Romain Francois wrote: | I agree with the usefulness of having this available, but there is | absolutely no way people are going to log such information in a | systematic fashion. In the other hand, if you have version 1 and version There is: you gentl

Re: [Rd] suggestion for R >= 3.0: computer-readable CHANGELOG

2009-04-17 Thread Dirk Eddelbuettel
On 17 April 2009 at 09:05, Duncan Murdoch wrote: | That would be a waste of time. People don't use the package | documentation schemes that are in place; why would they use a new one? Because of scattered documentation and lack of best practices? Many things are possible with R and packages,

Re: [Rd] How can I catch errors thrown from c via the Rcpp error() function?

2009-04-15 Thread Dirk Eddelbuettel
Kieran, On 15 April 2009 at 18:03, Kieran O'Neill wrote: | I am using the flowClust package from BioConductor, which is largely | implemented in c. For some of my data, the package occasionally (and | quite stochastically) encounters a particular condition which halts its | operation. At this

Re: [Rd] Problem cross-compiling on Ubuntu

2009-04-14 Thread Dirk Eddelbuettel
Harry, On 14 April 2009 at 18:24, Harry Southworth wrote: | I'm using Ubuntu 8.10 (Intrepid Ibex) and R 2.7.1. ^^^ [ You can also get R 2.8.1 for free, see the R FAQ and search Ubuntu, or go directly to http://cran.r-project.org/bin/linux/ubuntu

Re: [Rd] R-alpha/R-beta builds on Alpha platform failing with compiler error

2009-04-07 Thread Dirk Eddelbuettel
On 4 April 2009 at 16:34, Dirk Eddelbuettel wrote: | On 4 April 2009 at 23:21, Peter Dalgaard wrote: | | Dirk Eddelbuettel wrote: | | > Per https://buildd.debian.org/build.php?pkg=r-base, we see the Alpha platform | | > having trouble with deriv.c : | | > | | > gcc -I. -I../..

Re: [Rd] R-alpha/R-beta builds on Alpha platform failing with compiler error

2009-04-04 Thread Dirk Eddelbuettel
On 4 April 2009 at 23:21, Peter Dalgaard wrote: | Dirk Eddelbuettel wrote: | > Per https://buildd.debian.org/build.php?pkg=r-base, we see the Alpha platform | > having trouble with deriv.c : | > | > gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -mieee-with-i

[Rd] R-alpha/R-beta builds on Alpha platform failing with compiler error

2009-04-04 Thread Dirk Eddelbuettel
Per https://buildd.debian.org/build.php?pkg=r-base, we see the Alpha platform having trouble with deriv.c : gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -mieee-with-inexact -fpic -std=gnu99 -O3 -pipe -g -c deriv.c -o deriv.o deriv.c: In function 'simplify': deriv.c:267

Re: [Rd] Wishlist: optional svn-revision number tag in package DESCRIPTION file

2009-03-31 Thread Dirk Eddelbuettel
On 31 March 2009 at 12:58, Duncan Murdoch wrote: | On 3/31/2009 10:41 AM, Peter Ruckdeschel wrote: | > Could we have one (or maybe more) standardized optional tag(s) | > for package DESCRIPTION files to cover svn revision info? | > This would be very useful for bug reporting... Indeed. I am doing

Re: [Rd] R thread safe

2009-03-18 Thread Dirk Eddelbuettel
On 18 March 2009 at 09:56, hadley wickham wrote: | On Wed, Mar 18, 2009 at 9:11 AM, Ted Byers wrote: | > 1) What multicore package? I didn't know there was one, and would be | > interested in seeing what it does. | | http://tinyurl.com/cudqqf | | ;) Readers of the CRANberries RSS feed knew ab

[Rd] [OT] Debian now has a new section 'gnu-r'

2009-03-15 Thread Dirk Eddelbuettel
Joerg Jaspert, one of the ftpmasters / archive maintainers within Debian, today posted a new list of 'Sections' to debian-devel-announce (see eg here http://www.nabble.com/forum/ViewPost.jtp?post=22524830&framed=y ) This now includes a new Section: gnu-rEverything about G

Re: [Rd] Conversion and rounding of POSIXct

2009-03-15 Thread Dirk Eddelbuettel
Stavros, Two really quick comments: a) you need to enable sub-second print formats b) AFAIK pre-epoch times are second-class citizens R> options("digits.secs"=6) ## print with 6 digits for microseconds R> t0 <- as.POSIXct('1974-01-05 23:59:59.1') R> t0 [1] "1974-01-05 23:59:59.1 CST"

[Rd] [SoC09-Idea] RQuantLib

2009-03-10 Thread Dirk Eddelbuettel
RQuantLib -- Bridging R and QuantLib Mentor: Dirk Eddelbuettel Summary: The goal of this Summer of Code project is to a) extend the coverage of QuantLib [1] code available to R by adding more wrapper functions to RQuantLib [2], and to b) provide additional functionality to

Re: [Rd] Google Summer of Code 2009

2009-02-19 Thread Dirk Eddelbuettel
On 20 February 2009 at 12:06, Friedrich Leisch wrote: | >>>>> On Thu, 19 Feb 2009 10:52:19 -0600, | >>>>> Dirk Eddelbuettel (DE) wrote: | | > [ Cool how nobody cared about Fritz' request not to post ideas yet :) ] | | Well, I kind of expected that ;

Re: [Rd] Google Summer of Code 2009

2009-02-19 Thread Dirk Eddelbuettel
[ Cool how nobody cared about Fritz' request not to post ideas yet :) ] [ I broadly share Oleg's "wouldn't it be nice to have better plot devices" wish. But I don't think it is a three-month summer target, and it's not on the side of things Fritz / Manuel prefer as it is infrastructure rath

Re: [Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-31 Thread Dirk Eddelbuettel
Hi Peter, On 31 January 2009 at 16:55, Peter Dalgaard wrote: | Not really (and you know where to find the sources...). Yes, and I had dug through that in the past for littler and other embedding work. I was just wondering if I had missed any documentation, besides the few lines about --slave fr

Re: [Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-31 Thread Dirk Eddelbuettel
Hi Seth, Thanks for the follow-up. On 31 January 2009 at 06:59, Seth Falcon wrote: | * On 2009-01-30 at 22:38 -0600 Dirk Eddelbuettel wrote: | > Turns out, as so often, that there was a regular bug lurking which is now | > fixed in RDieHarder 0.1.1. But I still would like to understand e

Re: [Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-30 Thread Dirk Eddelbuettel
On 28 January 2009 at 22:26, Dirk Eddelbuettel wrote: | | RDieHarder fails its regression tests on x86_64 (aka "amd64") at CRAN (using | Debian), and I see the same on Ubuntu 8.10 in 64 bit. No issues on 32bit. | | One odd thing is that the program behaves well if run via | | R

[Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-28 Thread Dirk Eddelbuettel
RDieHarder fails its regression tests on x86_64 (aka "amd64") at CRAN (using Debian), and I see the same on Ubuntu 8.10 in 64 bit. No issues on 32bit. One odd thing is that the program behaves well if run via R --no-save < tests/RDieHarder.R but NOT when started using R --slave < tes

Re: [Rd] R as a scripting engine

2009-01-13 Thread Dirk Eddelbuettel
Just to bore everyone but Simon and me to tears, here is 'fair' timing2.sh variant using an r version that does not autoload(). e...@ron:/tmp$ ./timing3.sh --- our r calling summary() 20 times real0m3.375s user0m3.100s sys 0m0.268s --- GNU R's Rscript calling summary() 20 times r

Re: [Rd] R as a scripting engine

2009-01-13 Thread Dirk Eddelbuettel
Hi Simon, On 13 January 2009 at 12:36, Simon Urbanek wrote: | Oh, well, now that the post count is growing I guess I have to | respond ;). | | On Jan 11, 2009, at 15:50 , Dirk Eddelbuettel wrote: | | > | > On 11 January 2009 at 20:18, Prof Brian Ripley wrote: | > | Those of you t

Re: [Rd] R as a scripting engine

2009-01-11 Thread Dirk Eddelbuettel
On 11 January 2009 at 20:18, Prof Brian Ripley wrote: | Those of you tracking R development will have noticed that we are | moving towards using R as a scripting engine. [...] | Reasons: | | - it is platform-independent and needs no other tools installed. [...] | - it is fast. [...] Indeed. I

Re: [Rd] package development

2008-12-14 Thread Dirk Eddelbuettel
On 12 December 2008 at 11:05, Paul Gilbert wrote: | Yes, there are several options for not distributing tests. I was | thinking more about how to distribute them with a simple mechanism for | anyone to run them, but in a way that they are not run by the usual R | CMD check. One scheme I quite

[Rd] R 2.8.1 ?

2008-12-06 Thread Dirk Eddelbuettel
Duncan's 'R changes' feed at http://developer.r-project.org/blosxom.cgi/R-devel showed a steady flow of bugfixes and patches in 2.8.0 yet http://developer.r-project.org/ is silent on the topic. Is there any expectation of a point release before 2.9.0 rolls around in April?

Re: [Rd] Turning off compiler optimization

2008-11-20 Thread Dirk Eddelbuettel
On 20 November 2008 at 15:25, Michael Braun wrote: | Hi. I am writing some code in C that I would like to link into R. | | My Makevars file is: | | PKG_CPPFLAGS=-I/usr/local/include | PKG_LIBS=-L/usr/local/lib -lgsl | PKG_CFLAGS = -Wall -O0 -g -p -pg | | The source file is core.c,. and I am co

Re: [Rd] Fwd: Fwd: SWIG with R and C++ STL

2008-11-16 Thread Dirk Eddelbuettel
I don't know about your examples from section 5.4.9 of the swig manual, but the very basic SWIG example I have played with still works: [EMAIL PROTECTED]:~/src/progs/swig/R> cat example.c /* File : example.c */ double My_variable = 3.0; /* Compute factorial of n */ int fact(int n) {

Re: [Rd] (PR#13288) Bug#505698: r-base-core: dev2bitmap fails with gsexe related error

2008-11-14 Thread Dirk Eddelbuettel
On 14 November 2008 at 14:37, Prof Brian Ripley wrote: | >From the NEWS for R-patched | | odev2bitmap() failed in 2.8.0 if 'taa' and 'gaa' were both NA. | | so this was already fixed. Thanks, will mark the bug as pending for Debian. Dirk -- Three out of two people have difficult

Re: [Rd] HAVE_BZLIB_H not set

2008-10-26 Thread Dirk Eddelbuettel
On 26 October 2008 at 12:02, "Tom \"spot\" Callaway" wrote: | When building 2.8.0 this morning for Fedora, I noticed that it was | building the included bzlib2 source and using it rather than the system | bzip2 libraries and headers. I tracked down the reason to this section | of configure: | | c

Re: [Rd] Dynamic linking to binary code from other packages??

2008-10-25 Thread Dirk Eddelbuettel
On 25 October 2008 at 16:05, Charles Danko wrote: | Dear R-devel, | | I am writing a package that needs some C++ functions from an external | SDK (Affymetrix fusion). The same functions are already compiled into | another package (affxparser). | | Can I dynamically link to the compiled code in

Re: [Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is

2008-10-18 Thread Dirk Eddelbuettel
Another one that would be nice to have is [EMAIL PROTECTED]:~/svn/rcpp> grep "\.so" /etc/R/Makeconf DYLIB_EXT = .so SHLIB_EXT = .so in order to copy with OS X extensions programmatically in Makefiles. But I guess I could also source Makeconf explicitly. At least the Matrix package does that.

[Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is

2008-10-16 Thread Dirk Eddelbuettel
On Debian / Ubuntu / ... we have [1] [EMAIL PROTECTED]:~> R CMD config --cppflags -I/usr/share/R/include [EMAIL PROTECTED]:~> but I seem to have no way to learn 'just' the /usr/share/R/include part from R CMD config. It would be nice if something like R CMD

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
On 14 October 2008 at 07:27, Dirk Eddelbuettel wrote: | | On 14 October 2008 at 12:38, Prof Brian Ripley wrote: | | The error is on installed.packages(): you have a faulty package installed. | | Confirmed. That explains why my update.r from littler worked as it looked | only at /usr/local/lib/R

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
/library") boot : Version 1.2-33 installed in /usr/lib/R/library Version 1.2-34 available at http://cran.r-project.org Update (y/N/c)? n [...] > But how do I find out which package this is, and why did R 2.7.2 didn't fall over? Dirk | | On Tue, 14 Oct 2008, Dirk Eddelbuettel

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
On 14 October 2008 at 10:09, Prof Brian Ripley wrote: | On Tue, 14 Oct 2008, Peter Dalgaard wrote: | | > [EMAIL PROTECTED] wrote: | >> On 14 October 2008 at 09:39, Simon Blomberg wrote: | >> | Hi, is anyone else getting this error? Could this be a bug?: | >> | | > update.packages(ask=FALSE) | >>

<    3   4   5   6   7   8   9   10   >