Re: [R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Scott Colwell
That is perfect. Thanks! -- Scott R. Colwell, PhD On 2019-04-20, 1:23 PM, "Jeff Newmiller" wrote: Not really sure I understand what you want. Here is some code to consider: library(ggplot2) library(dplyr) library(tidyr) dta <- read.t

Re: [R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Jeff Newmiller
Not really sure I understand what you want. Here is some code to consider: library(ggplot2) library(dplyr) library(tidyr) dta <- read.table( text = "samp.N RSQMRB_uc MRB_sb MRB_bp 50 0.3 1.4237.6 37.6 50 0.4 8.6143.1 43.1 50 0.5

Re: [R] troubles with foreign:read.dbf

2019-04-20 Thread Patrick Giraudoux
Ashes of my head and all those sorts of things... If I was a totally a newbie in R, I could claim for some sort of excuse, but it is definitely not the case, even. Thanks ! Patrick Le 20/04/2019 à 19:13, Eric Berger a écrit : > You seem to have a typo. > In the case that works your filename is "

Re: [R] troubles with foreign:read.dbf

2019-04-20 Thread Eric Berger
You seem to have a typo. In the case that works your filename is "Mailles_2011a.dbf" but in the case that fails your filename is "Mailles_2011a.shp" (different extensions) HTH, Eric On Sat, Apr 20, 2019 at 8:00 PM Patrick Giraudoux < patrick.giraud...@univ-fcomte.fr> wrote: > Dear listers, > >

[R] troubles with foreign:read.dbf

2019-04-20 Thread Patrick Giraudoux
Dear listers, I am using the package foreign function read.dbf and meet the following issue: i<-"Mailles_2011a.dbf" dbf<-read.dbf(i) works well BUT if I have a vector such as files <- c("Mailles_2011a.shp", "Mailles_2011p.shp", "Mailles_2012a.shp", "Mailles_2012p.shp", "Mailles_2013a.shp",

[R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Scott Colwell
I am trying to figure out how to create a hanging bar plot from dplyr. I have used dplyr as follows: table4 <- cr %>% group_by(samp.N, RSQ) %>% summarize( MRB_uc = mean(CF.F1F2/0.40*100)-100, MRB_sb = mean(SBC.F1F2.Alpha/0.40*100) - 100, MRB_bp = mean(BPC.F1F2.Alpha/0.40*100) - 100

Re: [R] .Call using multiple cores on linux after R 3.3.3

2019-04-20 Thread Jeff Newmiller
My guess would be that you are running with a non-CRAN distribution of R like Anaconda or MRAN that has MKL enabled? On April 19, 2019 10:25:57 AM PDT, Youyi Fong wrote: >Hi, I am wondering why it is the case that in R 3.3.3, calling >chngpt:chngptm uses only 1 core, but in later releases, e.g.

[R] .Call using multiple cores on linux after R 3.3.3

2019-04-20 Thread Youyi Fong
Hi, I am wondering why it is the case that in R 3.3.3, calling chngpt:chngptm uses only 1 core, but in later releases, e.g. R 3.4.3, it uses multiple cores on linux. The function chngpt:chngptm has a .Call to invoke a C/C++ function that performs bootstrapping. No explicit parallel computing instru