Re: [R] character type and memory usage

2015-01-17 Thread Martin Morgan
On 01/16/2015 10:21 PM, Mike Miller wrote: First, a very easy question: What is the difference between using what=character and what=character() in scan()? What is the reason for the character() syntax? I am working with some character vectors that are up to about 27.5 million elements long.

[R] character type and memory usage

2015-01-16 Thread Mike Miller
First, a very easy question: What is the difference between using what=character and what=character() in scan()? What is the reason for the character() syntax? I am working with some character vectors that are up to about 27.5 million elements long. The elements are always unique.