Re: [Rd] Using SVN + SSH on windows

2010-03-27 Thread Dirk Eddelbuettel
On 27 March 2010 at 13:50, Gabor Grothendieck wrote: | The worst part is the 20 minute delay which means that if here is | something wrong and you don't know what it is and need to try various | things via trial and error each try takes 20 minutes so its not | surprising that it can be extremely

Re: [Rd] Getting started with .C

2010-04-12 Thread Dirk Eddelbuettel
On 12 April 2010 at 18:11, Sharpie wrote: | Jeff Brown wrote: | I'm trying to learn to use .C, which lets one invoke compiled C code from | within R. To do that, one has to first get the C code into R as a shared | object, which (I think) means first compiling it (with COMPILE or SHLIB) |

[Rd] R and the Google Summer of Code 2010 -- Please welcome our new students!

2010-04-26 Thread Dirk Eddelbuettel
interface for R, mentored by Dirk Eddelbuettel, Chicago, USA Felix Schoenbrodt, Social Relations Analyses in R, mentored by Stefan Schmukle, Universitaet Muenster, Germany Details about all proposals are on the R Wiki page for the GSoC 2010 at http://rwiki.sciviews.org/doku.php

Re: [Rd] Bug in R -e command

2010-05-07 Thread Dirk Eddelbuettel
On 7 May 2010 at 15:23, Sklyar, Oleg (London) wrote: | Hi all: | | since about a month we encountered a problem with R -e command: spaces | in the command of R -e command are no more tolerated. This same | issue affects 2.11 patched (05-05-2010), 2.10.1, and current devel (at | least the one of

Re: [Rd] where is libRmath.a libRmath.so

2010-05-14 Thread Dirk Eddelbuettel
On 14 May 2010 at 13:52, Dave Lubbers wrote: | | R 2.7.2 - the manual says | configure | make | | Which is what I did. So I did read the manual and followed the directions. | The manual is too terse to get me there. On Debian / Ubuntu, you can also do sudo apt-get install r-mathlib

Re: [Rd] C Interface

2010-06-18 Thread Dirk Eddelbuettel
Michael, You are getting confused in compiler minutia when you could be concentrating on your code. The inline package can help here. Consider the snippet below which loads inline, defines your function body sans headers etc and then uses the magic of inline to compile, link and load your

Re: [Rd] Set the number of threads using openmp with .C

2010-07-10 Thread Dirk Eddelbuettel
Eduardo, On 10 July 2010 at 19:31, Eduardo García wrote: | Hi everybody! Could somebody help me with the following? | | I'm trying to run a simple Hello World code in openmp using .C function. The | C code i have is: | | #include omp.h | #include stdio.h | #include R.h | | void

Re: [Rd] Set the number of threads using openmp with .C

2010-07-10 Thread Dirk Eddelbuettel
On 10 July 2010 at 13:01, Dirk Eddelbuettel wrote: | | Eduardo, | | On 10 July 2010 at 19:31, Eduardo García wrote: | | Hi everybody! Could somebody help me with the following? | | | | I'm trying to run a simple Hello World code in openmp using .C function. The | | C code i have

Re: [Rd] C or Java code generation

2010-08-19 Thread Dirk Eddelbuettel
users of my program. | | | Dirk Eddelbuettel love R/C++ combination. Rinside could be usefull for you. | | http://dirk.eddelbuettel.com/code.html Thanks for the plug. We can definitely embed R inside C++ on operating systems containing an x somewhere in their name. But note that the RInside page

Re: [Rd] C or Java code generation

2010-08-19 Thread Dirk Eddelbuettel
On 19 August 2010 at 17:06, Vyacheslav Karamov wrote: | Dirk Eddelbuettel пишет: | On 19 August 2010 at 13:02, Daniel Cegiełka wrote: | | Is there any posibility to use R without installing? | | | | I mean that I have my own application written in MS Visual C++ and I need | | to use R

Re: [Rd] C or Java code generation

2010-08-20 Thread Dirk Eddelbuettel
as I am concerned a good thing as well. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] C or Java code generation

2010-08-20 Thread Dirk Eddelbuettel
technologies are meant to hide R or permit deployment without it. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Speeding up matrix multiplies

2010-08-24 Thread Dirk Eddelbuettel
| https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] require is to suggests as what is to imports?

2010-08-24 Thread Dirk Eddelbuettel
the running of 'R CMD check' and friends. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] require is to suggests as what is to imports?

2010-08-25 Thread Dirk Eddelbuettel
On 25 August 2010 at 08:06, Prof Brian Ripley wrote: | On Tue, 24 Aug 2010, Dirk Eddelbuettel wrote: | | | On 24 August 2010 at 15:40, Hadley Wickham wrote: | | Hi all, | | | | If a package suggests another package in its description, you can | | check it at runtime with requires. How do

Re: [Rd] Development environment for R extentions on Windows

2010-09-08 Thread Dirk Eddelbuettel
/cygwin/ Those links may by now be stale. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-13 Thread Dirk Eddelbuettel
] if (!file.exists(filename)) q() con - file(filename, rb) bin - readBin(con, raw(), 10) bin - bin[ which(bin != 0d) ] close(con) Sys.sleep(1) con - file(filename, wb) writeBin(bin, con) close(con) Maybe you can use something like this and have the generated file transformed. Dirk -- Dirk

Re: [Rd] Best way to manage configuration for openMP support

2010-09-14 Thread Dirk Eddelbuettel
. With 4.2 you should be fine. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Best way to manage configuration for openMP support

2010-09-14 Thread Dirk Eddelbuettel
could do the same for gcc and strip out major version (4) and minor (0 or | 1) and then complain. With 4.2 you should be fine. | | Dirk | | -- | Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com | | __ | R-devel@r-project.org

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread Dirk Eddelbuettel
the file filtered at the compile stage. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R 2.12.0 alpha/beta/rc warning: spurious or not?

2010-10-08 Thread Dirk Eddelbuettel
a directory build/ inside of my package sources. It is still present with the RC tarball wrapped up last night (r53227). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] R 2.12.0 alpha/beta/rc warning: spurious or not?

2010-10-08 Thread Dirk Eddelbuettel
On 8 October 2010 at 15:11, Martin Morgan wrote: | On 10/08/2010 01:25 PM, Dirk Eddelbuettel wrote: | | With several versions of R 2.12.0 I have been seeing this when running | |R CMD build Rcpp | | from the SVN sources: | |[...] |Transcript written on Rd2.log. |Saving

Re: [Rd] Including data in packages

2010-10-14 Thread Dirk Eddelbuettel
in favour of data/ over inst/data. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] must .Call C functions return SEXP?

2010-10-27 Thread Dirk Eddelbuettel
over to rcpp-devel is you have questions about the Rcpp and inline parts. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] LAPACK libraries improperly linked

2010-11-14 Thread Dirk Eddelbuettel
Burns | | | | -- | R. R. Burns | Physicist (Retired) | Oceanside, CA | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] SEXPs and slots

2010-11-15 Thread Dirk Eddelbuettel
. Dirk and Romain are also churning out the | documentation, so there are lots of examples to learn from. Thanks for the plug and endorsement -- we appreciate it. One correction though: We strive to provide seamless C++ and R integration, not C and R. Dirk -- Dirk Eddelbuettel | e...@debian.org

Re: [Rd] how to store package options over sessions?

2010-11-20 Thread Dirk Eddelbuettel
as file or over sockets and so. And Yoda still rules. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Using RInside in Visual Studio 8.0 VC++.NET Program

2010-11-22 Thread Dirk Eddelbuettel
/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] installing RMySQL (PR#13633)

2010-11-24 Thread Dirk Eddelbuettel
which contains MySQL | database development files and headers. Then, I attempted to install the | RMySQL package again, and there was no error. What was wrong with sudo apt-get install r-cran-rmysql that make you compile locally? Dirk -- Dirk Eddelbuettel | e...@debian.org | http

[Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-02 Thread Dirk Eddelbuettel
was then Rcpp. The code changed a lot, but there is still some pride to be had in an idea living on, even if (as Peter wrote) someone else picks up your ball and runs with it. Regards, Dirk [1] http://cran.r-project.org/src/contrib/Archive/cxxPack/Ancestry/?C=M;O=A -- Dirk Eddelbuettel | e

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-02 Thread Dirk Eddelbuettel
://dirk.eddelbuettel.com/code/rcpp.changelog.html) clearly shows that by November 2009 we were nine releases into it. There are a full 210 lines of changes including 2009-11-18 Dirk Eddelbuettel e...@debian.org * DESCRIPTION: Add Dominick back into Authors per his new request reversing

Re: [Rd] Strange problems with compiling dll

2010-12-03 Thread Dirk Eddelbuettel
. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R with ATLAS avoids Linux cpu affinity

2010-12-06 Thread Dirk Eddelbuettel
(to the more liberal BSD license permitting redistribution). With some luck we will GotoBLAS2 deb packages in future Debian and Ubuntu releases. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org

Re: [Rd] How to specify compiler options when using R CMD SHLIB

2010-12-14 Thread Dirk Eddelbuettel
use ~/.R/Makevars where you can set all variables your in in $RHOME/etc/Makeconf Setting the as environment variables will also work by virtue of make (and that is what the inline package does). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] RPostgreSQL 0.1.7 for Windows 64 causes R.2.12.1 Win64 crash

2011-01-17 Thread Dirk Eddelbuettel
, | | driver - dbDriver(PostgreSQL) | con - dbConnect(driver, dbname=demo, host=192.168.8.1, | user=postgres, password=postgres, port=5432) | | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk

Re: [Rd] R vs. C

2011-01-17 Thread Dirk Eddelbuettel
for. Exactly when that time is depends on a great many things and you have not mentioned a single metric in your question. So I'd start with John's book. Hope this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-21 Thread Dirk Eddelbuettel
) fx() That's self-contained example for inline, using the rgamma sugar function. You need the Rcpp:: prefix or a 'using namespace Rcpp;' when you use that in your own source code. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] [Rcpp-devel] Calling C++ from R

2011-01-22 Thread Dirk Eddelbuettel
On 21 January 2011 at 11:32, Xiaochun Sun wrote: | Many thanks for your reply. Rf_rnorm works very good with me. Glad to hear it helped, and let us know if you have other questions. Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] Dealing with R list objects in C/C++

2011-01-26 Thread Dirk Eddelbuettel
; myRlist; Rcpp::List reslist = R.parseEval(r_code); show(reslist); exit(0); } - -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r

Re: [Rd] dependencies on system packages

2011-02-04 Thread Dirk Eddelbuettel
-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel | | | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Dirk Eddelbuettel
this helps, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R-Forge is dark

2011-02-16 Thread Dirk Eddelbuettel
On 16 February 2011 at 08:00, Dirk Eddelbuettel wrote: | Hoping that it is nothing to permanent, could someone with the power to do so | please give the r-forge machine (or something in the network controlling | access to it) a good shake or reboot ? That appears to have been temporary. http

Re: [Rd] Newbie Rccp module question. Failed to initialize module pointer???

2011-02-17 Thread Dirk Eddelbuettel
will be appreciated. You'd have to sign up there to post. Thanks, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem using F77_CALL(dgemm) in a package

2011-02-20 Thread Dirk Eddelbuettel
and further questions should you have any. Cheers, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem using F77_CALL(dgemm) in a package

2011-02-20 Thread Dirk Eddelbuettel
On 20 February 2011 at 09:50, Dirk Eddelbuettel wrote: | There is of course merit in working through the barebones API but in case you | would consider a higher-level alternative, consider these few lines based on | RcppArmadillo (which end up calling dgemm() for you via R's linkage to the BLAS

Re: [Rd] vignette typesetting issue

2011-03-01 Thread Dirk Eddelbuettel
use tools::texi2dvi() : ifneq (,$(findstring edd,$(whoami))) pdflatex Rcpp-modules.tex pdflatex Rcpp-modules.tex else $(RSCRIPT) -e tools::texi2dvi( 'Rcpp-modules.tex', pdf = TRUE, clean = TRUE ) endif Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Dirk Eddelbuettel
and finalizer functions. But I think that would send you into somewhat uncharted territory, so you probably want to do read Section 8.1 (8.1 Embedding R under Unix-alikes) of Writing R Extension carefully. Best bet may still be to avoid the segfault alltogether if you can. Hope this helps, Dirk -- Dirk

Re: [Rd] R and ATLAS and distributing across boxes

2011-03-10 Thread Dirk Eddelbuettel
etc use is discussed in Appendix A.3 Linear algebra of the R Installation and Administration manual. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [Rd] Run script automatically when package is loaded

2011-03-12 Thread Dirk Eddelbuettel
-- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] [Patch suggestion] Adding 3rd arg to tempfile() to set extension

2011-03-18 Thread Dirk Eddelbuettel
); + SET_STRING_ELT(ans, i, mkChar(tmp1)); + } else { + SET_STRING_ELT(ans, i, mkChar(tm)); + } if(tm) free(tm); } UNPROTECT(1); -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org

Re: [Rd] Testing window for R 2.13.0

2011-03-18 Thread Dirk Eddelbuettel
Road, +44 1865 272866 (PA) | Oxford OX1 3TG, UKFax: +44 1865 272595 | | __ | R-devel@r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http

Re: [Rd] Standalone C++ application for processing R parser output(SEXP)

2011-03-24 Thread Dirk Eddelbuettel
on the standard R parser but organizing the information differently which strikes me as close enough to what you describe. That said, Romain did this for highlight so it may not be relevant. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

Re: [Rd] Rcheck Directory

2011-04-05 Thread Dirk Eddelbuettel
this is now checked for. Warnings are your friends. And, just like good friends, they sometimes go in misterious ways... Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] Problem with dyn.load in R 2.13.0

2011-04-13 Thread Dirk Eddelbuettel
also be a start. Hth, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to get R to compile with PNG support

2011-04-21 Thread Dirk Eddelbuettel
maybe you should revisit the Cairo devices---they allow you plotting without an x11 device (and also give you SVG). Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] FW: [Rcpp-devel] Question on 5.6 Interfacing C++ code

2011-04-21 Thread Dirk Eddelbuettel
/mailman/listinfo/r-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] BOOST libraries

2011-04-21 Thread Dirk Eddelbuettel
, Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to get R to compile with PNG support

2011-04-21 Thread Dirk Eddelbuettel
On 21 April 2011 at 09:51, Karl-Dieter Crisman wrote: | Thanks for your replies, Dirk and Matt. My pleasure. | On Thu, Apr 21, 2011 at 7:49 AM, Dirk Eddelbuettel e...@debian.org wrote: | Random guess: did you connect via ssh without x11 forwarding? | | Almost certainly, yes. (I am

Re: [Rd] Source for bash_completion.d/R?

2011-05-02 Thread Dirk Eddelbuettel
On 2 May 2011 at 11:32, Sharpie wrote: | Hello, I was just tweaking the R build for the Homebrew package manager and I | thought it would be nice to enable bash completion. I noticed that | Debian-based systems install `/etc/bash_completion.d/R` but could not find a | source for this file in the

Re: [Rd] [R] Sweave stops when opening X11 device fails

2011-05-03 Thread Dirk Eddelbuettel
On 3 May 2011 at 13:19, peter dalgaard wrote: | | On May 3, 2011, at 12:35 , Andreas Borg wrote: | | Hi all, | | I am posting this again because I got no reply on r-help. Maybe the devel-list is the right place for this kind of question. | | Actually, not an R problem at all, but try one

Re: [Rd] cerr and cout not working calling c++ from R

2011-05-06 Thread Dirk Eddelbuettel
On 6 May 2011 at 14:21, Sean Robert McGuffee wrote: | Hi, | | Sorry, I just tried posting this but I had it in the wrong format of text, | so this is a cleared format repost: | | I¹m trying to call some of my c++ code from R and seem to be having an issue | with streams, although that¹s just

Re: [Rd] Create and access several instances of a C++ class from R

2011-05-06 Thread Dirk Eddelbuettel
Sören and Carlo, On 6 May 2011 at 19:24, soeren.vo...@uzh.ch wrote: | Hello | | We have a C++ class with several methods that manipulate an object. How is | it possible to create several instances of that class *from R* in the C++ | realm, which can then be accessed via a given name character?

Re: [Rd] cerr and cout not working calling c++ from R

2011-05-06 Thread Dirk Eddelbuettel
: | | On 2011-05-06, at 11:41 AM, Dirk Eddelbuettel wrote: | | | I’m trying to call some of my c++ code from R and seem to be having an | issue | | with streams, although that’s just one obvious sign of something different | | in performance between calling the same function from main in c++ vs

[Rd] Time-machine typo

2011-05-10 Thread Dirk Eddelbuettel
Just noticed this in R 2.13.0, it is also still present in R-devel in SVN: %%% Rd.sty ... Style for printing the R manual %%% Part of the R package, http://www.R-project.org %%% Copyright (C) 2003-20010 The R Foundation ^ Very forward-looking ... Dirk --

Re: [Rd] How to add a welcome message in Package development?

2011-06-10 Thread Dirk Eddelbuettel
On 10 June 2011 at 15:10, Simon Urbanek wrote: | | On Jun 10, 2011, at 2:54 PM, Nipesh Bajaj wrote: | | Dear all, it is my first post in R-devel list, and hope that this is | the right place to ask question related to package development. | | I have created my first package in Windows

Re: [Rd] How to add a welcome message in Package development?

2011-06-10 Thread Dirk Eddelbuettel
On 10 June 2011 at 16:04, Simon Urbanek wrote: | On Jun 10, 2011, at 3:36 PM, Dirk Eddelbuettel wrote: | | That said, you can simply use cat() in .First.lib (if your packages has no namespace) or .onAttach or .onLoad (if your packages has a namespace). | | No, not cat() --- please use

Re: [Rd] Controlling stdin and stdout in an embedded R instance

2011-06-17 Thread Dirk Eddelbuettel
On 16 June 2011 at 18:47, Mike Sonsini wrote: | Hello, | | I am very new to R but my question is with respect to the C API for | working with an embedded R console. I have been able to start and stop | an embedded R console from within a C program as well as use the API to | execute commands

Re: [Rd] [Rcpp-devel] Error using RcppGSL

2011-06-21 Thread Dirk Eddelbuettel
On 21 June 2011 at 09:50, Douglas Bates wrote: | Questions like this would get a faster response on the Rcpp-devel list, to | which I am copying this reply. Quite right. Dropping r-devel now. You need to subscribe to rcpp-devel if you want to post there. | On Jun 21, 2011 6:35 AM, oyvfos

Re: [Rd] Compilation error Mac binary

2011-06-29 Thread Dirk Eddelbuettel
On 29 June 2011 at 14:17, Simon Urbanek wrote: | BTW: the build result is at | | http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/GUTS-00install.html | | so you may want to have a look. I'm not a C++ expert so you may want to ask on the Rcpp list since it appears to be some issue

Re: [Rd] Randomness not due to seed

2011-07-20 Thread Dirk Eddelbuettel
On 20 July 2011 at 18:02, peter dalgaard wrote: | | On Jul 20, 2011, at 15:38 , Dirk Eddelbuettel wrote: | | | On 20 July 2011 at 14:03, Jeroen Ooms wrote: | | I think Bill Dunlap's answer addressed it: the claim appears to be false. | | | | Here is another example where

[Rd] R checks links broken

2011-07-30 Thread Dirk Eddelbuettel
I was about to show the Rcpp build check results to a user when I noticed that the relevant URL http://cran.r-project.org/web/checks/check_results_Rcpp.html currently yields a 404 error. Spot checking for other package yields the same. Looking at http://cran.r-project.org/web/ shows

Re: [Rd] slightly speeding up readChar()

2011-08-04 Thread Dirk Eddelbuettel
On 5 August 2011 at 00:15, Michael Lachmann wrote: | I'm not sure it's really worth bothering with such optimizations, on my machine I get | | No it isn't worth it, you're right. Though 100MB is much smaller than my average file size. But you're right, readChar is quite efficient. When you

Re: [Rd] build 32-bit R on x86_64?

2011-08-09 Thread Dirk Eddelbuettel
Hi Vinh, On 9 August 2011 at 16:40, Vinh Nguyen wrote: | Dear R-Devel, | | I'm using Ubuntu on an x86_64 machine and would like to have both the | 32-bit and 64-bit versions of R built from source. By default, | following the usual build procedures yields 64 bit R. Looking at |

Re: [Rd] build 32-bit R on x86_64?

2011-08-09 Thread Dirk Eddelbuettel
On 9 August 2011 at 21:24, Simon Urbanek wrote: | | On Aug 9, 2011, at 8:12 PM, Dirk Eddelbuettel wrote: | | | Hi Vinh, | | On 9 August 2011 at 16:40, Vinh Nguyen wrote: | | Dear R-Devel, | | | | I'm using Ubuntu on an x86_64 machine and would like to have both the | | 32-bit and 64

Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Dirk Eddelbuettel
On 16 August 2011 at 23:17, Jonathan Malmaud wrote: | Hi, | My R package has files in the 'inst' directory that it needs to reference. How can the R scripts in my package find out the full path to the 'inst' directory after the package is installed, given that different users may have

Re: [Rd] R-loadable dll with minGW-compiled linked library

2011-08-29 Thread Dirk Eddelbuettel
On 30 August 2011 at 02:25, Ilana Lichtenstein wrote: | The tutorials on the web regarding creation of C++ dlls do not discuss | linking to libraries. Well, there are working examples among the 3200+ CRAN packages... | Thus my two questions are: | (1) Does anyone know how to compile a C++

Re: [Rd] Please explain your workflow from R code - package - R code - package

2011-09-09 Thread Dirk Eddelbuettel
On 9 September 2011 at 11:38, Paul Johnson wrote: | Hi, | | I'm asking another one of those questions that would be obvious if I | could watch your work while you do it. | | I'm having trouble understanding the workflow of code and package maintenance. | | Stage 1. Make some R functions in a

Re: [Rd] Saving Rcpp Objects for Future Use

2011-09-09 Thread Dirk Eddelbuettel
Hola, On 9 September 2011 at 16:07, Michael King wrote: | Hello, | | I have recently been doing some research regarding how to successfully save | and load Rcpp Objects ( objects from modules ) for future use, but with | little success. For example, to use the example package (from package |

Re: [Rd] Revision of shell.exec?

2011-09-14 Thread Dirk Eddelbuettel
On 14 September 2011 at 16:22, Simon Urbanek wrote: | | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: | | Hi there, | new idea (at 10 at night). All the emails keep me thinking (btw thanks for all the feedback). | What does this do on linux? | | getOption(pdfviewer) | ### I got this

Re: [Rd] Revision of shell.exec?

2011-09-15 Thread Dirk Eddelbuettel
On 14 September 2011 at 16:56, Simon Urbanek wrote: | | On Sep 14, 2011, at 4:44 PM, Dirk Eddelbuettel wrote: | | | On 14 September 2011 at 16:22, Simon Urbanek wrote: | | | | On Sep 14, 2011, at 4:15 PM, Brian Oney wrote: | | | | Hi there, | | new idea (at 10 at night). All

Re: [Rd] Is it possible to pass a function argument from R to compiled code in C?

2011-09-20 Thread Dirk Eddelbuettel
On 20 September 2011 at 10:26, Alireza Mahani wrote: | I have a function in R that takes another function as argument: | | f - function(g, ...) { #g is expected to be a function | } | | I want to see if there is a way to implement f in C and calling it from R | using .C interface. I know that I

Re: [Rd] inconsolata font for building vignettes with R-devel

2011-09-23 Thread Dirk Eddelbuettel
On 23 September 2011 at 18:03, Ben Bolker wrote: | Just to save someone else a few seconds of googling: when you try to R | CMD check with recent versions of R-devel and you get | | * checking PDF version of manual ... WARNING | LaTeX errors when creating PDF version. | This typically

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

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 ;-) | | See also below. | |[ I broadly share

[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

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 R

[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=22524830framed=y ) This now includes a new Section: gnu-rEverything about

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 r.ted.by...@gmail.com 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

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

[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':

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-inexact -fpic

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../../src/include -I

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] 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] 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

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. | |

[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

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 e...@debian.org wrote: | | (Subject: renamed as thread hijacked from the ParallelR thread --Dirk) | | On 23 April 2009 at 14:44, Gabor Grothendieck wrote: | | Aside from R

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. That

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 RScaLAPACKRcsdp | [9] SDDA SGP alphahull ash | [13] asypowcaMassClass gpclib

  1   2   3   4   5   6   7   8   9   10   >