Re: [R] read.table(..)..Help?

2003-11-20 Thread Ko-Kang Kevin Wang
On Thu, 20 Nov 2003, forkusam wrote: Hi; Thanks for the quick reply. I am presently not sittinh infront of my computer so I can't tell you the exact error message but. I have read through the documentation and have found nothing of help. Yes. the columns are separated by semicolons

Re: [R] read.table(..)..Help?

2003-11-20 Thread Philipp Pagel
On Wed, Nov 19, 2003 at 11:11:27PM -0800, forkusam wrote: p-read.table(file=FILENAME , header=TRUE,sep=;) and later used the data.Frame() function. It functions when the file has only a row of variables. It is not at all clear to me what you are doing and what is going wrong. Please provide

Re: [R] read.table: check.names arg - feature request

2003-09-04 Thread Martin Maechler
Vadim == Vadim Ogranovich [EMAIL PROTECTED] on Wed, 3 Sep 2003 14:29:25 -0700 writes: Vadim Hi, I thought it would be convenient if the Vadim check.names argument to read.table, which currently Vadim can only be TRUE/FALSE, could take a function value Vadim as well. If the

RE: [R] read.table: check.names arg - feature request

2003-09-04 Thread Vadim Ogranovich
Ogranovich Cc: R-Help (E-mail) Subject: Re: [R] read.table: check.names arg - feature request Vadim == Vadim Ogranovich [EMAIL PROTECTED] on Wed, 3 Sep 2003 14:29:25 -0700 writes: Vadim Hi, I thought it would be convenient if the Vadim check.names argument to read.table, which

RE: [R] read.table: check.names arg - feature request

2003-09-04 Thread Marc Schwartz
On Thu, 2003-09-04 at 12:00, Vadim Ogranovich wrote: I admit I should have been more clear in my original posting. Let me try again (and I do know that by deafulat read.table discards everything after '#' which is why I use comment.char=, my bad not to mention this). Here is a typical

Re: [R] read.table

2003-04-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Group members, I am using read.table() to read in ASCII data into a data frame. The file has multiple columns that are not the same length. The function gives me errors, or I get 'NA' characters in the blank fields. I want to read these values in to, e.g., perform a

Re: [R] read.table

2003-04-01 Thread Prof Brian Ripley
On Wed, 2 Apr 2003, Prof Brian Ripley wrote: On Tue, 1 Apr 2003 [EMAIL PROTECTED] wrote: I am using read.table() to read in ASCII data into a data frame. The file has multiple columns that are not the same length. The function gives me errors, or I get 'NA' characters in the blank

[R] read.table command in Rweb

2003-03-30 Thread akira . onozuka . ao
Dear Readers, I amd not so sure if this is the best site to ask this question, but does anybody know why Rweb can't recognize read.table command? I installed Rweb on local host machine. I made this input file as '/tmp/data.txt'. abcd a0132 b1011

RE: [R] Read.table problem

2003-02-03 Thread Bøthun, Gjermund
- Original Message - From: ptremb17 [EMAIL PROTECTED] length(varnames) = 9 length(c(F,T,F,F,F,F,F,F,F,F))) = 10 To: R-HELP [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 3:24 AM Subject: [R] Read.table problem Hi ! I am new to R, and using the MAC version onto Mac OS 9.1. My

Re: [R] Read.table problem

2003-02-01 Thread ripley
- Original Message - From: ptremb17 [EMAIL PROTECTED] To: R-HELP [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 3:24 AM Subject: [R] Read.table problem Hi ! I am new to R, and using the MAC version onto Mac OS 9.1. My question concerns the problem I encounter when I try

[R] Read.table problem

2003-01-31 Thread ptremb17
Hi ! I am new to R, and using the MAC version onto Mac OS 9.1. My question concerns the problem I encounter when I try to read some data I have using the read.table function. I always get an error of type : Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :

Re: [R] Read.table for macs

2003-01-24 Thread cstrato
I agree with you. For the same purpose I use Text-Edit Plus, which is also free and in my opinion is the best all-purpose text editor on any platform (but sorrowly not for programming). Best regards Christian Stratowa Paul Pynsent wrote: I detect an anti Mac theme, I do not wish to attribute

[R] Read.table for macs

2003-01-23 Thread Grum, Mikkel [IPGRI-SSA-Nairobi]
Hamish, I suspect your problem might be with Excel. try copying the data (and just your data) to a clean spreadsheet and then save to a tab-delimited text file. Removes all sorts of unwanted invisible garbage. Then import into R with: test-read.table(test.txt, header=T, sep=\t) Mikkel

Re: [R] Read.table for macs

2003-01-23 Thread David Orlovich
Mikkel As mentioned earlier it's a known, (now fixed) bug. Last night I compiled a new copy of the R-1.6.2 source with the current patch set installed first and it works fine under Darwin/X11 on my (excellent) G4/400 Mac. I just tried reading in a dummy file and it seems to read the file

Re: [R] Read.table for macs

2003-01-22 Thread Paul Pynsent
I detect an anti Mac theme, I do not wish to attribute blame but suggest that Excel does funny things when it dumps tab separated text files, like adding unprintable characters and trailing spaces. My approach is to use BBedit (which is free) to: 1) zap gremlins 2) globally substitute \ \t for

Re: [R] Read.table for macs

2003-01-21 Thread Andrew C. Ward
Hamish, I usually save Excel files as CSV, and then use read.csv() to get them into R. Also, there are variants of read.table() that seem more successful at reading in delimited files (see read.delim, read.delim2). Regards, Andrew C. Ward CAPE Centre Department of Chemical Engineering The

RE: [R] Read.table for macs

2003-01-21 Thread Henrik Bengtsson
they might be able to help you out if you tell them what version you are running. What does R.Version() say? Henrik Bengtsson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Hamish McCallum Sent: den 22 januari 2003 16:10 To: [EMAIL PROTECTED] Subject: [R

RE: [R] Read.table for macs

2003-01-21 Thread ripley
? Henrik Bengtsson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Hamish McCallum Sent: den 22 januari 2003 16:10 To: [EMAIL PROTECTED] Subject: [R] Read.table for macs Dear All, I've been using R for windows for a while, without

[R] read.table(file=clipboard,...) for R?

2003-01-20 Thread David Parkhurst
I use read.table(file=clipboard,...) a lot in s-plus (under windows 2000), but it does not seem to work in R (and is not in the help screen for read.table). Am I missing something? Would this ability be hard to add? Thanks. Dave Parkhurst __ [EMAIL

Re: [R] read.table(file=clipboard,...) for R?

2003-01-20 Thread Prof Brian D Ripley
On Mon, 20 Jan 2003, Prof Brian D Ripley wrote: On Mon, 20 Jan 2003, David Parkhurst wrote: I use read.table(file=clipboard,...) a lot in s-plus (under windows 2000), but it does not seem to work in R (and is not in the help screen for read.table). Am I missing something? Would this

<    1   2