Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Jeff Newmiller
Even better is to learn one of the many ways to start R in a working directory of your choice, so you don't have to mix code and data from different projects together in one directory just because that happens to be where your default R icon sets it up. Some ways: a) Use Terminal and the cd

Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Bryan Hanson
You can also point R to the directory where the file of interest is, rather than moving the file to the directory where R is currently pointing. setwd(“~/Desktop”) Bryan > On Feb 13, 2021, at 9:02 AM, Parkhurst, David F. wrote: > > Thank you. I thought I�d seen in some book that in a Mac,

Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Parkhurst, David F.
Ah. That will simplify the process a lot! From: Duncan Murdoch Date: Saturday, February 13, 2021 at 10:52 AM To: Parkhurst, David F. , r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac On 13/02/2021 10:42 a.m., Parkhurst,

Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Parkhurst, David F.
Thank you. I thought I�d seen in some book that in a Mac, one had to specify paths in the way I tried. From: Duncan Murdoch Date: Saturday, February 13, 2021 at 10:49 AM To: Parkhurst, David F. , r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] How to find the path for a file to be read with

Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Duncan Murdoch
On 13/02/2021 10:42 a.m., Parkhurst, David F. wrote: I’ve several times to figure this out with no luck.  I’ve moved a tab delimited text file (created from excel) to the desktop to simplify the path.  If I click on the file and ask Get Info, it lists “Where” as  iCloud Drive > Desktop.  If I

Re: [R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Duncan Murdoch
On 13/02/2021 10:42 a.m., Parkhurst, David F. wrote: I’ve several times to figure this out with no luck.  I’ve moved a tab delimited text file (created from excel) to the desktop to simplify the path.  If I click on the file and ask Get Info, it lists “Where” as  iCloud Drive > Desktop.  If I

[R-SIG-Mac] How to find the path for a file to be read with read.table() in a Mac

2021-02-13 Thread Parkhurst, David F.
I’ve several times to figure this out with no luck.  I’ve moved a tab delimited text file (created from excel) to the desktop to simplify the path.  If I click on the file and ask Get Info, it lists “Where” as  iCloud Drive > Desktop.  If I copy that to the clipboard and paste that into a