*I am a very new user of R. I've spent several hours trying to import
data, I am successful in importing data from Excel. After having the data on
R console, I am not understanding how to make a file for imported data,so I
feel okay asking the list for help. *
*I have used save workspace option from file menu. but when i have to use
that saved workspace in extReme toolkit using read data option from file
menu I am getting the following messages*
**
*Error in read.table("C:/Program Files/R/R-2.4.0/Rainfall
Data/lahore", :
more columns than column names
In addition: Warning message:
incomplete final line found by readTableHeader on 'C:/Program Files/R/R-
2.4.0/Rainfall Data/lahore'
Error in parse(file, n = -1, NULL, "?") : syntax error*
**
*I request you to please guide to me.*
*Regards
*AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493@gmail.com
amna_989@hotmail.com
amna_989@yahoo.com
[[alternative HTML version deleted]]
Respected Sir I am very new user of R language. Sir i am facing problems in learning R language reading manuals. Sir is there any possibility of learning it by some tutor online? Sir my research work is going to be late because of not having understanding of R. After a long struggle, I am just able to import data. But i am unable to save it as a data file. Sir I request you to please give me some instructions. And how I can make it easier for learning it. I shall be very thank ful to you for your help. Regards -- AMINA SHAHZADI Department of Statistics GC University Lahore, Pakistan. Email: amnakhan493@gmail.com amna_989@hotmail.com amna_989@yahoo.com [[alternative HTML version deleted]]
Respected Sir
I request you to please fill the following read.table function and
read.csvfor my understanding by assuming my data attached with this
maiL, because I
am fail to run these functions using manual guidlines.
read.table(file, header = FALSE, sep = "", quote =
"\"'",
dec = ".", row.names, col.names,
as.is = !stringsAsFactors,
na.strings = "NA", colClasses = NA, nrows = -1,
skip = 0, check.names = TRUE, fill = !blank.lines.skip,
strip.white = FALSE, blank.lines.skip = TRUE,
comment.char = "#", allowEscapes = FALSE, flush = FALSE,
stringsAsFactors = default.stringsAsFactors())
read.csv(file, header = TRUE, sep = ",", quote="\"",
dec=".",
fill = TRUE, comment.char="", ...)
read.delim(file, header = TRUE, sep = "\t", quote="\"",
dec=".",
fill = TRUE, comment.char="", ...)
I shall be really thankful to you.
REGARDS
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493 at gmail.com
amna_989 at hotmail.com
amna_989 at yahoo.com
-------------- next part --------------
Years lrmax n1 n2 n3 n4 arranged
1980 207.6 25 24 23 22 29.4
1981 92.7 24 23 22 21 49.4
1982 67.5 23 22 21 20 55.1
1983 93.8 22 21 20 19 58
1984 60.6 21 20 19 18 59
1985 117.4 20 19 18 17 59.1
1986 65.3 19 18 17 16 60.6
1987 59.1 18 17 16 15 65.3
1988 76.9 17 16 15 14 67.5
1989 123.1 16 15 14 13 69.6
1990 83.1 15 14 13 12 75.7
1991 75.7 14 13 12 11 76.8
1992 69.6 13 12 11 10 76.9
1993 55.1 12 11 10 9 83.1
1994 49.4 11 10 9 8 84.2
1995 76.8 10 9 8 7 87
1996 189.7 9 8 7 6 88.2
1997 151.1 8 7 6 5 92.7
1998 59 7 6 5 4 93.8
1999 88.2 6 5 4 3 110
2000 110 5 4 3 2 117.4
2001 87 4 3 2 1 123.1
2002 29.4 3 2 1 0 136.8
2003 84.2 2 1 0 0 151.1
2004 58 1 0 0 0 189.7
2005 136.8 0 0 0 0 207.6