Re: [R] File path expansion

2007-05-28 Thread Prof Brian Ripley
On Mon, 28 May 2007, Martin Maechler wrote: >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Fri, 25 May 2007 15:38:54 -0400 writes: > >Duncan> On 5/25/2007 1:09 PM, Prof Brian Ripley wrote: >>> On Fri, 25 May 2007, Martin Maechler wrote: >>> >>>> > path.

Re: [R] File path expansion

2007-05-28 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Fri, 25 May 2007 15:38:54 -0400 writes: Duncan> On 5/25/2007 1:09 PM, Prof Brian Ripley wrote: >> On Fri, 25 May 2007, Martin Maechler wrote: >> >>> path.expand("~") >>> [1] "/home/maechler" >> Yes

Re: [R] File path expansion

2007-05-25 Thread Duncan Murdoch
On 5/25/2007 1:09 PM, Prof Brian Ripley wrote: > On Fri, 25 May 2007, Martin Maechler wrote: > >> >>> path.expand("~") >> [1] "/home/maechler" > > Yes, but beware that may not do what you want on Windows in R <= 2.5.0, > since someone changed the definition of 'home' but not path.expand. A more

Re: [R] File path expansion

2007-05-25 Thread Prof Brian Ripley
On Fri, 25 May 2007, Martin Maechler wrote: > >> path.expand("~") > [1] "/home/maechler" Yes, but beware that may not do what you want on Windows in R <= 2.5.0, since someone changed the definition of 'home' but not path.expand. > >> "RobMcG" == McGehee, Robert <[EMAIL PROTECTED]> >>

Re: [R] File path expansion

2007-05-25 Thread Martin Maechler
> path.expand("~") [1] "/home/maechler" > "RobMcG" == McGehee, Robert <[EMAIL PROTECTED]> > on Fri, 25 May 2007 11:44:27 -0400 writes: RobMcG> R-Help, RobMcG> I discovered a "mis-feature" is ghostscript, which is used by the bitmap RobMcG> function. It seems that specify

Re: [R] File path expansion

2007-05-25 Thread Gabor Grothendieck
Try ?path.expand On 5/25/07, McGehee, Robert <[EMAIL PROTECTED]> wrote: > R-Help, > I discovered a "mis-feature" is ghostscript, which is used by the bitmap > function. It seems that specifying file names in the form "~/abc.png" > rather than "/home/directory/abc.png" causes my GS to crash when I

[R] File path expansion

2007-05-25 Thread McGehee, Robert
R-Help, I discovered a "mis-feature" is ghostscript, which is used by the bitmap function. It seems that specifying file names in the form "~/abc.png" rather than "/home/directory/abc.png" causes my GS to crash when I open the bitmap device on my Linux box. The easiest solution would seem to be to