[Rd] Marcelo Damasceno de Melo wants to stay in touch on LinkedIn

2010-11-23 Thread Marcelo Damasceno de Melo
LinkedIn I'd like to add you to my professional network on LinkedIn. - Marcelo Damasceno de Melo Marcelo Damasceno de Melo Java Developer, I.A Reseacher, Data Mining, P2P developer Fortaleza Area, Brazil Confirm that you know Marcelo Damasceno de Melo https://www.linkedin.com/e

[Rd] Reference Classes: removing methods -> implications for objects/instances of that class

2010-11-23 Thread Janko Thyson
Dear list, just to make sure that I understand 'unregistering' methods for S4 reference classes correctly: If I registered a method and want to 'unregister' (i.e. remove) this method again, objects/instance created of the respective class still feature the removed method until I do an explicit re

[Rd] Possibility for memory improvement: x <- as.vector(x) always(?) duplicates

2010-11-23 Thread Henrik Bengtsson
Hi, I've noticed that as.vector() always allocates a new object, e.g. > x <- 1:10; > x <- as.vector(x); > tracemem(x); [1] "<0x05622db8" > x <- as.vector(x); tracemem[0x05622db8 -> 0x05622ec0]: as.vector > x <- as.vector(x); tracemem[0x05622ec0 -> 0x05622f1

Re: [Rd] [R] Catching a RCurl error?

2010-11-23 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Im Auftrag von Tal Galili > Gesendet: Dienstag, 23. November 2010 14:18 > An: r-h...@r-project.org > Betreff: [R] Catching a RCurl error? > > Hi all, > > I'm running a complex script wh

Re: [Rd] Wait for user input with readline()

2010-11-23 Thread Prof Brian Ripley
What you have not done is told us how you run the script. On Mon, 22 Nov 2010, Nathan Miller wrote: 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. (But this is an R-help question.) readline(

Re: [Rd] How to call R from C

2010-11-23 Thread Prof Brian Ripley
On Tue, 23 Nov 2010, Wonjae Lee wrote: Thank you! I tried to build a C code below, and I got a error message. How?: you have not shown us the commands you used. At a guess you are on Windows and didn't tell us (see the posting quide) using MSVC (not supported but may work -- just don't ask

Re: [Rd] How to call R from C

2010-11-23 Thread Wonjae Lee
Thank you! I tried to build a C code below, and I got a error message. Thank you for your help in advance. #include "embeddedRCall.h" int main(int argc, char *argv[]) { eval_R_command("print", argc, argv); return(0); } = Co