Sent: Fri, 4 May 2012 18:35:31 -0700
> To: r-help@r-project.org
> Subject: Re: [R] Cannot read or write to file in Linux Ubuntu
>
> On Thu, 3 May 2012 10:50:46 -0800
> John Kane wrote:
>
>> Thanks Jeff and Sarah.
>>
>> I was thinking mainly of using the base
On Thu, 3 May 2012 10:50:46 -0800
John Kane 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 nor are they so
hu, 3 May 2012 14:07:12 -0400
> To: jdnew...@dcn.davis.ca.us
> Subject: Re: [R] Cannot read or write to file in Linux Ubuntu
>
> On Thu, May 3, 2012 at 1:53 PM, Jeff Newmiller
> wrote:
>> "I like the idea of staying with absolute paths."
>>
>> Before you
On Thu, May 3, 2012 at 1:53 PM, Jeff Newmiller 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 different computer or yo
t;so
>mydata <- read.csv("/home/john/rdata/tti.csv", header = TRUE)
> works just fine. I like the idea of staying with absolute paths.
>
>I am most appreciative.
>
>John Kane
>Kingston ON Canada
>
>
>> -Original Message-
>> From: sarah.gos...@g
header = TRUE)
works just fine. I like the idea of staying with absolute paths.
I am most appreciative.
John Kane
Kingston ON Canada
> -Original Message-
> From: sarah.gos...@gmail.com
> Sent: Thu, 3 May 2012 12:29:14 -0400
> To: jrkrid...@inbox.com
> Subject: Re: [R] Can
box.com, r-help@r-project.org
> Subject: Re: [R] Cannot read or write to file in Linux Ubuntu
>
> All of your tests are with relative paths. Use getwd() identify your
> starting directory, and if it isn't you can use set
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
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 termina
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 cann
10 matches
Mail list logo