[R] Fixing non-UTF8 locale and other warning in R for Mac OS X

2016-11-23 Thread Umar Ahmad via R-help
Hello R Experts, Please can anyone help or guide me through on how I can fix this problem below that is usual showed whenever I open R statitsics in Mac OS but I never have seen this to exist on Window computer. It seems to always refer me to R for Mac OS X FAQ (see Help) of which I went there m

Re: [R] GAM with the negative binomial distribution: why do predictions no match with original values?

2016-11-23 Thread Simon Wood
?predict.gam (mgcv) says "Note that, in common with other prediction functions, any offset supplied to ‘gam’ as an argument is always ignored when predicting, unlike offsets specified in the gam model formula." which was originally implemented to prevent surprises to peop

Re: [R] Chi2 algorithm - R

2016-11-23 Thread Olivier Crouzet
Hi, (1) If the package has been installed from CRAN then it's been tested (which does not imply that it's'exempt of any bugs), any other source (e.g. Github) has not been tested... according to my understanding; (2) The GNU GPL explicitly states that you install and use the software "at your o

Re: [R] Chi2 algorithm - R

2016-11-23 Thread Luke Skywalker
What does it mean to "have a mantainer"? Is he a third party? Is he an individual developer and you can install whose package on your risk? Are the package created by maintainers not tested? Anyway, I wrote him. I'm waiting for response. Regards Il 23/Nov/2016 22:21, "peter dalgaard" ha scritto

Re: [R] Chi2 algorithm - R

2016-11-23 Thread peter dalgaard
Notice that this relates to an R _package_, which has a maintainer. You cannot expect general R users or developers to know about the details of the package. It doesn't look like there is dcoumentation beyond the help pages, so you may need to contact the maintainer or study the actual code. -p

Re: [R] browser() pre 3.1 behaviour

2016-11-23 Thread Duncan Murdoch
On 23/11/2016 6:51 AM, Falk Hildebrand via R-help wrote: Dear R help list,I have been using the "browser()" function for a long time now to debug my function code. However, since 3.1 (I think) the behaviour has changed that browser() (or the debug interface) is being called also when a loop is

[R] Chi2 algorithm - R

2016-11-23 Thread Luke Skywalker
Good evening, I'm encountering a different kind of discretization with respect to the 1997 Liu and Setiono's one descripted in their papers, using Chi2 algorithm for feature selection with discretization. As stated in R documentation (discretization - R (from CRAN)

[R] browser() pre 3.1 behaviour

2016-11-23 Thread Falk Hildebrand via R-help
Dear R help list,I have been using the "browser()" function for a long time now to debug my function code. However, since 3.1 (I think) the behaviour has changed that browser() (or the debug interface) is being called also when a loop is being executed (copy pasted to the R interface). So I have

[R] Unable to Install POT Package for R 3.1.0

2016-11-23 Thread Preetam Pal
Hi, I am trying to install the package POT for R* version 3.1.0* (spring dance), using: *install.packages("POT", repos="http://R-Forge.R-project.org ")* *( link )* *But I am getting the following error:* *package ‘POT’

[R] variable selection problem

2016-11-23 Thread Anderson Eduardo
Hello I am trying to run vignette example for the MaxentVariableSelection package, but something wrong is happening. I can't figure out. Here is the code: maxentPath = ("/home/anderson/R/x86_6

Re: [R] The code itself disappears after starting to execute the for loop

2016-11-23 Thread Maram SAlem
Thanks a lot Bert , will check out your suggestions. I've unchecked the buffer output option in GUI but still have the same problem. Thanks for your time and concern. Maram Salem Sent from my iPhone > On Nov 23, 2016, at 5:55 PM, Bert Gunter wrote: > > In addition to Jim's comments, which y

Re: [R] The code itself disappears after starting to execute the for loop

2016-11-23 Thread Bert Gunter
In addition to Jim's comments, which you have not yet satisfactorily addressed (buffering in GUI??), 1. Show your code! 2. Show ouput of sessionInfo() 3. Upgrade to the latest R version maybe 4. Perhaps write to package maintainer (see ?maintainer) if nothing or no one helps. Cheers, Bert Be

[R] Further Subsetting of Data for Log. Reg. Results in qr.default Error

2016-11-23 Thread Courtney Benjamin
Hello R Experts, In further subsetting data within a logistic regression in the survey package, I am getting a qr.default error. Below is an example of the original model that runs correctly, but when I subset the data further to look at students of a particular curriculum concentration, the q

[R] How to extract parameters from train in caret package

2016-11-23 Thread Michela Leone
Dear R-users, I need to extract coefficients from the final model after running train function of caret package. I need to have something like "summary" used after running a regression model in this case from the best model. below my script as explanation data(Sonar) set.seed(107) inT