Re: [R] Simulations of GAM and MARS models : sample size ; Y-outliers and missing X-data

2019-08-09 Thread Abby Spurdle
> For me better all the x variables (collectively), to have m% missing values. I checked the mgcv documentation. Observations with (any) missing values are ignored. (i.e. The entire row, from your input data). "If there are missing values in the reponse or covariates of a GAM then the default is

Re: [R] read

2019-08-09 Thread Val
Thank you Jeff! That was so easy command. On Thu, Aug 8, 2019 at 11:06 PM Bert Gunter wrote: > > I stand corrected! > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County"

Re: [R] Installing multiple packages fails

2019-08-09 Thread Rich Shepard
On Fri, 9 Aug 2019, jim holtman wrote: The first parameter needs to be a character vector: install.packages(c("Blossom","INLA","RTisean","RcppProgress","STRbook", "askpass","classInt","ellipsis","generics","lpSolve"," odesolve","ranger","sf", "sys","units") ) Jim, Of course! I'm so used to

Re: [R] Installing multiple packages fails

2019-08-09 Thread jim holtman
The first parameter needs to be a character vector: install.packages(c("Blossom","INLA","RTisean","RcppProgress","STRbook", "askpass","classInt","ellipsis","generics","lpSolve"," odesolve","ranger","sf", "sys","units") ) Jim Holtman *Data Munger Guru* *What is the problem that you are trying

[R] Installing multiple packages fails

2019-08-09 Thread Rich Shepard
Running 3.6.1 here and migrating from my old 32-bit server/workstation to a new 64-bit server/workstation (both running fully patched Slackware-14.2). On the old host .libPaths() returns "/usr/lib/R/library"; on the new host it returned nothing so I ran .libPaths("/usr/lib64/R/library") to

Re: [R] Error exporting dataframe from Julia to R with Feather

2019-08-09 Thread Luigi Marongiu
Hi, I ran from terminal: ``` $ Rscript try.R [1] "library feather loaded" [1] "open file" *** caught segfault *** address (nil), cause 'memory not mapped' Traceback: 1: .Call(`_feather_openFeather`, path) 2: openFeather(path) 3: feather(path) 4: read_feather("Hits_dedupl.feather") An

[R] knitr error for small text in pdf (bug)

2019-08-09 Thread Marc Girondot via R-help
Let try this minimal Rmarkdown file --- title: "cex in Rmarkdown" output: word_document --- ```{r} knitr::opts_chunk$set(dev='pdf') ``` ```{r} plot((0:160)/4, 0:160, type="n") text(x=20, y=70, labels =expression(alpha), cex=1e-7) ``` When knitr-red from Rstudio (with r 3.6.1 on MacosX with

Re: [R] Creating a web site checker using R

2019-08-09 Thread Enrico Schumann
> "Chris" == Chris Evans writes: Chris> I use R a great deal but the huge web crawling power of Chris> it isn't an area I've used. I don't want to reinvent a Chris> cyberwheel and I suspect someone has done what I want. Chris> That is a program that would run once a day (easy

Re: [R] shinyWidgets::sliderTextInput

2019-08-09 Thread Sigbert Klinke
Hi Erin, do you see the difference between sliderTextInput and selectInput? I would like to have the selectInput behaviour (list element name in display, but result as value of list element) in sliderTextInput as well. Best Sigbert --- library("shiny") library("shinyWidgets") ui <-

Re: [R] Extract row as NA with no matching name

2019-08-09 Thread PIKAL Petr
Hi Do you insist to use matrix? If you change matrix to data frame it returns NA as required. mdat C.1 C.2 C.3 row1 1 2 3 row2 11 12 13 > mdat["some",] Error in mdat["some", ] : subscript out of bounds > mdatf<-as.data.frame(mdat) > mdatf["some",] C.1 C.2 C.3 NA NA NA NA