similar to: Object oriented programming resources

Displaying 20 results from an estimated 40000 matches similar to: "Object oriented programming resources"

2012 May 15
1
Object-oriented programming (OOP)
Hello everybody, please excuse my bad English. I am Alfredo Naime and I'm from to Venezuela. I want to make a lib with tools for simulation (queues, inventories, factory, etc.) using object-oriented programming (OOP). You have any manuals on the handling of data types, classes, inheritance, etc. in R with examples and how to make a R lib. Thank you, very much. Alfredo
2007 Dec 09
3
Oriented object programming
Hi all Two questions: - I would like to learn more on oriented object programming with R. Is there any tutorial for that? - Without waking up a troll, I am not very familiar with diffusion list, I am more use to forum. On a diffusion list, how can I check if someone already asks a question? I mean, I went on CRAN-R website, I find the R mailing list archive. But is there a way to search
2008 Jul 27
4
Object-oriented programming in R for Java programmers?
Hi, I was wondering if anybody might have a reference for me: My R code is growing and getting more and more confusing. Thus, I figure it's time to switch to object-oriented again. I have done oo programming in C++ and Java before but the first few tutorial on R oo were a bit confusing for me. Is there any brief tutorial on oo programming in R especially for people who have done oo in Java
2009 May 27
2
Object-oriented programming in R
Dear R-users, I have very recently started learning about object-oriented programming in R. I am far from being an expert in programming, although I do have an elementary C++ background. Please take a look at these lines of code. > some.data = data.frame(V1 = 1:5, V2 = 6:10) ; > p.plot = ggplot(data=some.data,aes(x=V1, y=V2)) ; > class(p.plot) ; > [1] "ggplot" My
2004 Aug 14
2
Private methods
Hi, I'm trying to understand R's object oriented abilities. I have read (in a very recent email to r-help) that R's methods package does not support private methods. However, I also looked at the source for the function "is": > is function (object, class2) { cl <- .class1(object) if (missing(class2)) return(extends(cl)) if (.identC(cl, class2)
2005 Apr 21
3
Objects in R
Hi, A few comments from a fairly experienced R user who worked for several years on a R-based bioinformatics analysis framework. I don't want to misrepresent anyone's views, but... There are real disadvantages to the "objects-as-C-structs" and functions/methods which "mutate" based on argument type. i.e. S4. (1)Novices simply don't understand it.
2018 Sep 03
1
Moving from Structured to Object Oriented
Dear Devels, I am not aware whether this topic was discussed earlier or not. But it was on my mind from quite few days so .. Are we planning for movement of samba from C to C++ or other OOP language. If not why, reasons of yes I find quite a few... * C++ is a highly portabl/e/ language and is often the language of choice for multi-device, multi-platform app development. * C++ is an
2010 Sep 14
2
Object oriented programming in R.
Hello everyone. I would like to create many objects with R. Does R support objects? The number of objects needed is not predetermined and it is a parameter specified by the user. If the user selects to create many objects like 100, would it be possible to handle each one by some index? I would like to thank you in advance for your help. Best Regards Alex [[alternative HTML version
2004 Aug 12
4
truly object oriented programming in R
Good morning! I recently implemented a KD tree in JAVA for faster kernel density estimation (part of the code follows). It went well. To hook it with R, however, has proved more difficult. My question is: is it possible to implement the algorithm in R? My impression seems to indicate no as the code requires a complete class-object framework that R does not support. But is there an R package or
2010 Jul 27
2
Documenting different OO-aproaches in R as a package?
Hello, I see some people including myself confused by the different object-oriented approaches in R (S3, S4, OOP, R.oo etc.). Would it be ok to collect examples and solutions for the different OO-packages in one package and add a vignette for documentation? (assuming I find time for this task) I mean in this case the package would not add data or functionality to R or serve as a companion
2007 Jan 19
5
C vs. C++ as learning and development tool for R
I have 3 years of experience with R and have an interest in becoming a better programmer so that I might someday be able to contribute packages. Other than R, my only experience was taking Lisp from Daniel Friedman in the 1970's. I would like to learn either C or C++ for several reasons: To gain a better concept of object oriented programming so that I can begin to use S4 methods in R. To
2023 Feb 18
1
Adding support for S7 to base R
On 18/02/2023 9:51 a.m., Duncan Murdoch wrote: > One more comment: > > The utils::setBreakpoint() function should be updated to be able to set > breakpoints in S7 methods, or a substitute function should be added to > the S7 package. > > RStudio 2022.12.0+353 (not sure if that's the latest) also needs to be > taught how to do that, since it doesn't seem to use
2011 Oct 26
1
Object-oriented PHP implementation is coming, looking for parties
Hello, list. My name is Max, I'm a web developer. I found Markdown convention very useful, I use it everywhere nowadays. Michel Fortin's markdown-php seems to be the only available PHP implementation. And, judging by number of people using it, it works well :) But there is many thing that's keep it from being perfect: * One large file with functions not being sorted in a logical
2019 Oct 21
3
S4SXP type vs S4 object bit?
I'm trying to understand the R internals a bit better and reading over the documentation. I see that there is a bit related to whether an object is S4 (S4_OBJECT_MASK), and also the object type S4SXP (25). The documentation makes clear that these two things aren't the same. But in practice, will the S4-bit and object type ever disagree for S4 objects? I know that one can set the bit
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
2002 Mar 19
1
Question re:S4 classes and design; clashing classes?
Thanks to Duncan's recent work on SJava, I've got a (so far) stable platform to put together the R-Orca interface (dynamic graphics, including brushing, subseting, etc). While the first version will be looking at installation issues and study basic user interfaces for providing a few working examples, it will be important for this particular package to look at how one integrates a
2003 Apr 07
2
Is it possible to have data stuctures like in C ?
I'am a very fresh R user and I'd like to know how I could create such structures. I saw R was objects-oriented but I can not find any doccumentation on about how to build my hown ojects. Thanks.
2009 Jun 02
1
S4 Objects [Sec=Unclassified]
I am new to R programming but have dived into a medium sized modelling software development project. Having come from a Java OO background I have a couple of questions about S4 objects. Is there a way to make S4 slots (and methods) private and hence force the use of accessor methods? Is there a straight-forward way to implement pass-by-reference for method parameters? I am currently
2013 Feb 02
1
Choice of text for intermediate level R programming course
The Subject line mostly says it. I'm designing it as a semester-long, 3 hours per week, course that takes in students who got the basics of R in stats classes, but don't really know how to program in it. Translation: if their own examples don't look enough like examples from previous work, they're stumped. Does anybody have a text for an intermediate R course (but not too
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