From erich.neuwirth at univie.ac.at  Sat May 22 16:45:27 2010
From: erich.neuwirth at univie.ac.at (Erich Neuwirth)
Date: Sat, 22 May 2010 16:45:27 +0200
Subject: [Rd] exmaple problems
In-Reply-To: <4BF7E54A.9060007@univie.ac.at>
References: <4BF7E54A.9060007@univie.ac.at>
Message-ID: <4BF7EE07.90208@univie.ac.at>

The problem still exists in the beta of R 2.11.1 I just build from the
sources. (WinXP)

R version 2.11.1 beta (2006-00-00 r00000)


On 5/22/2010 4:08 PM, Erich Neuwirth wrote:
> I do not know if this has been reported already
> (I searched the headers of the recent messages to r-devel)
> It seems that 'example' in R 2.11.0 has a problem when the help file
> does not contain any example.
> This is what happens on R 2.11.0 on Windows XP.
> 
>> library(tools)
>> example(Rdiff)
> Error in file(con, "r") : cannot open the connection
> In addition: Warning message:
> In file(con, "r") :
>   cannot open file
> 'C:\DOCUME~1\neuwirth\LOCALS~1\Temp\RtmpmknOJe\Rex678418be': No such
> file or directory
> 
> The error does not occur when there is an example marked #Not Run:
> 
> The problem does not appear in R 2.10.1
>> library(tools)
>> example(Rdiff)
> Warning message:
> In example(Rdiff) : 'Rdiff' has a help file but no examples
>>
> 
> 

-- 
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Center for Computer Science Didactics and Learning Research
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39902 Fax: +43-1-4277-39459



[Rd] exmaple problems
Erich Neuwirth