[R-SIG-Mac] Question about stripchart

2021-02-01 Thread Parkhurst, David F.
I have E. coli data (variable �conc�) for 73 dates over months from Apr through Dec (variable �monames�). The data are in order from the April through December, and are in a data.frame titled "monamescon�. When I run stripchart(conc~monames, data=monamescon, vert=TRUE), the months come out in

[R-SIG-Mac] Problem with dot chart examples in my Mac

2021-02-07 Thread Parkhurst, David F.
I�m trying to see the result of the dotchart example, i.e. dotchart(VADeaths, main = "Death Rates in Virginia - 1940"). When I enter that and hit return, a blank Quartz 2 [*] window comes up. I�ve checked, and the VADeaths data are present. What should I do to actually see the result of that

Re: [R-SIG-Mac] Question about stripchart

2021-02-02 Thread Parkhurst, David F.
I’ll try that. Thank you again. From: Richard M. Heiberger Date: Tuesday, February 2, 2021 at 5:20 PM To: Parkhurst, David F. , r-sig-mac@r-project.org Subject: Fw: Question about stripchart months<-c("Jan","Feb","Mar","Apr","May","

Re: [R-SIG-Mac] I'm new to R in a Mac. How do I specify the path in read.table()?

2021-02-15 Thread Parkhurst, David F.
Wow. That looks useful, especially when I don�t want to put the file to be read on the desktop. Thanks. From: Ben Tupper Date: Monday, February 15, 2021 at 8:52 AM To: Parkhurst, David F. Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] I'm new to R in a Mac. How do I specify the path

Re: [R-SIG-Mac] I'm new to R in a Mac. How do I specify the path in read.table()?

2021-02-15 Thread Parkhurst, David F.
just taken up R after not using it for years.). The Apple support people have taught me a lot! From: Peter West Date: Monday, February 15, 2021 at 8:30 AM To: Parkhurst, David F. Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] I'm new to R in a Mac. How do I specify the path in read.table

Re: [R-SIG-Mac] I'm new to R in a Mac. How do I specify the path in read.table()?

2021-02-15 Thread Parkhurst, David F.
Thanks. As I’ve said elsewhere, I thought I had seen in something I read that those double backslashes were required in a Mac. From: Peter Dalgaard Date: Monday, February 15, 2021 at 8:31 AM To: Parkhurst, David F. Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] I'm new to R in a Mac

[R-SIG-Mac] I'm new to R in a Mac. How do I specify the path in read.table()?

2021-02-15 Thread Parkhurst, David F.
I�ve tried for over an hour to figure this out with no luck. I�ve moved the 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

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

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

[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

Re: [R-SIG-Mac] Problem with read.table in my Mac. "No such file or directory"

2021-02-13 Thread Parkhurst, David F.
. Plenty of advice on the internet as to how to turn this on for all files. Bryan > On Feb 13, 2021, at 1:29 PM, Parkhurst, David F. wrote: > > I�m still having trouble with read.table, as follows (and there IS a plain > text document called moabsitechem in this directory: >&g

[R-SIG-Mac] Problem with read.table in my Mac. "No such file or directory"

2021-02-13 Thread Parkhurst, David F.
I’m still having trouble with read.table, as follows (and there IS a plain text document called moabsitechem in this directory: > getwd() [1] "/Users/DFP/Documents/Documents - David’s iMac/ae/FriendsMonroe" > read.table("moabsitechem") Error in file(file, "rt") : cannot open the connection In

[R-SIG-Mac] Unable to change some members of a vector

2021-02-13 Thread Parkhurst, David F.
I have a problem I don’t know how to deal with.  I’ve used read.table to create the data frame called msPdf.  It contains three vectors:  month, site, conc.  Some of the site values look like this:  MLH\xca.  I was able to change that with this command: msPdf$site[13]="MLH”.  That seems to have