Skip to content

large dataset - confused

7 messages · walcotteric, Brian Ripley, Brian G. Peterson +3 more

#
I'm trying to load a dataset into R, but I'm completely lost. This is
probably due mostly to the fact that I'm a complete R newb, but it's got me
stuck in  a research project. 
I've tried just opening the text file in WordPad and copying the data
directly into R, but it's too big and causes the program to crash. 

Any suggestions or assistance? I'm kinda desperate and lost. 



--
View this message in context: http://r.789695.n4.nabble.com/large-dataset-confused-tp4637476.html
Sent from the R devel mailing list archive at Nabble.com.
#
On 23/07/2012 18:32, walcotteric wrote:
Yes, you are lost. The R posting guide is at 
http://www.r-project.org/posting-guide.html and will point you to the 
right list and also the manuals (at e.g. 
http://cran.r-project.org/manuals.html, and one of them seems exactly 
what you need).

BTW, 'large dataset' is meaningless: when I asked a class of Statistics 
PhD students the answers differed by 7 orders of magnitude.
#
On 07/23/2012 12:32 PM, walcotteric wrote:
Check the manual about loading data:

http://cran.r-project.org/doc/manuals/R-data.html

If you're still having trouble, read the posting guide:

http://www.r-project.org/posting-guide.html

Follow its advice about reproducibility.

Also, this question should have been directed to R-Help, not R-devel

Regards,

    - Brian
#
1) Move this off R-devel to R-help.

2) Read the IO manual here: http://cran.r-project.org/manuals.html

3) You probably want to look at the read.table() function's help page
by typing ?read.table

Michael
On Mon, Jul 23, 2012 at 12:32 PM, walcotteric <walcott3 at msu.edu> wrote:
#
Hi,
On Mon, Jul 23, 2012 at 1:32 PM, walcotteric <walcott3 at msu.edu> wrote:
Sure. First of all, you  need to post to the R-help list, not the R-devel list.

Then you need to read the Intro to R that came with R when you installed it.

Then you need to read the posting guide for R-help, and provide the
requested information, including:
how big is your dataset?
what format is it in? (text file isn't very informative)
what R commands have you used? (read.table() perhaps)
and so on.

Also, what do you mean by "crash"? R stops working? You get an error message?

Sarah
#
On Mon, Jul 23, 2012 at 06:42:17PM +0100, Prof Brian Ripley wrote:
[...]
[...]

lol

But isn't 7 a "small" number? ;-)

Ciao,
   Oliver
#
On Mon, Jul 23, 2012 at 10:32:42AM -0700, walcotteric wrote:
[...]

Hmhh, becoming stuck in a "research project", because you are a "complete R newb"?
Strange.... what kind of working style is this?
What about first learning the tools you use?
[...]

OMFG
Looks like this is completely caused by yourself.

Check your working style...

....and follow the hints to the docs that other people
on this list suggested to you.

There are a lot of good documentatiuons online.
Even books for R are available. Look at the library
of your "research institute"...

Ciao,
   Oliver