Re: [Rd] Viewing pdfs from inst/doc

2009-09-05 Thread Romain Francois
On 09/04/2009 11:58 PM, Barry Rowlingson wrote: On Fri, Sep 4, 2009 at 10:44 PM, rudjerrkoen...@uiuc.edu wrote: Writing R extensions says: In addition to the help files in Rd format, R packages allow the inclusion of documents in arbitrary other formats. The standard location for these is

[Rd] Unexpected behaviour of next line in gdb

2009-09-05 Thread pleydell
I compile some C code using R CMD SHLIB buggyCode.c --ggdb --O0 I thought the -O0 flag would avoid gdb ~ optimisation problems. But each time I step through the code in gdb using n (next line) the executed line order is not as expected (looks more like a random walk around the expected next

[Rd] returned value of R_tryEval

2009-09-05 Thread Romain Francois
Hello, At the moment, R-tryEval (src/main/context.c) : SEXP R_tryEval(SEXP e, SEXP env, int *ErrorOccurred) would set ErrorOccurred to 1 and return NULL when an error occurs during the evaluation of e within env, so to know that an error occured, we can just look at the ErrorOccured value

Re: [Rd] Unexpected behaviour of next line in gdb

2009-09-05 Thread pleydell
Looking through the archives I found this thread http://tolstoy.newcastle.edu.au/R/e4/devel/08/02/0347.html and so I tried MAKEFLAGS=CFLAGS=-g -O R CMD SHLIB ... and this worked great. __ R-devel@r-project.org mailing list

Re: [Rd] asking for suggestions: interface for a C++ class

2009-09-05 Thread Jay Emerson
Yuri, Based on your brief description, we have already done this with bigmemory, and the ff package does something very similar but with emphasis on a wide range of atomic data types and data frame. Unless you are planning something different from what's been done before, you shouldn't waste

Re: [Rd] Load a package without installing it

2009-09-05 Thread Hadley Wickham
On Sat, Sep 5, 2009 at 6:15 AM, Andrew Piskorskia...@piskorski.com wrote: On Fri, Sep 04, 2009 at 08:39:12AM -0500, Hadley Wickham wrote: When developing a package, it's often useful to be able to reload it, without re-installing, re-starting R and re-loading. Why would you ever need to

Re: [Rd] Dependencies of packages' CHECK....

2009-09-05 Thread Uwe Ligges
Allen S. Rout wrote: On Sep 2, 2009, at 2:53 , Allen S. Rout wrote: I'm working to automate the building of RPM packages for CRAN c. In the process, I'm trying to get a sense of the correct dependencies. [...] In other words, to check properly, I need to treat Suggests and Imports as

Re: [Rd] Viewing pdfs from inst/doc

2009-09-05 Thread rudjer
Thanks Romain and Barry for help with this. I've written a faux.vignette function somewhat along the lines of Romain's suggestion. Roger Koenker -- View this message in context: http://www.nabble.com/Viewing-pdfs-from-inst-doc-tp25302477p25310670.html Sent from the R devel mailing list

[Rd] Running two R instances at the same time

2009-09-05 Thread Peter Juhasz
Reposting from R-help: Dear R experts, please excuse me for writing to the mailing list without subscribing. I have a somewhat urgent problem that relates to R. I have to process large amounts of data with R - I'm in an international collaboration and the data processing protocol is fixed, that

Re: [Rd] Running two R instances at the same time

2009-09-05 Thread Simon Urbanek
On Sep 5, 2009, at 2:31 PM, Peter Juhasz wrote: Reposting from R-help: Dear R experts, please excuse me for writing to the mailing list without subscribing. I have a somewhat urgent problem that relates to R. I have to process large amounts of data with R - I'm in an international