Re: [R] the quote problem with readLines()

2009-03-19 Thread Dongyan Song
Hi Jim, Finally, I got the result I want, thanks a lot! Best, Dongyan jholtman wrote: > > Check out this reference: > > http://tolstoy.newcastle.edu.au/R/e2/help/07/02/9709.html > > > > On Wed, Mar 18, 2009 at 11:16 AM, Dongyan Song > wrote: >> >&g

Re: [R] the quote problem with readLines()

2009-03-18 Thread Dongyan Song
nal result. > On Wed, Mar 18, 2009 at 9:58 AM, Dongyan Song > wrote: >> >> Hi, >> >> Thank you for your concern! >> >> The file has 136,047,472 lines, with one value in each line, and is 1.7G >> in >> size. I run in a Linux (OpenSuse OS) with 4

Re: [R] the quote problem with readLines()

2009-03-18 Thread Dongyan Song
ere is still some > information you need to provide so an assessment can be made. > > On Tue, Mar 17, 2009 at 8:50 AM, Dongyan Song > wrote: >> >> Dear all, >> >> I read a file with all numbers with readLines function, as below, >>> f <- file(&qu

[R] the quote problem with readLines()

2009-03-17 Thread Dongyan Song
Dear all, I read a file with all numbers with readLines function, as below, > f <- file("data.txt") > a <- readLines(f) but all the values in a are in format "", and I cannot do the calculation with them since they are not numeric. I wonder how should I skip those quotes, thank you for help!

Re: [R] errors when install RSQLite

2009-03-17 Thread Dongyan Song
nggui-2 wrote: > > It seems you use Unix-like OS. Does it happen that you did not use > root to install the package? BTW, RSQLite does not require sqlite > installed separately, it is embedded in the package. > > Best > > 2009/3/17 Dongyan Song : >> >> Dear all

[R] errors when install RSQLite

2009-03-16 Thread Dongyan Song
-1.tar.gz # R CMD INSTALL --configure-args=--with-sqlite-dir=/usr/bin RSQLite_0.7-1.tar.gz and all of them gave similar error messages. I have sqlite installed in my computer, in the directory /usr/bin, and I do not have a clue how to install it then. Thank you for help! Best, Dongya

[R] How to read large file

2009-03-16 Thread Dongyan Song
-22) i686-pc-linux-gnu > mem.limits() nsize vsize NANA and the computer I use has 4G memory in total. Thank you very much! Dongyan Song -- View this message in context: http://www.nabble.com/How-to-read-large-file-tp22540291p22540291.html Sent from the R help mailing list arch