search for: saveez

Displaying 10 results from an estimated 10 matches for "saveez".

2005 Apr 20
5
Overloading methods in R
(1) It seems to me that, generally, in R it is not possible to overload functions. Is that right? (2) Assuming that the above is true, or partially true, is there any extra packages to handle overloading in R? (3) Assuming (1) is TRUE and (2) is FALSE, can anyone provide some advice on developing some function that understand what the arguments are and then calls the right overloaded
2007 Aug 17
3
Any parser generator / code assistance for R?
Hi, Is there any parser generator like www.antlr.org? Moreover, how does simple code assistance work currently in R? By 'simple code assistance' I meant things like: Object$M<TAB> --> Object$Method
2006 Oct 16
1
The old question: R vs MATLAB vs Mathematica vs ...
Hi, This question seems to be old, however I am asking it from a different point of view. R introduces itself as a 'statistical' language and environment. There are many discussions about comparing R to MATLAB or mathematica (or other similar software). It seems to me that these other software have a broader range of applications. For example, in Mathematica one can solve a partial
2005 Apr 21
1
Limitations of generic functions
(1) Assume we have some automatic C++ wrapper which , briefly, reads the C++ files and generates some R files in which the equivalent of the C++ classes are reconstructed. (2) As the OO design of R is different to that of C++, some isses exist when creating an interface between these two systems. (I said these two are 'different', I didn't say which one is better or which one is
2005 Apr 24
1
Collade doesn't work for more than 256 files!
Last week I managed to automatically wrap over 600 C++ classes into R in less than 24 hours. It was not because I am an expert in R programming, it was simply because I wrapped the classes as S3. Not only the wrapping process was easy, but also installation process and loading the final library was fast too. Now I am also trying to do the wrapping into the 'modern' S4 classes. This
2005 Apr 27
4
Defining binary indexing operators
Assume we have a function like: foo <- function(x, y) how is it possible to define a binary indexing operator, denoted by $, so that x$y functions the same as foo(x, y)
2005 Apr 27
2
Getting the name of an object as character
This could be really trivial, but I cannot find the right function to get the name of an object as a character. Assume we have a function like: getName <- function(obj) Now if we call the function like: getName(blabla) and 'blabla' is not a defined object, I want getName to return "blabla". In other word, if paste("blabla") returns "blabla" I
2005 Apr 26
2
C++ <-> R mapping
Following my previous post and the intuitive adivces of Duncan Murdoch, I would like to ask some questions regarding C++ to R mapping. Initially, it appeared to me that in order to perform this mapping, the existing object-oriented design of R would be a good choice. This could include both the S3 and S4 classes approaches. However, there were replies about some 'other' approaches. I
2007 Nov 20
1
How is the Gauss-Newton method compared to Levenberg-Marquardt for curve-fitting?
Hi, It seems to me that the most suitable method in R for curve-fitting is the use of nls, which uses a Gauss-Newton (GN) algorithm, while the use of the Levenberg-Marquardt (LM) algorithm does not seem to be very stressed in R. According to this [1] by Ripley, 'Levenberg-Marquardt is hardly competitive these days' which could imply the low emphasize on LM in R. The position of LM is, to
2005 Apr 18
3
A 'true' R-wrapper for C++ classes
Hello I am trying to wrap some C++ classes into R. (1) Comparing the OOP and methods packages, I have came to this conclusion that OOP works much better for this wrapper -- please correct me if I am wrong. One question is why this useful package (OOP) is not included in the official release of R? (2) Choosing the OOP package way, I have carried out the following steps to wrap the C++