Re: [Rd] Compiling R on Linux with SunStudio 12.1: wide-character type problems

2010-02-23 Thread Martyn Plummer
Russ, This is a known issue with Sun Studio on Linux and was fixed by Brian Ripley in January. If you download R-patched.tar.gz from here: ftp://ftp.stat.math.ethz.ch/Software/R/ then it should work for you. Martyn On Mon, 2010-02-22 at 13:11 -0600, rt wrote: I am trying to compile R on

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Duncan Murdoch
On 22/02/2010 10:15 PM, Gabor Grothendieck wrote: As you mention ease of debugging basically precludes subfunctions so style 1 is left. I think you are also unaware of setBreakpoint() (and trace(), which underlies it). So more detail: If you put this into file test.R, starting on line 1:

Re: [Rd] Compiling R on Linux with SunStudio 12.1: wide-character type problems (rt)

2010-02-23 Thread rt
Thank you Martyn, I am one step closer. Using R-patched, configure was successful. However, make exited with an error. Configure summary: Installation directory:/usr/local C compiler:/opt/sun/sunstudio12.1/bin/suncc -g -O -xc99 -xlibmil -m32 -xlibmieee -nofstore

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Mark Kimpel
I'm going to suggest something that is probably not the coolest thing to do, but it gets me by with almost all my debugging. I set options(error=recover) and then in the function I want to debug I put some unassigned variable name on the first line (example: ThisIsMyDebuggingVariable). Then I will

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Ben
Thanks to everyone for the responses so far. I didn't know about setBreakpoint, mlocal, or proto before. I think I'll try using proto a lot more and see if that fixes most of my problems. It appeals to me for two bad reasons: I had run across proto when reading the code to ggplot2 earlier but

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Duncan Murdoch
On 23/02/2010 9:35 PM, Ben wrote: Thanks to everyone for the responses so far. I didn't know about setBreakpoint, mlocal, or proto before. I think I'll try using proto a lot more and see if that fixes most of my problems. It appeals to me for two bad reasons: I had run across proto when

Re: [Rd] Best style to organize code, namespaces

2010-02-23 Thread Gabor Grothendieck
That's quite nice. I see you did post about it last September when it was added to the devel version of R: http://www.mail-archive.com/r-devel@r-project.org/msg17708.html Relative to this discussion what would be useful would be a facility that debugs not only a function but also all embedded

[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

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

2010-02-23 Thread hadley wickham
So let us all start now by proposing some ideas for 2010.  It may make sense to centralize and standardize this on wiki.r-project.org but until we have that process sorted out lets just post ideas here on r-devel with a [SoC] tag in the Subject: line. One idea per email? Hadley --

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

2010-02-23 Thread Dirk Eddelbuettel
On 23 February 2010 at 22:06, hadley wickham wrote: | So let us all start now by proposing some ideas for 2010.  It may make sense | to centralize and standardize this on wiki.r-project.org but until we have | that process sorted out lets just post ideas here on r-devel with a [SoC] tag | in