[R] file.show() may have some bug?

peter dalgaard pdalgd at gmail.com
Thu Aug 21 10:40:10 CEST 2014


On 21 Aug 2014, at 10:13 , Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

> On 21/08/2014 08:50, PO SU wrote:
>> 
>> 
>> 
>> Sorry for my bad typing, file.show("xxx.h") still not work.
> 
> But note that file.show() uses facilities of the front-end, so report RStudio problems to them not the R community.
> 
> Also note that the posting guide asked you to update before posting: your R is 3 versions old.


And it does seem to work in R-3.1.1/Rstudio 0.98.939 (the latter is in for an update, but hey, preachers can't be practitioners...).

-pd

> 
>> 
>> 
>> --
>> 
>> PO SU
>> mail: desolator88 at 163.com
>> Majored in Statistics from SJTU
>> 
>> 
>> 
>> At 2014-08-21 03:12:06, "Berend Hasselman" <bhh at xs4all.nl> wrote:
>>> 
>>> On 21-08-2014, at 05:19, PO SU <rhelpmaillist at 163.com> wrote:
>>> 
>>>> Dear Rusers,
>>>>   when i try file.show(" xxx.h") in Rstudio which using R3.0.2, it doesn't show anything. But when i use file.edit("xxx.h"),it shows the right file,  It is the same thing happen to xxx.c file.
>>>> May you explain it to me?
>>>> 
>>> 
>>> How about leaving out the space in file.show(" xxx.h”)?
>>> Use file.show("xxx.h”)
>>> 
>>> Berend
>>> 
>> ______________________________________________
>> 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.
>> 
> 
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
> 1 South Parks Road, Oxford OX1 3TG, UK
> 
> ______________________________________________
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list