When I save a R object through RConnection, how to determine when the data is
end in the RConnction's other side?
I print the data as integer. It seams the data was end with -2. Is there any
official document about that?
Thanks Dma
--
View this message in context:
http://r.789695.n4.nabble.com
> Thanks, Hadley. This (i.e., different ways to prepare curry) is quite
> instructive to me.
The following update makes the generated function look a little nicer
if you pass in the name of a function:
Curry <- function(FUN, ...) {
args <- match.call(expand.dots = FALSE)$...
arg
> And it seems to work ok in terms of preserving evaluation (I can't how
> it could be any different to making the anonymous function yourself,
> unless I've missed something subtle with environments and scoping)
Which indeed I have. Hmmm, need to think about this more.
Hadley
--
Assistant Pr
On Thu, May 5, 2011 at 8:25 AM, Hadley Wickham wrote:
>> And it seems to work ok in terms of preserving evaluation (I can't how
>> it could be any different to making the anonymous function yourself,
>> unless I've missed something subtle with environments and scoping)
>
> Which indeed I have. Hm
dma hotmail.com> writes:
>
> When I save a R object through RConnection, how to determine when the data is
> end in the RConnction's other side?
>
> I print the data as integer. It seams the data was end with -2. Is there any
> official document about that?
>
> Thanks Dma
>
Please pick *ei
On Thu, May 5, 2011 at 9:32 AM, Hadley Wickham wrote:
> On Thu, May 5, 2011 at 8:25 AM, Hadley Wickham wrote:
>>> And it seems to work ok in terms of preserving evaluation (I can't how
>>> it could be any different to making the anonymous function yourself,
>>> unless I've missed something subtle
Dear list,
there seems to be a problem with the standard location of R´s 64-bit libs
at least under openSUSE.
I had two user questions regarding the compilation of rpy2 for 64-bit systems.
Personally I don`t know rpy2 but maybe someone on this list can decide if
the mistake lies on R`s side or o
Detlef,
On May 5, 2011, at 10:50 AM, Detlef Steuer wrote:
> Dear list,
>
> there seems to be a problem with the standard location of R´s 64-bit libs
> at least under openSUSE.
>
> I had two user questions regarding the compilation of rpy2 for 64-bit systems.
> Personally I don`t know rpy2 but
I do have some trouble with matrices. I want to build up a covariance matrix
with a hierarchical structure). For instance, in dimension n=10, I have two
subgroups (called REGION).
NR=2; n=10
CORRELATION=matrix(c(0.4,-0.25,
-0.25,0.3),NR,NR)
REGION=sample(1:NR,size=n,replace=TR
On Fri, Apr 29, 2011 at 9:25 AM, Martin Maechler
wrote:
>> Paul Johnson
>> on Thu, 28 Apr 2011 00:20:27 -0500 writes:
>
> > On Wed, Apr 27, 2011 at 12:44 PM, Patrick Burns
> > wrote:
> >> Here are some data frames:
> >>
> >> df3.2 <- data.frame(1:3, 7:9)
> >> df4.2
Simon,
thank you very much for the detailed answer.
> This shows that rpy2 doesn't setup up the environment correctly (see the R
> script for the necessary settings). libR* are NOT supposed to the in
> /usr/lib64 - it is a bad hack and very dangerous (programs may pick the
> incorrect R librar
On Wed, May 4, 2011 at 9:24 AM, Barry Rowlingson
wrote:
> On Wed, May 4, 2011 at 2:21 PM, Hadley Wickham wrote:
>
>> Any hints as to what to search for?
>
> For recursive objects, search for recursive objects.
Awesome :-)
And completely OT but strangely related -- in case you've never
stumbled
On May 5, 2011, at 1:07 PM, Steve Lianoglou wrote:
On Wed, May 4, 2011 at 9:24 AM, Barry Rowlingson
wrote:
On Wed, May 4, 2011 at 2:21 PM, Hadley Wickham
wrote:
Any hints as to what to search for?
For recursive objects, search for recursive objects.
Awesome :-)
And completely OT bu
I've got an openSUSE 11.4 machine using R-patched - do I need to
change anything?
On Thu, May 5, 2011 at 12:55 PM, Detlef Steuer
wrote:
> Simon,
>
> thank you very much for the detailed answer.
>
>> This shows that rpy2 doesn't setup up the environment correctly (see the R
>> script for the nec
Short answer: No!
I`ll just change/improve the procedure R is built.
Download R-patched tomorrow and some internals a "ordinary" user won`t notice
will be changed.
Detlef
On Thu, 5 May 2011 17:09:30 -0700
"M. Edward (Ed) Borasky" wrote:
> I've got an openSUSE 11.4 machine using R-patched -
15 matches
Mail list logo