Re: [Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Prof Brian Ripley
You are correct: there is no reason to assume that the F90 compiler can link C++ nor that the C++ compiler can link F90, and in general they cannot. Quite a few systems have a different vendor's F9x compiler (including say g95 vs gcc3 and SunPro F9x vs gcc4). Even in a pure gcc4 scenario, eac

Re: [Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Steve Guerrero
Sorry I was a little stingy with details. I'm building a very simple package on linux with R 2.7.1 no configure script or homemade makefiles. my src directory has two files: src/foo.cpp src/bar.f90 I run "R CMD install myproject " which runs fine, no errors, and produces a shared library i.e

Re: [Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Duncan Murdoch
On 09/01/2009 4:04 PM, Steve Guerrero wrote: I'm trying to build a package which has both gfortran and c++ code. In my installation of R, the R CMD INSTALL process compiles each c++ and gfortran code with the correct compiler, but performs the link step with "gfortran" and this creates undefin

Re: [Rd] NY Times article

2009-01-09 Thread Kevin R. Coombes
Hi Nicholas, You raise a very good point. As an R user (who develops a couple of packages for our own local use), I sometimes find myself cringing in anticipation of a new R (or BioConductor) release. In my perception (which is almost certainly exaggerated, but that's why I emphasize that it

Re: [Rd] NY Times article

2009-01-09 Thread Nicholas Lewin-Koh
Hi, Kudos, nice exposure, but to make this more appropriate to R-devel I would just like to make a small comment about the point made by the SAS executive about getting on an airplane yada yada ... 1) It would seem to me that R has certification documents 2) anyone designing airplanes, analyzing c

Re: [Rd] (PR#13440) [R 2.8.1 on AIX 5.3] WARNING: tiffio.h: present but cannot be

2009-01-09 Thread Prof Brian Ripley
Why is this a bug in R? I am afraid autoconf is pointing int the wrong place: you need to report this to your OS support, as it is an OS problem. On Fri, 9 Jan 2009, loris.benn...@fu-berlin.de wrote: Dear r-bugs, With AIX 5.3 and OBJECT_MODE=64 CC="xlc -q64" CXX="g++ -

[Rd] [R 2.8.1 on AIX 5.3] WARNING: tiffio.h: present but cannot be (PR#13440)

2009-01-09 Thread loris . bennett
Dear r-bugs, With AIX 5.3 and OBJECT_MODE=64 CC="xlc -q64" CXX="g++ -maix64" and ./configure --without-iconv --enable-R-shlib the following warning occurs: configure: WARNING: tiffio.h: present but cannot be compiled configure: WARNING

[Rd] forcing the use of the c++ linker with c++ and fortran sources

2009-01-09 Thread Steve Guerrero
I'm trying to build a package which has both gfortran and c++ code. In my installation of R, the R CMD INSTALL process compiles each c++ and gfortran code with the correct compiler, but performs the link step with "gfortran" and this creates undefined symbols at load time. How does one overr

Re: [Rd] Firefox 3 and HTML Search

2009-01-09 Thread Marc Schwartz
on 01/09/2009 10:59 AM Duncan Murdoch wrote: > I finally upgraded to Firefox 3.05 from 2.x, and now I can reproduce a > bug a colleague has been complaining about but which I hadn't been able > to reproduce before. In Windows, set Firefox as the default browser. > Then in Rgui (seems to affect all

Re: [Rd] Firefox 3 and HTML Search

2009-01-09 Thread Prof Brian Ripley
Hmm, from NEWS o help.search() has new argument 'searchEngine' to go directly to the search form: this is needed by users of Firefox 3 to workaround a bug in interpreting the search results pages. and CHANGES (2.7.2) o Rgui has a new menu item 'Html search pa

[Rd] Firefox 3 and HTML Search

2009-01-09 Thread Duncan Murdoch
I finally upgraded to Firefox 3.05 from 2.x, and now I can reproduce a bug a colleague has been complaining about but which I hadn't been able to reproduce before. In Windows, set Firefox as the default browser. Then in Rgui (seems to affect all versions up to R-devel), use the menu to open HT

[Rd] Sending an interrupt signal to an embedded R

2009-01-09 Thread Laurent Gautier
Dear List, I am working on a Python-R interface in which an embedded R is used (rpy project on sourceforge). I would like to allow the interruption of R computation through signals, that is handle signals sent to the embedded R process while computing, but I am unsure regarding what is current

Re: [Rd] can't get names of R_env

2009-01-09 Thread Prof Brian Ripley
You are still misrepresenting the manual, which is discourteous to the altruistic people who wrote it. You have still not explained why you 'need' help with internal parts of R that only R-core can exploit. .Internal is a private interface: .External is the documented public version. In the

[Rd] More intensive checking of R help files

2009-01-09 Thread Prof Brian Ripley
We have been working on handling Rd (R help) files with R rather than Perl scripts. As part of that work, Duncan has written a parser which has revealed many problems in package help files, and we have added its checks to 'R CMD check' in the R-devel version of R. You can see the results fo

Re: [Rd] can't get names of R_env

2009-01-09 Thread torpedo fisken
Thanks for your reply. 2009/1/5 Prof Brian Ripley : > You will have to read more carefully: an ENVSXP is nothing like a VECSXP, > and does not have the names of its entries in a names attribute. > > You access variables in an environment via findVar() and friends, including > findVarInFrame: see '