Re: [R] read.delim skips first column (why?)

2009-07-15 Thread Paolo Sonego
This should work: junk -read.table(fd0edfab.txt, sep=, header=T, fill=F,quote= ) HIH Paolo Sonego __ 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

[R] vector and NA

2009-06-23 Thread Paolo Sonego
as.vector(na.omit(inc[,5]) ?na.omit Paolo Hi, I've a vector like this: -- inc[,5] [1]NANANANANANANA [8]NANANANANANANA

Re: [R] Get user system name

2009-03-17 Thread Paolo Sonego
UNIX only (At least it works under Linux and Mac OS X): (user - system(users, intern=T)) Paolo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Sweave, Bibtex, package references

2008-10-29 Thread Paolo Sonego
and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: Paolo Sonego [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 28 oktober 2008 18:08 Aan: ONKELINX, Thierry CC: R-List Help - use this to post

[R] Sweave, Bibtex, package references

2008-10-28 Thread Paolo Sonego
Dear all, I'm a big fan and happy user of the Sweave package for routine reporting. From inside a .Rnw script, I'd like to produce the references in bibtex format for each package loaded in the environment, write them in a .bib file and load them back from the \bibliography{bibliography}

Re: [R] Sweave, Bibtex, package references

2008-10-28 Thread Paolo Sonego
of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Paolo Sonego Verzonden: dinsdag 28 oktober 2008 12:41 Aan: R-List Help - use this to post Onderwerp: [R] Sweave, Bibtex, package references Dear all, I'm a big fan and happy user

Re: [R] Parsing

2008-07-10 Thread Paolo Sonego
Thank you Martin! This code is amazing! SO fast! Exactly what i was looking for! Parsing ~8M lines (~ 600M file size) took about 45s on a Xeon 3,4 Ghz (8 Gb). Thank you so much! Sincerely, Paolo Martin Morgan ha scritto: Paolo Sonego [EMAIL PROTECTED] writes: I apologize for giving

[R] Parsing

2008-07-09 Thread Paolo Sonego
Dear R users, I have a big text file formatted like this: x x_string y y_string id1id1_string id2id2_string z z_string w w_string stuff stuff stuff stuff stuff stuff stuff stuff stuff // x x_string1 y y_string1 z z_string1 w w_string1 stuff

Re: [R] Parsing

2008-07-09 Thread Paolo Sonego
I apologize for giving wrong information again ... :-[ The number of files is not a problem (30/40). The real deal is that some of my files have ~10^6 lines (file size ~ 300/400M) :'( Thanks again for your help and advices! Regards, Paolo jim holtman ha scritto: How much time is it