[Rd] TEXINPUTS and Sweave

2010-10-27 Thread Dominick Samperi
Is there a way to set TEXINPUTS for CRAN builds so that style files shipped with packages can be found if they are not in the working directory? Apparently there is an additional problem under Windows/MikTeX because recent versions of MikTeX ignore TEXINPUTS! Thanks, Dominick [[alternati

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

2010-10-27 Thread Simon Urbanek
On Oct 27, 2010, at 7:43 PM, Andrew Piskorski wrote: > For using R's .Call interface to C functions, all the examples I've > seen have the C function return type SEXP. Why? What does R actually > do with this return type? What happens if I *don't* return a SEXP? > You are breaking the API =

Re: [Rd] Rbuildignore and mercurial

2010-10-27 Thread Hadley Wickham
>  I've changed to Mercurial for my working copies of survival for a number or > resons not relevant to this post.  When I do R CMD check, I get some warnings > about certain files in the .hg directory with odd names.  I've added the > following 2 lines to my .Rbuildignore file without effect > ^

Re: [Rd] Rbuildignore and mercurial

2010-10-27 Thread Gabor Grothendieck
On Wed, Oct 27, 2010 at 10:43 PM, Terry Therneau wrote: >  I've changed to Mercurial for my working copies of survival for a number or > resons not relevant to this post.  When I do R CMD check, I get some warnings > about certain files in the .hg directory with odd names.  I've added the > foll

[Rd] Rbuildignore and mercurial

2010-10-27 Thread Terry Therneau
I've changed to Mercurial for my working copies of survival for a number or resons not relevant to this post. When I do R CMD check, I get some warnings about certain files in the .hg directory with odd names. I've added the following 2 lines to my .Rbuildignore file without effect ^\.hg$ ^\.

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

2010-10-27 Thread Dirk Eddelbuettel
On 27 October 2010 at 19:43, Andrew Piskorski wrote: | For using R's .Call interface to C functions, all the examples I've | seen have the C function return type SEXP. Why? What does R actually | do with this return type? What happens if I *don't* return a SEXP? | | Reason I ask, is I've writt

[Rd] must .Call C functions return SEXP?

2010-10-27 Thread Andrew Piskorski
For using R's .Call interface to C functions, all the examples I've seen have the C function return type SEXP. Why? What does R actually do with this return type? What happens if I *don't* return a SEXP? Reason I ask, is I've written some R code which allocates two long lists, and then calls a

[Rd] Documentation of option 'help.ports' not in help("options")

2010-10-27 Thread Henrik Bengtsson
FYI, the option 'help.ports' is not document under help("options"). Should it? It is documented under help("startDynamicHelp", package="tools"). This is for for R v2.13.0dev and Rv2.12.0. /Henrik __ R-devel@r-project.org mailing list https://stat.et

Re: [Rd] Sections 5.8.1 and 5.8.2 of Writing R Extensions (LinkingTo)

2010-10-27 Thread Dominick Samperi
On Wed, Oct 27, 2010 at 2:43 PM, Simon Urbanek wrote: > > On Oct 27, 2010, at 1:22 PM, Dominick Samperi wrote: > > > Hello, > > > > In Sections 5.8.1 and 5.8.2 of Writing R Extensions the following pattern > is > > suggested > > for getting the path to a file in another package: > > > > PKGB_PATH=

Re: [Rd] R-2.12.0 hangs while loading RGtk2 on FreeBSD

2010-10-27 Thread Rainer Hurling
On 27.10.2010 15:07 (UTC+1), Michael Lawrence wrote: On Sat, Oct 23, 2010 at 2:49 AM, Rainer Hurling mailto:rhur...@gwdg.de>> wrote: On 22.10.2010 22:10 (UTC+1), Rainer Hurling wrote: On 22.10.2010 16:18 (UTC+2), Rainer Hurling wrote: On 22.10.2010 14:57 (UTC+1), Michael L

Re: [Rd] Sections 5.8.1 and 5.8.2 of Writing R Extensions (LinkingTo)

2010-10-27 Thread Simon Urbanek
On Oct 27, 2010, at 1:22 PM, Dominick Samperi wrote: > Hello, > > In Sections 5.8.1 and 5.8.2 of Writing R Extensions the following pattern is > suggested > for getting the path to a file in another package: > > PKGB_PATH=Œecho ‚library(packB); cat(system.file("libs", package="packB"))‚ > \ > |

[Rd] documentation for representation() typo

2010-10-27 Thread Roebuck,Paul L
50c50 < The value of \code{representation} is just the list of arguments --- > The value pf \code{representation} is just the list of arguments, after these have been checked 51c51 < after these have been checked f

Re: [Rd] R-2.12.0 hangs while loading RGtk2 on FreeBSD

2010-10-27 Thread Michael Lawrence
On Sat, Oct 23, 2010 at 2:49 AM, Rainer Hurling wrote: > On 22.10.2010 22:10 (UTC+1), Rainer Hurling wrote: > >> On 22.10.2010 16:18 (UTC+2), Rainer Hurling wrote: >> >>> On 22.10.2010 14:57 (UTC+1), Michael Lawrence wrote: >>> On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling >>>

Re: [Rd] Link to R 2.12.0 patched build for windows

2010-10-27 Thread Duncan Murdoch
On 26/10/2010 7:38 PM, Brian Diggs wrote: On the download page for windows builds of R 2.12.0: http://cran.r-project.org/bin/windows/base/ The link for "r-patched snapshot build" goes to: http://cran.r-project.org/bin/windows/base/rpatched.html which has a link for R-2.11.1 patched. I believ

Re: [Rd] windows 64-bit package build on 32-bit machine

2010-10-27 Thread Simon Urbanek
On Oct 26, 2010, at 11:10 PM, Michael Spiegel wrote: > Hmm. So our package does not have no src/Makefile.win and only an > empty configure.win. We usually build a binary version with R CMD > INSTALL --build. > > R --arch x64 CMD INSTALL --build yields the message "The system cannot > find the