Re: [Rd] Rmpi on CentOS (64bit)

2010-03-05 Thread Patrick Connolly
On Wed, 03-Mar-2010 at 01:57PM -0600, Dirk Eddelbuettel wrote: [...] | You could try to suppress the probe for IB which we did (in the older 1.2.* | series of OpenMPI) via | |# Disable the use of InfiniBand |# btl = ^openib |btl = ^openib | | in

[Rd] Suggestion to add crantastic to resources section on posting guide

2010-03-05 Thread Matthew Dowle
Under the further resources section I'd like to suggest the following addition : * http://crantastic.org/ lists popular packages according to other users votes. Consider briefly reviewing the top 30 packages before posting to r-help since someone may have already released a package that

Re: [Rd] shash in unique.c

2010-03-05 Thread Matthew Dowle
I was hoping for a 'yes', 'no', 'maybe' or 'bad idea because ...'. No response resulted in a retry() after a Sys.sleep(10 days). If its a yes or maybe then I could proceed to try it, test it, and present the test results and timings to you along with the patch. It would be on 32bit Ubuntu

Re: [Rd] shash in unique.c

2010-03-05 Thread Duncan Murdoch
Matthew Dowle wrote: I was hoping for a 'yes', 'no', 'maybe' or 'bad idea because ...'. No response resulted in a retry() after a Sys.sleep(10 days). If its a yes or maybe then I could proceed to try it, test it, and present the test results and timings to you along with the patch. It would

Re: [Rd] Suggestion to add crantastic to resources section on posting guide

2010-03-05 Thread Gabor Grothendieck
I don't think we should be expanding the posting guide. Its already so long that no one reads it. We should be thinking of ways to cut it down to a smaller size instead. On Fri, Mar 5, 2010 at 5:52 AM, Matthew Dowle mdo...@mdowle.plus.com wrote: Under the further resources section I'd like to

Re: [Rd] shash in unique.c

2010-03-05 Thread Matthew Dowle
Thanks a lot. Quick and brief responses below... Duncan Murdoch murd...@stats.uwo.ca wrote in message news:4b90f134.6070...@stats.uwo.ca... Matthew Dowle wrote: I was hoping for a 'yes', 'no', 'maybe' or 'bad idea because ...'. No response resulted in a retry() after a Sys.sleep(10 days).

Re: [Rd] Suggestion to add crantastic to resources section onposting guide

2010-03-05 Thread Matthew Dowle
That appears to be an epistemic error. Some people, and I would agree it seems like an increasing number of people, clearly don't read the posting guide. However, it is impossible for anyone to know how many people do read it, do thoroughly read it and, therefore, don't ever need to post to

[Rd] Changing the Prompt for browser()

2010-03-05 Thread Andrew Redd
Is there a way that I can change the prompt for within a browser() call. I often use use code like with(obj1,browser()) Browse[1] Is there a way that I can set it so that I can get something like with(obj1,browser(prompt=obj1)) obj1[1] I know that prompt is not a valid option for browser,

[Rd] Defining a method in two packages

2010-03-05 Thread Terry Therneau
The coxme package has a ranef() method, as does lme4. I'm having trouble getting them to play together, as shown below. (The particular model in the example isn't defensible, but uses a standard data set.) The problem is that most of the time only one of lme4 or coxme will be loaded, so each

[Rd] CRAN nearly down?

2010-03-05 Thread Paul Gilbert
Is CRAN having trouble or is it just me? (The web interface is very slow and install.packages() is timing out and giving me service not available). Paul La version française suit le texte anglais.

Re: [Rd] CRAN nearly down?

2010-03-05 Thread Simon Urbanek
On Mar 5, 2010, at 12:40 , Paul Gilbert wrote: Is CRAN having trouble or is it just me? CRAN consists of 70 servers (hence the N in the name) so the answer is definitely it's you ;). Try using a different mirror - the ones I tried are all very snappy so if that doesn't help it's your

Re: [Rd] shash in unique.c

2010-03-05 Thread Seth Falcon
On 3/5/10 4:40 AM, Matthew Dowle wrote: Thanks a lot. Quick and brief responses below... Duncan Murdochmurd...@stats.uwo.ca wrote in message news:4b90f134.6070...@stats.uwo.ca... Matthew Dowle wrote: I was hoping for a 'yes', 'no', 'maybe' or 'bad idea because ...'. No response resulted in

Re: [Rd] Changing the Prompt for browser()

2010-03-05 Thread Prof Brian Ripley
On Fri, 5 Mar 2010, Andrew Redd wrote: Is there a way that I can change the prompt for within a browser() call. I often use use code like with(obj1,browser()) Browse[1] Is there a way that I can set it so that I can get something like with(obj1,browser(prompt=obj1)) obj1[1] I know that

Re: [Rd] Defining a method in two packages

2010-03-05 Thread Kevin Wright
Sorry for one more email, but here is a more concise and pertinent ranef example: # Allow S4 methods to find S3 asreml objects setOldClass(asreml) if(!isGeneric(ranef)){ setGeneric(ranef, function(object, ...) standardGeneric(ranef)) } ranef.asreml - function(obj){ effects -

[Rd] Improved Nelder-Mead algorithm - a potential replacement for optim's Nelder-Mead

2010-03-05 Thread Ravi Varadhan
Hi, I have written an R translation of C.T. Kelley's Matlab version of the Nelder-Mead algorithm. This algorithm is discussed in detail in his book Iterative methods for optimization (SIAM 1999, Chapter 8). I have tested this relatively extensively on a number of smooth and non-smooth

[Rd] unable to compile Recommended packages

2010-03-05 Thread Alex Bryant
Hi folks, I'm having a problem with installing R on Solaris. Has anyone seen a similar issue? I don't find any hits on the search engines. Thanks. Environment: SunOS 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-280R During the installation/compilation of R-2.10.1 I get the

[Rd] for help on building a R package with several R function and a bunch of c, c++

2010-03-05 Thread alex46015
Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. These R function here are independent of c++ code. I prefer to

[Rd] references to (1) R source code in svn repo within .Rd file and (2) to C source code in comments in R code using .Internal() /.Primitive()

2010-03-05 Thread Peter Ruckdeschel
Hi R-devels, recently I wanted to quickly look up a C implementation in R-Core code in the official subversion repository; more specifically the code was called from R by means of the .Internal() interface. And: yes, I did read Uwe Ligges' article in R News, R Help Desk: Accessing the sources.

Re: [Rd] for help on building a R package with several R function and a bunch of c, c++

2010-03-05 Thread Dirk Eddelbuettel
On 5 March 2010 at 13:15, alex46...@yahoo.com wrote: | Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. These R

Re: [Rd] for help on building a R package with several R function and a bunch of c, c++

2010-03-05 Thread alex46015
I think the first question should be how to build a R function to call a bunch of C ,C++ which include one main program, and a makefile. My goal to build a R package will be next step.   I read Rcpp , I am not sure if  RcppResultSet can solve my problem or other function. Once I make sure it

Re: [Rd] Rmpi on CentOS (64bit)

2010-03-05 Thread Patrick Connolly
On Wed, 03-Mar-2010 at 07:53PM +1300, Patrick Connolly wrote: | I got Rmpi to compile with little difficulty, but had a tricky time | setting the LD_LIBRARY_PATH to use the OpenMPI libs. I now get a | different error when I try to load Rmpi | | | require(Rmpi) | Loading