Re: [Rd] "\0" gives no warning "unknown escape sequence" (PR#11117)

2008-04-08 Thread ripley
You seem to have missed '\nnn'character with given octal code (1, 2 or 3 digits) in ?Quotes, so \0 is a both known and documented escape sequence. (Yes, really, '0' _is_ 1 octal digit.) That explains your subject line: such as warning would be misleading in the extreme. What is

Re: [Rd] problem with Rmpi 0.5-5 and openmpi

2008-04-08 Thread Luke Tierney
You may want to be a little careful about using R and MPI with Myrinet. We tried to get that to work around 5 years ago and found it more trouble than it was worth (we ended up sending the Myrinet equipment back and getting gigabit ethernet instead). As I recall, the problem at the time was that t

Re: [Rd] Using Rtools in Unix environment

2008-04-08 Thread Duncan Murdoch
On 4/8/2008 1:44 PM, Kyeongmi Cheon wrote: > The previous mail I wrote was bounced for some reason and I'm writing > it again... > > > I have used Rtools in windows to call C from R but my computer does > not have enough memory for my current project. So I'm trying to use > Rtools in the high per

[Rd] Using Rtools in Unix environment

2008-04-08 Thread Kyeongmi Cheon
The previous mail I wrote was bounced for some reason and I'm writing it again... I have used Rtools in windows to call C from R but my computer does not have enough memory for my current project. So I'm trying to use Rtools in the high performance computer at my school. The guy who handles the H

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread rory . winston
Hi martin Actually I did read your email. If you had actually read *my* email you would have seen that I am not using the windows version, which is what you explicitly referred to earlier. Lack of observation aside, that was indeed what I was asking. Thanks Rory Sent using BlackBerry® from Oran

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Martin Maechler
> "rw" == rory winston <[EMAIL PROTECTED]> > on Tue, 8 Apr 2008 14:06:26 + writes: rw> Hi martin rw> Actually I did read your email. If you had actually read *my* email you would have seen that I am not using the windows version, which is what you explicitly referred to e

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Martin Maechler
> "VG" == Vincent Goulet <[EMAIL PROTECTED]> > on Tue, 08 Apr 2008 09:28:00 -0400 writes: VG> Le dim. 6 avr. à 07:01, Rory Winston a écrit : >> Hi Martin >> >> Thanks for the detailed reply. I had a look at the matrix power >> implementation in the actuar package a

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Vincent Goulet
Le dim. 6 avr. à 07:01, Rory Winston a écrit : > Hi Martin > > Thanks for the detailed reply. I had a look at the matrix power > implementation in the actuar package and the modified version in the > expm > package. I have a couple of questions/comments: > > 1. Firstly, I seem to have trouble lo

[Rd] library(forecast) (PR#11111)

2008-04-08 Thread kirjeet
Full_Name: F. L. Version: 2.6.2 OS: Windows 2000 Submission from: (NULL) (212.246.64.250) > library(forecast) Loading required package: tseries Error in dyn.load(file, ...) : unable to load shared library 'D:/PROGRA~1/R/R-26~1.2/library/tseries/libs/tseries.dll': LoadLibrary failure: The sp

Re: [Rd] Rmpi 0.5-6 : error spawning process

2008-04-08 Thread Dirk Eddelbuettel
On 8 April 2008 at 11:15, Markus Schmidberger wrote: | I am using a cluster with LAM 7.1.3/MPI 2 and R 2.6.0. | Rmpi version 0.5-5 is working very well. | | Now I have tested "Rmpi 0.5-6". During spawning the Rslaves I get an | error: MPI_Error_string: error spawning process Not sure about your

Re: [Rd] "\0" gives no warning "unknown escape sequence" (PR#11107)

2008-04-08 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: > Full_Name: Volkmar Klatt > Version: 2.6.2 > OS: linux > Submission from: (NULL) (84.147.0.178) > > > Hello, > > the documentation article > ?Quotes > from package:base could be improved by discussing > the meaning of "\0" escape sequence. > I agree... > In R (curren

Re: [Rd] "\0" gives no warning "unknown escape sequence" (PR#11107)

2008-04-08 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > Full_Name: Volkmar Klatt > Version: 2.6.2 > OS: linux > Submission from: (NULL) (84.147.0.178) > > > Hello, > > the documentation article > ?Quotes > from package:base could be improved by discussing > the meaning of "\0" escape sequence. > In R (currently used: R-2

Re: [Rd] Call R from C#

2008-04-08 Thread Richard Cotton
guox wrote: > > I would like to call functions/objects of R from > C#.NET environment. I was wondering whether or not > it is possible. If yes, could you please give me some suggestions > on how to approach it (any examples/documentation on this)? Thanks! > Here are some instructions on callin

Re: [Rd] problem with Rmpi 0.5-5 and openmpi

2008-04-08 Thread Prof Brian Ripley
See http://www.open-mpi.org/community/lists/users/2007/10/4192.php Does the version of Rmpi you used have the suggested patch? On Mon, 7 Apr 2008, Peter Pearman wrote: > Dear knowledgeable experts :-), > > I am trying to get openmpi, Rmpi and SNOW running on a Myrinet/GM > cluster. I'm not an

[Rd] Rmpi 0.5-6 : error spawning process

2008-04-08 Thread Markus Schmidberger
Hi, I am using a cluster with LAM 7.1.3/MPI 2 and R 2.6.0. Rmpi version 0.5-5 is working very well. Now I have tested "Rmpi 0.5-6". During spawning the Rslaves I get an error: MPI_Error_string: error spawning process > sessionInfo() R version 2.6.0 (2007-10-03) x86_64-unknown-linux-gnu locale

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Rory Winston
Hi Martin I have changed the implementation slightly so that it now handles complex matrices as well. Take a look and see what you think. I realise that a lot of the if/else mode checking could be merged. Cheers Rory SEXP do_matexp(SEXP call, SEXP op, SEXP args, SEXP rho) { int nrows, ncols;

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Rory Winston
Hi Martin Thanks for the detailed reply. I had a look at the matrix power implementation in the actuar package and the modified version in the expm package. I have a couple of questions/comments: 1. Firstly, I seem to have trouble loading expm. > install.packages("expm",repos="http://R-Forge.R-p

Re: [Rd] Adding a Matrix Exponentiation Operator

2008-04-08 Thread Rory Winston
Thanks Antonio, thats a good suggestion. On Sat, Apr 5, 2008 at 5:51 PM, Antonio, Fabio Di Narzo < [EMAIL PROTECTED]> wrote: > 2008/4/5, Rory Winston <[EMAIL PROTECTED]>: > > > > > /* Convenience function */ > > static void copyMatrixData(SEXP a, SEXP b, int nrows, int ncols, int > mode) { > >

[Rd] "\0" gives no warning "unknown escape sequence" (PR#11107)

2008-04-08 Thread volkmar . klatt
Full_Name: Volkmar Klatt Version: 2.6.2 OS: linux Submission from: (NULL) (84.147.0.178) Hello, the documentation article ?Quotes from package:base could be improved by discussing the meaning of "\0" escape sequence. In R (currently used: R-2.6.2), a "\0" in a string will silently terminate tha

[Rd] Some memory questions: data.frame and lists.

2008-04-08 Thread Gopi Goswami
Hi there, I seek your expert opinion on the following memory related questions. The output below was gotten from R-2.6.2, compiled with --enable-memory-profiling on Ubuntu Linux. === >>> Code and output 1: > gc( ) us