Re: [R] Novice question about getting data into R

2012-06-22 Thread Petr PIKAL
Hi > > Dear Petr, >   > Thank you very much for reply. You cannot read the Chinese characters may Yes, and I cannot install it either. > be because you don't have install this language. Do you have any idea how > solve this problem? Or who can help me? May I install Linux? What problem?

Re: [R] Novice question about getting data into R

2012-06-21 Thread schmaltz
Dear Petr,   Thank you very much for reply. You cannot read the Chinese characters may be because you don't have install this language. Do you have any idea how solve this problem? Or who can help me? May I install Linux?   Best regards, Ms. Márcia Schmaltz 修安琪 Departamento de Portugu

Re: [R] Novice question about getting data into R

2012-06-21 Thread Petr PIKAL
Hi I can read the example you provided without much problem. dput(head(test)) structure(list(n = 0:5, X = c(NA, NA, NA, NA, NA, NA), start = c(11185L, 39530L, 40544L, 109684L, 114629L, 118841L), X.1 = c(NA, NA, NA, NA, NA, NA), dur = c(1L, 2L, 1L, 1L, 0L, 1L), X.2 = c(NA, NA, NA, NA, NA, NA),

Re: [R] Novice question about getting data into R

2012-06-20 Thread schmaltz
Dear Professor Daalgard, I beginning to participate in one research of statiscal modelling of translators'activity data, and recently install R and try to generate the one Translation Progress Graph, as my colleagues do (with sucess), but in my Windows platform was found the error below. According

Re: [R] Novice question about getting data into R

2008-09-19 Thread Ted Byers
Thanks one and all. Actually, I used OpenOffice's spreadsheet to creat the csv file, but I have been using it long enough to know to specify how I wanted it, and sometimes, when that proves annoying, I'll use Perl to finess it the way I want it. It seems my principle error was to assume that it

Re: [R] Novice question about getting data into R

2008-09-19 Thread Tom Backer Johnsen
Silvia Lomascolo wrote: refdata = read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header = TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 42 elements refdata = read.table("K:\\MerchantData\\RiskModel\\refund_distrib

Re: [R] Novice question about getting data into R

2008-09-19 Thread Silvia Lomascolo
> refdata = > read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header > = TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 42 elements > refdata = > read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv") Error

Re: [R] Novice question about getting data into R

2008-09-19 Thread John Kane
Try read.csv("K:\\MerchantData\\RiskModel\\refund_distribution.csv",header = TRUE) --- On Fri, 9/19/08, Ted Byers <[EMAIL PROTECTED]> wrote: > From: Ted Byers <[EMAIL PROTECTED]> > Subject: [R] Novice question about getting data into R > To: r-help@r-project.or

Re: [R] Novice question about getting data into R

2008-09-19 Thread Peter Dalgaard
Ted Byers wrote: > I found it easy to use R when typing data manually into it. Now I need to > read data from a file, and I get the following errors: > > >> refdata = >> read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header >> = TRUE) >> > Error in scan(file, what, nmax

Re: [R] Novice question about getting data into R

2008-09-19 Thread Duncan Murdoch
On 9/19/2008 1:01 PM, Ted Byers wrote: I found it easy to use R when typing data manually into it. Now I need to read data from a file, and I get the following errors: refdata = read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header = TRUE) If your file is really a comma s

[R] Novice question about getting data into R

2008-09-19 Thread Ted Byers
I found it easy to use R when typing data manually into it. Now I need to read data from a file, and I get the following errors: > refdata = > read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header > = TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.str