Re: [R] Writing to a UDP server from R?

2009-07-27 Thread Warren Young
Saptarshi Guha wrote: This does not work u <- socketConnection('localhost',9000) UDP and TCP are entirely different worlds. They don't share the same port space; TCP port 9000 and UDP port 9000 are different things. Plus, UDP is connectionless, so you can't "connect" to a UDP port. All

Re: [R] downsampling

2009-07-24 Thread Warren Young
Michael Knudsen wrote: On Fri, Jul 24, 2009 at 9:32 AM, Jan Wiener wrote: x=sample(1:5, 115, replace=TRUE) How do I downsample this vector to 100 entries? Are there any R functions or packages that provide such functionality. What exactly do you mean by downsampling? It means that the ori

Re: [R] productivity tools in R?

2009-07-02 Thread Warren Young
Michael wrote: I saw my friend has a R Console window which has automatic syntax reminder when he types in the first a few letters of R command. And he's using R under MAC. Is that a MAC thing, or I could do the same on my PC Windows? Yes, the Mac GUI for R is a lot nicer than the Windows vers

Re: [R] Wiring or Arduino package/scripts

2009-06-03 Thread Warren Young
Jorge Cornejo wrote: Hi, I am looking any way to communicant with Arduino (http://www.arduino.cc/) Wiring (http://www.wiring.org.co) boards and read data generate with sensor on these. On Linux you can simply open the file /dev/ttyS0 in read/write mode to talk on the first serial port on the

Re: [R] can you tell what .Random.seed *was*?

2009-05-15 Thread Warren Young
G. Jay Kerns wrote: I want it to be *difficult* for students to figure out the seed and automatically generate solutions on their own. Hmmm Would it really be a bad thing if someone reverse engineered this to generate answers given the problem set? If it's hard enough to do that, it'd b

Re: [R] can you tell what .Random.seed *was*?

2009-05-15 Thread Warren Young
Duncan Murdoch wrote: 1) can you tell me what my original set.seed() value was? (I wouldn't be able to figure it out, but maybe someone can) The only way I know is to test all 2^32 possible values of the seed. I think cryptographers would know faster ways. Well, I'm not a cryptographer, bu

Re: [R] Beyond double-precision?

2009-05-12 Thread Warren Young
joaks1 wrote: I need to perform some calculations with some extremely small numbers The R package Brobdingnag does this. It uses logarithmic representation, as recommended by others in this thread, but wraps it all up for you in a custom numeric class so you can use them as any other numeri

Re: [R] Do you use R for data manipulation?

2009-05-12 Thread Warren Young
Farrel Buchinsky wrote: Is R an appropriate tool for data manipulation and data reshaping and data organizing? I think so but someone who recently joined our group thinks not. The new recruit believes that python or another language is a far better tool for developing data manipulation scripts th

Re: [R] Plotting C++ output in R

2009-04-16 Thread Warren Young
andrew@lshtm.ac.uk wrote: I want to be able to continuously plot the output from the model in R each time a new run generates data. From the C++ program, run the R script that plots the data. Something like this: system("Rscript myplotter.R"); That assumes Rscript is in the PA

Re: [R] RES: R on netbooks et al?

2009-03-05 Thread Warren Young
Leandro Marino wrote: I use it on an ASUS EEE 701 PC! It works with some limitation, because this model have only 512mb of RAM. But it is working fine. The OS is Windows XP. Ditto, except that I put Ubuntu Eee on my 701. (Since renamed "Easy Peasy" http://www.geteasypeasy.com/) A nice t

Re: [R] Python and R

2009-02-17 Thread Warren Young
Esmail Bonakdarian wrote: I am just wondering if any of you are doing most of your scripting with Python instead of R's programming language and then calling the relevant R functions as needed? No, but if I wanted to do such a thing, I'd look at Sage: http://sagemath.org/ It'll give you acc

Re: [R] R on Mobile Devices (Android)

2009-02-11 Thread Warren Young
Gustaf Rydevik wrote: "3.3.2 [...]No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built- in interpreter(s)." and "An Application may not itself install or launch other executable code by any means, includi

Re: [R] R on Mobile Devices (Android)

2009-02-10 Thread Warren Young
Harsh wrote: At the cost of sounding far-fetched and almost incredulous, I would like to know if any R user is remotely considering the use of R on Mobile devices, and Android in particular. In addition to the other objections in the other replies, I add this one: the assignment operator and

[R] Statistics today on xkcd

2009-02-04 Thread Warren Young
http://xkcd.com/539/ Not entirely on topic here, but how often do you see a box plot in a cartoon? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-gui

Re: [R] Passing data among multiple instances

2009-02-04 Thread Warren Young
Feng Li wrote: I have two R instances running at the same time, On the same computer, or on different computers? Is the number of Rs likely to change, or will it always be just the two? Is this a simple one-off problem, or are you breaking the problem up into pieces so you can throw lots o

Re: [R] How to import HTML and SQL files

2009-02-04 Thread Warren Young
Arup wrote: I can't import any HTML or SQL files into R..:confused: Yeah, I'm confused, too. What exactly is it you're trying to do? Not the technical task you asked about, but the effect you're trying to achieve? Can you give details about the exact nature of your data sources, or, better

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
Neil Shephard wrote: Why make the human tell the computer things it already knows? Because sometimes the human has a better idea as to what they want than the computer? I think the computer can guess the right answer in the solid majority of cases. Up in the 90th percentile certainly, pro

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
Neil Shephard wrote: Perhaps this is a deliberate design and serves as an "intelligence" test. If you can't navigate through to find the correct download you're really going to struggle getting started with R ;-D Yyeahhh...look how much that sort of stance has helped the cause of Linux on t

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
friedrich.lei...@stat.uni-muenchen.de wrote: For technical reasons there are some conditions: the homepage is maintained via SVN like the R sources, so all should be plain HTML, no content management system etc. Consider using a static templating system, or a higher-level document language li

Re: [R] Problems in Recommending R

2009-02-03 Thread Warren Young
Stavros Macrakis wrote: anti-alias the demonstration graphic. The current graphic makes R graphics seem (falsely!) to be very primitive. I'm afraid I don't know how to do the anti-aliasing myself. Simply re-plotting it in 2.8.1 built with Cairo support produces something better: htt

Re: [R] How do I get my IT department to "bless" R?

2009-02-03 Thread Warren Young
Stavros Macrakis wrote: Condescendingly assuming that the IT department is run by idiots whose decisions are ruled by emotional attachments (as one correspondent suggested), or that they are irrationally prejudiced against free/open source, and that it is obvious and irrefutable that you know be

Re: [R] How do I get my IT department to "bless" R?

2009-01-29 Thread Warren Young
Michael Olschimke wrote: Could you please share a link to the NY Times article? http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] How do I get my IT department to "bless" R?

2009-01-29 Thread Warren Young
Erik Iverson wrote: First, you should try to figure out why they would not want you to run R, so you can address those reasons specifically. Reasons imply reasoning. It's usually the case that decisions like this are made on an emotional basis, not a rational one. "All of my bus

Re: [R] How do I get my IT department to "bless" R?

2009-01-29 Thread Warren Young
Daniel Viar wrote: I'd like to get our company to feel comfortable with open source Anyone still denying, here in 2009, that open source offers serious business value is a dinosaur, doomed to extinction. Their cerebella have calcified. The balance tipped a decade ago. Just like the real d