Re: [R] IP-Address

2009-05-30 Thread edwin Sendjaja
Hi VQ, Thank you. It works like charm. But I think Peter's code is faster. What is the difference? Eddie > Date: Fri, 29 May 2009 11:44:15 +0200 > From: waclaw.marcin.kusnierc...@idi.ntnu.no > To: p.dalga...@biostat.ku.dk > CC: r-help@r-project.org > Subject: Re: [R] IP-Address > > Peter

Re: [R] IP-Address

2009-05-30 Thread edwin Sendjaja
Hi Peter, This works as I expected. Thank you very much. Eddie > Date: Fri, 29 May 2009 11:15:37 +0200 > From: p.dalga...@biostat.ku.dk > To: all...@cybaea.com > CC: r-help@r-project.org > Subject: Re: [R] IP-Address > > Allan Engelhardt wrote: > > IP addresses are very (very!) difficult

Re: [R] IP-Address

2009-05-30 Thread edwin Sendjaja
ip > # 3 138 29746 blueyes 2.2.58.10 > # 2 138 29746redyes 2.131.58.16 > # 4 138 29746red no 162.131.58.17 > # 1 138 29746 yellow no 162.131.58.26 > > > Getting rid of the conversions including the matrix(unlist) combo is > left a

[R] IP-Address

2009-05-28 Thread edwin Sendjaja
Hi, Is there any way to sort a tabel with a colum with IP-address? table: id rank color status ip 138 29746 yellow no 162.131.58.26 138 29746 red yes 162.131.58.16 138 29746 blue yes 162.131.58.10 138 29746 red no 162.131.58.17 138 29746 yellow no 162.131.58.14 138 29746 red no 162.131.58.

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
tput)) write.table(output,file=Sys.getenv("filepdf"), quote = FALSE) > For the mean, min, max and standard deviance (deviation I suppose) you > don't need to store all data in the memory, you can calculate them > incrementally. Read the file line by line (if it is a text

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
Hi Ben, Using colClasses doensnt improve the performace much. With the data, I will calculate the mean, min, max, and standard deviance. I have also failed to import the data in a Mysql Database. I dont have much knowledge in Mysql. Edwin > Edwin Sendjaja web.de> writes: > &

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
; Hopefully someone else will chip in Edwin, best of luck. > > Simon. > > > - Original Message - > From: "Edwin Sendjaja" > To: "Simon Pickett" > Cc: > Sent: Tuesday, January 06, 2009 2:53 PM > Subject: Re: [R] Large Dataset > > >

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
data set? Edwin > Only a couple of weeks ago I had to deal with this. > > adjust the memory limit as follows, although you might not want 4000, that > is quite high > > memory.limit(size = 4000) > > Simon. > > ----- Original Message - > From: "E

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
s utils datasets > methods base > > other attached packages: > [1] vcd_1.2-1colorspace_1.0-0 MASS_7.2-45 rattle_2.4.0 > > loaded via a namespace (and not attached): > [1] tools_2.8.0 > > On Jan 6, 2009, at 6:43 AM, Simon Pickett wrote: > > type > &g

Re: [R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
Hi Simon, Thank for your reply. I have read ?Memory but I dont understand how to use. I am not sure if that can solve my problem. Can you tell me more detail? Thanks, Edwin > type > > ?memory > > into R and that will explain what to do... > > S > - Original Mess

[R] Large Dataset

2009-01-06 Thread Edwin Sendjaja
Hi alI, I have a 3.1 GB Dataset ( with 11 coloumns and lots data in int and string). If I use read.table; it takes very long. It seems that my RAM is not big enough (overload) I have 3.2 RAM and 7GB SWAP, 64 Bit Ubuntu. Is there a best sultion to read a large data R? I have seen, that people

[R] How to calculate words in column?

2008-12-06 Thread Edwin Sendjaja
Hi, I have a table for an 1 week exam result for many classes in school, like this: Day Class_ID TestResult 1 Monday1 Paper Passed 2 Tuesday1 Oral Passed 3 Friday 1 Paper Passed 4 Monday3

Re: [R] Creating Tabel for Mean, Deviance

2008-12-04 Thread Edwin Sendjaja
Hi, Thank you Stefan, I think, this package will do what I want. Edwin > Edwin Sendjaja schrieb: > > Hi, > > > > Can someone help me how to create a table for Min, Max, Mean, Deviance. > > Try the summaryBy function of the doBy package. The package has an > exce

[R] Creating Tabel for Mean, Deviance

2008-12-03 Thread Edwin Sendjaja
Hi, Can someone help me how to create a table for Min, Max, Mean, Deviance. I have input data like this: Person Age Child 1 517 2 2 517 0 3 517 1 4 5202 5 520 3 6 710 1 7 721

[R] Bug in Merge?

2008-04-18 Thread Edwin Sendjaja
Hello, I find strange number in my merge data set. My first coloumn consist row numbers. --- my.data: AbsTime RelTime PE_IDEvent Delay 4238 1208514343.812086107.153637 4 EKA

Re: [R] 3-D-Plot

2008-04-17 Thread Edwin Sendjaja
, heise.de,etc If no, can you tell me little how to modify the code to get this. Thank you. another question: How can I change the width line of the axis (x,y,z). The default line is for me too thin. Thank you in advance, Edwin Sendjaja Am Donnerstag, 17. April 2008 14:43:39 schrieb Uwe Ligges

Re: [R] 3-D-Plot

2008-04-17 Thread Edwin Sendjaja
Hi Uwe, Thanks for your answer. What is the different between rgl and scatterplot3d? I dont need a graphik like vulcano. I just need 3D-"dot"-plot. Am Donnerstag, 17. April 2008 09:03:17 schrieb Uwe Ligges: > Edwin Sendjaja wrote: > > Hello, > > > > I've g

[R] 3-D-Plot

2008-04-16 Thread Edwin Sendjaja
Hello, I've got some problems. I hope someone can help me. First question: I am trying to get grid on scatterplot3d (from scatterplot3d package). It seems that scatterplot3d draw on grip on X and Z side. Is it possible to get Grid on the whole Box? Second question: Is it possible to use the st

Re: [R] Merging daily and weekly data

2008-04-14 Thread Edwin Sendjaja
nd weekly data set. For example: year_week) data<-merge(table1, table2, by.x="year_week", by.y="year_week")   data I hope it helps, Edwin Sendjaja Am Montag, 14. April 2008 11:09:12 schrieb Øystein Myrland: > Dear R-help group, > > I have a dataset with d

Re: [R] Mapping file-Legend- from 2 Files/Tables

2008-04-13 Thread Edwin Sendjaja
e.data") data<-merge(table1, table2, by.x="User_ID", by.y="User_ID") result<-data$Name (for example) Thank you. Kind Regards, Edwin Sendjaja Am Samstag, 12. April 2008 19:40:03 schrieb Edwin Sendjaja: > Does anyone know how to solve this. I am so despe

Re: [R] Mapping file-Legend- from 2 Files/Tables

2008-04-12 Thread Edwin Sendjaja
Does anyone know how to solve this. I am so desperate. I'd be terribly grateful for any help. Am Samstag, 12. April 2008 05:19:16 schrieb Edwin Sendjaja: > Hello, > > I have got 2 Tables from different files: > > Table 1 (lets say file: Salesman.data) > &g

[R] Mapping file-Legend- from 2 Files/Tables

2008-04-11 Thread Edwin Sendjaja
ion. because it replaces only 1 values. Kind Regards, Edwin Sendjaja __ 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-guide.html and provide commented

Re: [R] Legend position outside

2008-04-11 Thread Edwin Sendjaja
Hello Gred, I try to read R-Reference, but I cant understand it. What does par (xpd=NA)? and par('usr')) mean? Thank you. Kind regards, Edwin Am Freitag, 11. April 2008 19:19:24 schrieben Sie: > Yes, here is one way: > > plot(1:10, pch=1:2) > > par(xpd=NA) > > tmp.u <- par('usr') > > l

[R] Legend position outside

2008-04-11 Thread Edwin Sendjaja
Hello, Is it possible to get the legend box outside the graphic? Kind regards, Edwin __ 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-guide.html and pr

[R] Legend position outside

2008-04-11 Thread Edwin Sendjaja
Hello, Is it possible to get the legend box outside the graphic? Kind regards, Edwin __ 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-guide.html and pr

Re: [R] Hex Decimal Convert

2008-04-07 Thread Edwin Sendjaja
Dear John, Am Montag, 7. April 2008 01:43:07 schrieb John Fox: > Dear Edwin, > > On Mon, 7 Apr 2008 01:14:35 +0100 > > Edwin Sendjaja <[EMAIL PROTECTED]> wrote: > > Dear John, > > > > Thank you. > > > > Is there any possibility to get ori

Re: [R] Hex Decimal Convert

2008-04-06 Thread Edwin Sendjaja
;hexmode" > > data > > [1] "19a5" "47780439" "" "" "" > > Notice that the whole vector is printed in hex. If you don't want that, > then you could put the data into a list with some m

[R] Hex Decimal Convert

2008-04-06 Thread Edwin Sendjaja
Hello, I have a data with hexdecimal. But GNU R convert it to strange number. How can I get that hexdecimal showing in the R-table? - My Data-Table: Sender_ID Receiver_ID Other_ID 6565 0x477

[R] Hex Decimal Convert

2008-04-06 Thread Edwin Sendjaja
Hello, I have a data with hexdecimal. But GNU R convert it to strange number. How can I get that hexdecimal showing in the R-table? --- -- My Data-Table: Sender_ID Receiver_ID Other_ID 6565 0x47

[R] Shell Bash with R

2007-10-31 Thread Edwin Sendjaja
Hello, I try to write a bash skript and I want to use the variables from my bash skript into R. Ist that possible? My bash skript creates lots of *.data files. I want forward these files directly into R (in x.data.bz2), so that R creates a few data automatically also in PDF. For example: ba