Re: [Rd] AddComment (gram.y)

2008-04-20 Thread Peter Danenberg
> IIRC, because there were always cases where they were attached to > the wrong expression, and we were more or less convinced, there was > no to do it "right" in all cases. Doxygen and Javadoc seem to have solved the problem of comment-object association, implying that it's not generally intracta

Re: [Rd] AddComment (gram.y)

2008-04-20 Thread Peter Danenberg
> They aren't "cannibalized", they are still there, where the source > ref says they are. I was thinking along the lines of using parse() to unambiguously associate a comment block with a code object; sure, srcref() retains them: but that's no different than parsing a text file. If I can't associ

Re: [Rd] swig 1.3.35 & R - is the R wrapper still maintained and of interest?

2008-04-20 Thread Michael Lawrence
On Sun, Apr 20, 2008 at 12:42 PM, Duncan Temple Lang < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Dirk Eddelbuettel wrote: > | Duncan, > | > | On 20 April 2008 at 05:44, Duncan Temple Lang wrote: > | | ~ I've waited to see if there would be posts from othe

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Duncan Murdoch
On 20/04/2008 5:00 PM, Prof Brian Ripley wrote: > On Sun, 20 Apr 2008, Duncan Murdoch wrote: > >> On 20/04/2008 1:21 PM, Prof Brian Ripley wrote: >>> On Sun, 20 Apr 2008, Duncan Murdoch wrote: >>> On 20/04/2008 8:43 AM, Gabor Grothendieck wrote: > There does seem to be some general proble

[Rd] Extending R formulas

2008-04-20 Thread Mathieu Ribatet
Dear list, I'm currently trying to write a new R package to model spatial extremes. In particular, for a model fitting procedure, I'd like to use flexible response surfaces (like linear models, splines, ...) for the parameters of my model. Following this idea, I'd like to allow "a new inte

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Prof Brian Ripley
On Sun, 20 Apr 2008, Duncan Murdoch wrote: > On 20/04/2008 1:21 PM, Prof Brian Ripley wrote: >> On Sun, 20 Apr 2008, Duncan Murdoch wrote: >> >>> On 20/04/2008 8:43 AM, Gabor Grothendieck wrote: There does seem to be some general problem associated with Sweave and graphics when I try it

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Duncan Murdoch
On 20/04/2008 1:21 PM, Prof Brian Ripley wrote: > On Sun, 20 Apr 2008, Duncan Murdoch wrote: > >> On 20/04/2008 8:43 AM, Gabor Grothendieck wrote: >>> There does seem to be some general problem associated with Sweave >>> and graphics when I try it on my Vista system with >>> [1] "R version 2.7.0 R

Re: [Rd] swig 1.3.35 & R - is the R wrapper still maintained and of interest?

2008-04-20 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk Eddelbuettel wrote: | Duncan, | | On 20 April 2008 at 05:44, Duncan Temple Lang wrote: | | ~ I've waited to see if there would be posts from others, but am | | a little surprised to see only your two. It would seem people aren't | | using SWIG

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Prof Brian Ripley
On Sun, 20 Apr 2008, Duncan Murdoch wrote: > On 20/04/2008 8:43 AM, Gabor Grothendieck wrote: >> There does seem to be some general problem associated with Sweave >> and graphics when I try it on my Vista system with >> [1] "R version 2.7.0 RC (2008-04-17 r45367)" There is no evidence whatsoever

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Prof Brian Ripley
On Sun, 20 Apr 2008, Thomas Petzoldt wrote: > Dear Prof. Ripley, > > thank you very much for correcting the treatment of 'extra underscore' that > in fact solved our problem with the Fortran interface on my Ubuntu 7.1 > x86/64, even with g77 3.4.6. I accidentally installed g77 instead of gfortr

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Thomas Petzoldt
Dear Prof. Ripley, thank you very much for correcting the treatment of 'extra underscore' that in fact solved our problem with the Fortran interface on my Ubuntu 7.1 x86/64, even with g77 3.4.6. I accidentally installed g77 instead of gfortran (4.x), sorry for my limited knowledge about that.

Re: [Rd] Java->R functions (or possibly C++ -> R)

2008-04-20 Thread esmail bonakdarian
Hi > Genetic algorithms / evolutionary computing _are_ already available via CRAN, > see eg rgenoud and DEoptim. Wrapping existing ones is also fairly easy; I am > sometimes use PGAPack from R at work (using non-released code) thanks for the pointers to the various packages, I'll check them out.

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Duncan Murdoch
On 20/04/2008 8:43 AM, Gabor Grothendieck wrote: > There does seem to be some general problem associated with Sweave > and graphics when I try it on my Vista system with > [1] "R version 2.7.0 RC (2008-04-17 r45367)" > > Using tradeCosts-article.Rnw from the tradeCosts package: > > setwd(path

Re: [Rd] Java->R functions (or possibly C++ -> R)

2008-04-20 Thread Dirk Eddelbuettel
On 20 April 2008 at 09:22, esmail bonakdarian wrote: | I am trying to implement a simple Genetic Algorithm using some of the | functions of R (such as lm). I am a total newbie with regard to R, but | not programming or GAs. Genetic algorithms / evolutionary computing _are_ already available via C

[Rd] Java->R functions (or possibly C++ -> R)

2008-04-20 Thread esmail bonakdarian
Hello all, I am trying to implement a simple Genetic Algorithm using some of the functions of R (such as lm). I am a total newbie with regard to R, but not programming or GAs. I thought I would have to do this in R but now it seems there are ways to call R functions from Java after all. (C++ woul

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Thibaut Jombart
>> >> Thanks, for code-compilation problems we need that level of detail. >> >> Your problem appears to be that you are mixing gcc4 and g77 (not >> recommended), and g77 does use extra underscores, I believe. I have >> >> /* Define if your Fortran compiler appends an extra_underscore to >> exte

Re: [Rd] package building problem under Windows Vista

2008-04-20 Thread Gabor Grothendieck
There does seem to be some general problem associated with Sweave and graphics when I try it on my Vista system with [1] "R version 2.7.0 RC (2008-04-17 r45367)" Using tradeCosts-article.Rnw from the tradeCosts package: setwd(path.to.tradeCosts-article.Rnw) Sweave("tradeCosts-article.Rnw"

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Peter Dalgaard
Prof Brian Ripley wrote: > On Sun, 20 Apr 2008, Thibaut Jombart wrote: > >> Prof Brian Ripley wrote: >> >>> And your machine is? -- you haven't given the 'at a minimum' >>> information asked for in the posting guide. >>> >>> Neither example is reproducible on my Fedora 8 x86_64 systems (nor >>> i

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Prof Brian Ripley
On Sun, 20 Apr 2008, Thibaut Jombart wrote: Prof Brian Ripley wrote: And your machine is? -- you haven't given the 'at a minimum' information asked for in the posting guide. Neither example is reproducible on my Fedora 8 x86_64 systems (nor in the case of tripack, on CRAN's). It will need

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Thibaut Jombart
Prof Brian Ripley wrote: > And your machine is? -- you haven't given the 'at a minimum' > information asked for in the posting guide. > > Neither example is reproducible on my Fedora 8 x86_64 systems (nor in > the case of tripack, on CRAN's). It will need someone with an > affected system to d

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Prof Brian Ripley
And your machine is? -- you haven't given the 'at a minimum' information asked for in the posting guide. Neither example is reproducible on my Fedora 8 x86_64 systems (nor in the case of tripack, on CRAN's). It will need someone with an affected system to debug this. One possibility is that

Re: [Rd] Fortran underscore problem persists on Linux x86/64 (PR#11206)

2008-04-20 Thread Thibaut Jombart
[EMAIL PROTECTED] wrote: >Full_Name: Thomas Petzoldt >Version: R 2.8.0 devel, svn version 45389 >OS: Linux x86/64 Ubuntu 7.1 >Submission from: (NULL) (217.235.62.12) > > >In contrast to all other tested operating systems a call of Fortran functions >on >Linux x86/64 requires an appended underscor

Re: [Rd] AddComment (gram.y)

2008-04-20 Thread Peter Dalgaard
> >> anyone object to bringing it back? > >> > DM> Yes, I would. > > and so would probably almost everyone in R-core. > We *did* think already back in the last millennium... > and removed them for a good reason > {IIRC, because there were always cases where they were attached > to