Re: [Rd] S4 setMethod, setGeneric and default arguments

2010-11-22 Thread evilphil
BUMP anyone? -- View this message in context: http://r.789695.n4.nabble.com/S4-setMethod-setGeneric-and-default-arguments-tp3037716p3053442.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list

[Rd] Using RInside in Visual Studio 8.0 VC++.NET Program

2010-11-22 Thread jkatta
Hello, I am trying to use Rinside package in my VC++.Net program ( using Visual Studio 8.0 environment). I have downloaded Windows binary of RInside from the following link http://cran.r-project.org/web/packages/RInside/index.htm Version of RInside - 0.2.3 While compiling the program , i am

Re: [Rd] Using RInside in Visual Studio 8.0 VC++.NET Program

2010-11-22 Thread Dirk Eddelbuettel
(We generally recommend that Rcpp/RInside question be sent to rcpp-devel.) On 22 November 2010 at 02:04, jkatta wrote: | | Hello, | | I am trying to use Rinside package in my VC++.Net program ( using Visual | Studio 8.0 environment). I have downloaded Windows binary of RInside from | the

Re: [Rd] how to store package options over sessions?

2010-11-22 Thread Simon Urbanek
I'm not sure why it was not mentioned do far, but the most obvious solution is to create a special object in the workspace (usually a hidden environment or a list - e.g. .myPackage.options.env). One advantage is that the user has full control over whether it should be save or not as it's tied

[Rd] How to call R from C

2010-11-22 Thread 이원재
Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? [[alternative HTML version deleted]]

Re: [Rd] how to store package options over sessions?

2010-11-22 Thread Gabor Grothendieck
On Sat, Nov 20, 2010 at 11:12 AM, Mark Heckmann mark.heckm...@gmx.de wrote: Hi, I posted this a week ago on r-help but did not get an answer. So I hope that someone here can help me: I want to define some options for my package the user may change. It would be convenient if the changes could

Re: [Rd] S4 setMethod, setGeneric and default arguments

2010-11-22 Thread Martin Morgan
On 11/22/2010 03:23 AM, evilphil wrote: BUMP anyone? Hi evilphil -- Your method signature doesn't have 'missing' for its third argument, and hence isn't the target of dispatch when the generic is invoked with a missing argument. I guess you'd figured that out and are really asking whether

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
On Tue, 23 Nov 2010 01:24:04 +0900, 이원재wjlee2...@naver.com wrote: Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded

Re: [Rd] R5 reference classes: how to initialize exactly?

2010-11-22 Thread Davor Cubranic
Just a clarification for posterity - R5 has nothing to do with the new reference classes. It's not even an official name, but informally it's a collection of ideas for an entirely new object system that can replace both S3 and S4 (not that it will but it should be seen as having the

Re: [Rd] R-.12.0 atlas lapack

2010-11-22 Thread luxInteg
On Saturday 20 November 2010 22:35:02 luxInteg wrote: Greetings, I last built R-2.11.1 a few months ago. The computer was equipped with these:- ---cpu amd64 2 cores ---o/s cblfs 64-bit only linux kernel-2.6.32 gcc-4.4.2 jdk(1.5)-6U20? ---bls atlas3.9.26 lapacck-3.2.1 I obtained

Re: [Rd] How to call R from C

2010-11-22 Thread Romain Francois
Le 22/11/10 17:24, 이원재 a écrit : Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? As Brian said,

Re: [Rd] How to call R from C

2010-11-22 Thread Brian G. Peterson
On Tue, 23 Nov 2010 01:24:04 +0900, 이원재wjlee2...@naver.com wrote: Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded

Re: [Rd] R5 reference classes: how to initialize exactly?

2010-11-22 Thread John Chambers
As I posted previously in this same thread, reference classes are _not_ an addition to S4, but provide an interface to the classical OOP programming model in R, via environments and tools for those (and, also, via some S4 techniques). The current version of the Rcpp package illustrates how

Re: [Rd] Ref classes: can I register fields as I register methods?

2010-11-22 Thread John Chambers
Well, it's an interesting idea, and the current implementation would fit with it. One catch is that it goes against any obvious notion of checking for valid objects (admittedly, there are some difficulties in that already with active bindings being used). Another issue is that in normal R

Re: [Rd] reference classes: question on inheritance

2010-11-22 Thread John Chambers
What am I doing wrong here? Not using a recent enough version of R probably (and not telling us what version you are using). The warning (not an error) should not appear in current r-devel or 2.12-patched. In other words, works fine for me. John On 11/21/10 3:40 PM, Janko Thyson wrote:

Re: [Rd] make error for R 2.13.0 (and 2.12.0)

2010-11-22 Thread Tom spot Callaway
On 11/05/2010 07:59 AM, Johann Hibschman wrote: Tom \spot\ Callaway tcall...@redhat.com writes: Full build log is here: http://koji.fedoraproject.org/koji/getfile?taskID=2571563name=build.log Default gcc in RHEL 4 is 3.4.6-10, which has g77 rather than gfortran. It looks like this code no

Re: [Rd] make error for R 2.13.0 (and 2.12.0)

2010-11-22 Thread Prof Brian Ripley
Notes: 1) We cannot reproduce this on a Solaris system using gcc/g77 3.4.6. (Doubled underscores are generated there by g77 and handled correctly in R.) So whatever the issue really is, it is not simply that 'this code no longer compiles properly with g77'. 2) Package cluster has since

[Rd] Wait for user input with readline()

2010-11-22 Thread Nathan Miller
Hello, I am trying write a script that includes a prompt for user input using readlines() and was told that folks at R-devel might be able to help. I am running into the problem that when I run readlines() as a single line the prompt works perfectly, but when I try to run a block of code which

Re: [Rd] R-.12.0 atlas lapack

2010-11-22 Thread Simon Urbanek
On Nov 22, 2010, at 12:59 PM, luxInteg wrote: On Saturday 20 November 2010 22:35:02 luxInteg wrote: Greetings, I last built R-2.11.1 a few months ago. The computer was equipped with these:- ---cpu amd64 2 cores ---o/s cblfs 64-bit only linux kernel-2.6.32 gcc-4.4.2 jdk(1.5)-6U20?