Re: [R] Error: cannot allocate vector of size X.0 Mb

2010-09-15 Thread John1983
Thank you all for the suggestions. We do intend to get more RAM space. Meanwhile I shall have a look at the ShortRead package features. -- View this message in context: http://r.789695.n4.nabble.com/Error-cannot-allocate-vector-of-size-X-0-Mb-tp2539031p2540518.html Sent from the R help mailing

Re: [R] Error: cannot allocate vector of size X.0 Mb

2010-09-14 Thread John1983
Yes I see. So I typed as you mentioned and I get an 8 (therefore this is a 64-bit R). Is there anything else I need to check to remove this error? -- View this message in context: http://r.789695.n4.nabble.com/Error-cannot-allocate-vector-of-size-X-0-Mb-tp2539031p2539078.html Sent from the R h

[R] Error: cannot allocate vector of size X.0 Mb

2010-09-14 Thread John1983
Hi, I am working with a file (900MB in size) that has around 10 million records (in particular FASTQ records). I am able to read in the file as an object of BStringSet. When I start to manipulate the data, after almost 4 hours, I get the error message as Error: cannot allocate vector of size X.0

Re: [R] "ACCTGMX" to "1223400" in R?

2010-07-21 Thread John1983
Dear all, Thank you for the help. Yes I should have posted in the Bioconductor's forum. Next time I sure will. The chartr function helped and now the code is significantly faster. I have also used the Bstrings as suggested by Martin. Thank you again. -- View this message in context: http://r.78

[R] "ACCTGMX" to "1223400" in R?

2010-07-19 Thread John1983
Hi, I am a newbie in R and was working on some DNA data represented as strings of A,C,T and G (also wild-character like M and X). I use the Bioconductor package in R. Currently I need to convert a string of the form "ACCTGMX" to "1223400" i.e. A is replaced by 1, C with 2, T with 3, G with 4 and