[R] a simple question of importing data

Charles Danko dankoc at gmail.com
Thu Apr 24 21:53:58 CEST 2008


try:
var <- read.table("weekly.txt", sep="\t", header=TRUE)

Charles

On Thu, Apr 24, 2008 at 3:29 PM, tzsmile <rz2171 at yahoo.com> wrote:
>
>  i just want to read data from Excel and i copied it and pasted into a txt
>  file.
>  then i want to use "read.table" to read it. but however i tried, it doesn't
>  work.
>  can someone help me?
>  data is attached.
>  thanks http://www.nabble.com/file/p16851853/weekly.txt weekly.txt
>  --
>  View this message in context: http://www.nabble.com/a-simple-question-of-importing-data-tp16851853p16851853.html
>  Sent from the R help mailing list archive at Nabble.com.
>
>  ______________________________________________
>  R-help at r-project.org 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