On 1/4/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> In the following session we define an xx class and a print method
> for it. If I invoke it with print then it prints as expected but if
> we just type xx at the R prompt then we get nothing back. How
> do we define the print method so tha
In the following session we define an xx class and a print method
for it. If I invoke it with print then it prints as expected but if
we just type xx at the R prompt then we get nothing back. How
do we define the print method so that it works in the latter
case too?
> xx <- structure("abc", clas
Using C++ will reduce portability of your code. Using C++'s STL (not R's
stl, so it is a good idea to spell out jargon) will reduce the
portability further.
R itself does not use C++, and although a C++ compiler is found, it is
only very mininally tested (and in particular its headers and libr
Hi All,
I am in the process of writing an R extension in c++ and am using several
STL containers (e.g., vector, map, multimap). I make sure to clear all these containers at the end of the
.Call. Everything compiles and runs just fine, but I'm a bit worried
since I haven't found any other packag
> From: Ross Boylan <[EMAIL PROTECTED]>
>
> In answer to the other question about using OS checkpointing
> facilities, I haven't tried them since the application will be running
> on a cluster. More precisely, the optimization will be driven from a
> single machine, but the calculation of the obj
Happy new year everybody,
I'm getting the following while trying to use the agrep() function:
> pattern <- "XXX"
> subject <- c("oo", "oooXooo", "oooXXooo", "oooXXXooo")
> max <- list(ins=0, del=0, sub=0) # I want exact matches only
> agrep(pattern, subject, max=max)
[1] 4
OK
> max$su
I'm having some fun with R on a Windows 2003 Server talking to a Wyse
Winterm running Thinstation Linux. The Winterm boots Linux from the
network and then runs rdesktop to a Dell 1750 server (dual 3G Xeon or
somesuch).
The first problem I noticed was that R (and the terminal) ground to a
near
Spots are still available for an advanced R programming course to be
held Jan 18-20 in Seattle.
Instructors: Robert Gentleman
Seth Falcon
Topics:
Lexical scope
Vectorization
S3 and S4 OOP
R packages
Database connectivity
Interfacing to C via .C and .Call
Det
(Reported by Søren Højsgaard)
Looks like update.formula is stripping of parentheses in cases where
they shouldn't be
> update.formula (Reaction ~ Days + (Days | Subject), . ~ . + I(Days^2))
Reaction ~ Days + Days | Subject + I(Days^2)
Notice that the right hand side is interpreted with the bar