Re: [R] Can I use "mcnemar.test" for 3*3 tables (or is there a bug in the command?)

2020-08-31 Thread peter dalgaard
> On 30 Aug 2020, at 20:11 , Kyungmin Ko wrote: > >> 2) The second one is to produce a 3 by 3 table, with the rows indicating >> what the kids answered to setting 1 of the experiment, and the columns >> indicating the kids answers to setting 2. >> Now the question is: >> was there marginal hom

Re: [R] Connection to Oracle DB failing from R

2020-08-31 Thread Christofer Bogaso
Hi, The Java version below. Let me know if any other information is required. Thanks, java -version java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) On Mon, Aug 31, 2020 at 8:21 PM William Dunlap wro

Re: [R] Connection to Oracle DB failing from R

2020-08-31 Thread William Dunlap via R-help
Which version of java do you have installed? Oracle's web site says ojdbc5.jar is for Java 1.5 and ojdbc6.jar is for more recent versions. Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Aug 31, 2020 at 3:56 AM Christofer Bogaso wrote: > > Hi, > > I am trying to establish a connection to a

Re: [R] Connection to Oracle DB failing from R

2020-08-31 Thread Marc Schwartz via R-help
> On Aug 31, 2020, at 6:55 AM, Christofer Bogaso > wrote: > > Hi, > > I am trying to establish a connection to a Oracle DB from R and used below > code which is failing every time I try - > >> library(RJDBC) > Loading required package: DBI >> jdbcDriver =JDBC("oracle.jdbc.OracleDriver",classPa

Re: [R] plot factors with dots in R

2020-08-31 Thread Luigi Marongiu
Thank you, all solutions work! On Fri, Aug 28, 2020 at 9:02 AM Deepayan Sarkar wrote: > > On Thu, Aug 27, 2020 at 5:46 PM Luigi Marongiu > wrote: > > > > Hello, > > I have a dataframe as follows: > > ``` > > x = c("0 pmol", "10 pmol", "100 pmol", "1000 pmol") > > y = c(0.9306, 1.8906, 2.2396, 2

[R] Problem running stan interactively

2020-08-31 Thread Tobias Fellinger
Hi, I try to run a stan model in R 4.0.2 and the session crashes if I run the code interactively (sourcing from an interactive session or from Rstudio) but runs fine if run with Rscript or R -e 'source("rstan_test.R")' . I don't really know where to begin to debug this. I'm not sure if this i

[R] Connection to Oracle DB failing from R

2020-08-31 Thread Christofer Bogaso
Hi, I am trying to establish a connection to a Oracle DB from R and used below code which is failing every time I try - > library(RJDBC) Loading required package: DBI > jdbcDriver =JDBC("oracle.jdbc.OracleDriver",classPath="ojdbc5.jar") *** caught segfault *** address 0x854961, cause 'memory no