From jago@mclink.it  Wed Jan 22 09:31:03 2003
From: jago@mclink.it (Stefano Iacus)
Date: Wed Jan 22 09:31:03 2003
Subject: [Rd] Macintosh rm162 fails read.table() from sample (PR#2485)
In-Reply-To: <200301220107.CAA21995@pubhealth.ku.dk>
Message-ID: <388E2242-2DE3-11D7-A4CF-003065CC4CB8@mclink.it>

On Mercoled, gen 22, 2003, at 02:07 Europe/Rome, iceman@prado.com 
wrote:

> Full_Name: Chris Yager
> Version: rm162
> OS: Mac OS 9.2.2
> Submission from: (NULL) (67.117.145.197)
>
>
> As a new user I was running A sample session  from Appendix A  of  An
> Introduction  to R.  'mm<-read.table("morley.tab")'  failed.  Note 
> that the
> prior command, 'file.show("morley.tab")', succeeded.  Problem does NOT 
> occur in
> version rm161.

This is a known bug introduced in R 1.6.2 and it is cross-platform (see 
PR#2469 as Brian pointed out).

I'll provide a patch for this soon.

Stefano

> NO other bug reports seem relevant.
> Contents of my window follow, then contents of 'R.bug.report' follows 
> that.
> #======
>
> R : Copyright 2003, The R Development Core Team
> Version 1.6.2  (2003-01-10)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type `license()' or `licence()' for distribution details.
>
> R is a collaborative project with many contributors.
> Type `contributors()' for more information.
>
> Type `demo()' for some demos, `help()' for on-line help, or
> `help.start()' for a HTML browser interface to help.
> Type `q()' to quit R.
>
>> getwd()
> [1] "Macintosh HD:Users:Bio:Documents:Intro BioStat:R:sample:"
>> file.show("morley.tab")
>> mm<-read.table("morley.tab")
> Error in scan(file = file, what = what, sep = sep, quote = quote, dec 
> = dec,  :
>
> 	line 1 did not have 4 elements
>> help.start()
> If nothing happens, you have to open ` Macintosh HD:Applications (Mac 
> OS
> 9):R:rm162:doc:html:index.html ' yourself
>> bug.report()
> Error in system(call, intern) :
>  The function "system" is not implemented on Macintosh
>>
>
> #======
>
> # Your mailer is set to "none" (default on Windows),
> # hence we cannot send the bug report directly from R.
> # Please copy the bug report (after finishing it) to
> # your favorite email program and send it to
> #
> #       r-bugs@r-project.org
> #
> ######################################################
>
>
>
> <<insert bug report here>>
>
>
>
> --please do not edit the information below--
>
> Version:
>  platform = ppc-apple-macos
>  arch = ppc
>  os = MacOS
>  system = ppc, MacOS
>  status =
>  major = 1
>  minor = 6.2
>  year = 2003
>  month = 01
>  day = 10
>  language = R
>
> Search Path:
>  .GlobalEnv, package:ctest, Autoloads, package:base
>
> #=====
>
> Your faithful frog,
> Chris Yager
> "Love 'dem bugs"
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>



[Rd] Macintosh rm162 fails read.table() from sample (PR#2485)
Stefano Iacus