[R] R: mpirun .C and R

2011-02-03 Thread Allan Clark
hello all i am busy testing some code that will be used for parallel computations on a Moab cluster. I have written a C++ program and am linking it with R using the .C command - this works correctly. Extracts of the r code (as well as the *.sh file) is included below. I am able to run

[R] R or C++ on FreeNX servers

2009-11-25 Thread Murray Jorgensen
Hi all, I have just found out that the machine learning group in our Faculty has a lot of spare capacity on their FreeNX servers. I do not know a lot about these beasts but I understand that they are a free version of something produced by a firm called NoMachine. They are designed for

Re: [R] R or C++ on FreeNX servers

2009-11-25 Thread Cedrick W. Johnson
All FreeNX allows you to do is access a regular linux machine using X over SSH as opposed to ssh'ing in, redirecting the X-display back to your local machine (running a xserver locally).. You can install R on the machine(s) just as you would normally, and if the machines are in some sort of

Re: [R] R or C++ on FreeNX servers

2009-11-25 Thread Tobias Verbeke
Hi Murray, Murray Jorgensen wrote: I have just found out that the machine learning group in our Faculty has a lot of spare capacity on their FreeNX servers. I do not know a lot about these beasts but I understand that they are a free version of something produced by a firm called NoMachine.

[R] R or C++ on FreeNX servers

2009-11-25 Thread Murray Jorgensen
Hi all, I have just found out that the machine learning group in our Faculty has a lot of spare capacity on their FreeNX servers. I do not know a lot about these beasts but I understand that they are a free version of something produced by a firm called NoMachine. They are designed for

Re: [R] R or C++ on FreeNX servers

2009-11-25 Thread Gad Abraham
On Thu, Nov 26, 2009 at 8:00 AM, Murray Jorgensen m...@stats.waikato.ac.nz wrote: Hi all, I have just found out that the machine learning group in our Faculty has a lot of spare capacity on their FreeNX servers. I do not know a lot about these beasts but I understand that they are a free

[R] r and c++ (Duncan Murdoch)

2009-02-13 Thread Pedro Silva
-- Message: 22 Date: Thu, 12 Feb 2009 09:38:10 -0600 From: Dirk Eddelbuettel e...@debian.org Subject: Re: [R] r and c++ To: JC new2st...@googlemail.com Cc: r-help@r-project.org Message-ID: 18836.16994.244794.92...@ron.nulle.part Content-Type: text/plain; charset=us

[R] r and c++

2009-02-12 Thread JC
Hi all, is there a way to integrate R language within a c++ programme? That is, is there something like an R library I can incorporate in my c++ code? Thanks, Javier __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] r and c++

2009-02-12 Thread Duncan Murdoch
On 2/12/2009 10:16 AM, JC wrote: Hi all, is there a way to integrate R language within a c++ programme? That is, is there something like an R library I can incorporate in my c++ code? Yes, that's described in the Writing R Extensions manual, in chapter 8, Linking GUIs and other front-ends

Re: [R] r and c++

2009-02-12 Thread Dirk Eddelbuettel
Javier, On 12 February 2009 at 16:16, JC wrote: | is there a way to integrate R language within a c++ programme? That is, | is there something like an R library I can incorporate in my c++ code? I have two projects on R-Forge.R-Project.org that may be of interest: Rcpp which makes

[R] R and C/C++ for loop

2008-06-08 Thread juiceorange
I want to call C/C++ in R to do the loops. Is it doable? If my whole code is a big loop, is it better to do the inverse thing, i.e. call R function in C/C++? Whichever is better, is there any online material which guide me the procedure? Thank you! -- View this message in context: http

[R] R and C - variable by reference

2008-05-15 Thread Naira
Hi all, I would like to know if it is possible in R to give a the reference of a variable in a function; in order to be able to change the variable in the function and to keep the change when the function ended. In other words, is it possible to code this following C code in R: void

Re: [R] R and C - variable by reference

2008-05-15 Thread Duncan Murdoch
Naira wrote: Hi all, I would like to know if it is possible in R to give a the reference of a variable in a function; in order to be able to change the variable in the function and to keep the change when the function ended. In other words, is it possible to code this following C code in R