[R] Best Hardware & OS For Large Data Sets

2010-02-27 Thread J. Daniel
Greetings, I am acquiring a new computer in order to conduct data analysis. I currently have a 32-bit Vista OS with 3G of RAM and I consistently run into memory allocation problems. I will likely be required to run Windows 7 on the new system, but have flexibility as far as hardware goes. Can

[R] merge on non-identical names

2009-11-24 Thread j daniel
Greetings, I need to conduct a merge on two databases containing information on organizations, but the organization names are often non-identical and there is no common unique identifier. Does anyone know a good way to calculate a similarity measure on two names, or even better is there a natura

[R] re ading tokens

2009-11-02 Thread j daniel
Greetings, I am not familiar with processing text in R. Can someone tell me how to read each line of words as separate elements in a list? FE, I would like to turn: word1 word2 word3 word2 word4 into a list of length two with three character elements in the first list and two elements in the

[R] pdf creation error

2008-10-21 Thread j daniel
Hello - I am trying to create a pdf file in R, but I keep getting an error that says it cannot open the pdf device. Here is the code and output: > pdf(file="test.pdf") Error in pdf(file = "test.pdf") : unable to start device pdf In addition: Warning message: In pdf(file = "test.pdf") : cannot o

[R] casting a character vector as an object

2008-09-16 Thread j daniel
Greetings, I need to compare the ratios of vector sizes like this: length(object1) / length(object2) I have many vector objects to compare, so I would like to do it in a loop. I created a loop like this: mat1 <- matrix() for (i in 1:6) { for (j in 1:6) { mat1[i,j] <-