Relative paths are not a mystery nor are they solely an aspect of linux.
They are in fact the norm in DOS and Windows as well as in Linux or
any other file system that use a tree structure.
Oh, is that all! I just never thought of that behaviour as 'relative paths'
just as something that one
On Thu, 3 May 2012 10:50:46 -0800
John Kane jrkrid...@inbox.com wrote:
Thanks Jeff and Sarah.
I was thinking mainly of using the base path and paste routine which
is something I do in Windows
It will take me a while to figrue out relative paths.
Relative paths are not a mystery
I am the proud owner of a new laptop since my old one died the other day.
Currently I have a dual-boot Windows 7 Home and Ubuntu 12.04 . I'll leave the
Windows problems for another post.
I know practically nothing about Linux so I am probably doing something stupid
but ... at the moment I
Hi John,
You're probably messing up the path, just as you suspect.
If you use a relative path, like you are doing, then R looks for that
location starting at R's current working directory, visible with
getwd(). For linux, that's the location at which you started R if you
started it from a
All of your tests are with relative paths. Use getwd() identify your starting
directory, and if it isn't you can use setwd() to start in the right place.
---
Jeff NewmillerThe . . Go
Thanks.
I had not realsed there were relative paths until Sarah mentioned them.
It's working now: see my post to Sarah.
John Kane
Kingston ON Canada
-Original Message-
From: jdnew...@dcn.davis.ca.us
Sent: Thu, 03 May 2012 09:30:10 -0700
To: jrkrid...@inbox.com,
Thanks Sarah,
I suspected something like that but am still gropping around in Linux. I
vaguely remember how to cd to someplace. Shades of DOS 3.2! Of was that Unixor
both!
Also I think I was trying to be a bit too smart-alecky in where I was placing
my data folder so I moved it to my home
I like the idea of staying with absolute paths.
Before you write too much R code that builds in absolute paths, please consider
how difficult it will be to adjust all of those paths if you need to run on a
different computer or you need to reorganize your overall directory structure.
If you
On Thu, May 3, 2012 at 1:53 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote:
I like the idea of staying with absolute paths.
Before you write too much R code that builds in absolute paths, please
consider how difficult it will be to adjust all of those paths if you need to
run on a
Thanks Jeff and Sarah.
I was thinking mainly of using the base path and paste routine which is
something I do in Windows
It will take me a while to figrue out relative paths.
John Kane
Kingston ON Canada
-Original Message-
From: sarah.gos...@gmail.com
Sent: Thu, 3 May 2012
10 matches
Mail list logo