[R] R Help

Benilton Carvalho bcarvalh at jhsph.edu
Sat Nov 11 20:31:49 CET 2006


data = read.delim("lahore.txt")

is enough for what you want to do.

b

On Nov 11, 2006, at 2:11 PM, amna khan wrote:

> 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
> <lahore.txt>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list