[R] R Help

David Barron mothsailor at googlemail.com
Sat Nov 11 20:17:40 CET 2006


d <- read.table("lahore.txt", header=TRUE)

On 11/11/06, amna khan <amnakhan493 at gmail.com> 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
>
>
> ______________________________________________
> 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.
>
>
>
>


-- 
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP



More information about the R-help mailing list