Re: [R] about Rstudio

2017-05-29 Thread Bogdan Tanasa
thank you Jeff. I shall re-install R using the recommendations from the page you've sent. initially, I wanted to set up the ./configure manually, in the following way : ./configure --enable-R-shlib --prefix=/home/bogdan/R On Mon, May 29, 2017 at 6:04 PM, Jeff Newmiller wrote: > Did you follow

Re: [R] about Rstudio

2017-05-29 Thread Jeff Newmiller
Did you follow the instructions at https://cran.r-project.org/bin/linux/ubuntu/README.html? -- Sent from my phone. Please excuse my brevity. On May 29, 2017 2:07:27 PM PDT, Bogdan Tanasa wrote: >Hi Bert, thank you for your email. yes, of course, i did the google >searches before posting, althou

Re: [R] about Rstudio

2017-05-29 Thread Bert Gunter
On Mon, May 29, 2017 at 2:07 PM, Bogdan Tanasa wrote: > Hi Bert, thank you for your email. yes, of course, i did the google searches > before posting, although the results did not help too much. Then you should have said this in your post as well as **why** "the results did not help too much." -

Re: [R] about Rstudio

2017-05-29 Thread Ismail SEZEN
You need to search a bit harder. At least give 60 minutes yourself. Check date of resultant pages hence be sure that you don’t follow an outdated instruction. Hence, you can learn how to search in time. Please, read; https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versio

Re: [R] creat contingency tables with fixed row and column margins

2017-05-29 Thread Robert Baer
getAnywhere(fisher.test) probably has some clues On 5/27/2017 2:49 PM, li li wrote: Hi all, Is there an R function that can be used to enumerate all the contingency tables with fixed row and column margins. For example, can we list all 3 by 3 tables with row margins 3,6,6 and column margins

Re: [R] about Rstudio

2017-05-29 Thread Bogdan Tanasa
Hi Bert, thank you for your email. yes, of course, i did the google searches before posting, although the results did not help too much. At the end, I've copied the R executable from the installation folder to /usr/local/lib/R/lib, and apparently it worked ... On Mon, May 29, 2017 at 2:04 PM, Bert

Re: [R] about Rstudio

2017-05-29 Thread Bert Gunter
1, SHouldn't you be posting this on the R Studio support site, not here? 2. I googled on : "R lib path(/usr/local/lib/R/lib) not found" Ubuntu and got what looked like relevant hits. So I'd say it's time for you to do some homework... -- Bert Bert Gunter "The trouble with having an open mi

[R] about Rstudio

2017-05-29 Thread Bogdan Tanasa
Dear all, please could you help with an advice : I have installed Rstudio on my Ubuntu PC, and when I initiate the application, it says : "R lib path(/usr/local/lib/R/lib) not found" on my computer, at the path "/usr/local/lib/R/lib" there are the folders : bin etc site-library R is installed

Re: [R] get the value of a biplane

2017-05-29 Thread David Winsemius
> On May 29, 2017, at 1:16 PM, Duncan Murdoch wrote: > > On 29/05/2017 3:15 PM, Jeff Newmiller wrote: >> Well, then I will hedge by saying that IN MY OPINION it is an error, because >> when it isn't exported the arguments not specified in the generic cannot be >> visible for argument completio

[R] Disable weight re-scaling in GLMNET

2017-05-29 Thread Maggie Makar
Hi all, Wondering if there is a way to disable observation weight re-scaling (such that it adds to N of observations) in glmnet without having to delve into the fortran code/ minimal edits to fortran code? Thanks Maggie [[alternative HTML version deleted]]

Re: [R] R-help Digest, Vol 171, Issue 20

2017-05-29 Thread David Winsemius
> On May 28, 2017, at 11:53 PM, Brigitte Mangin wrote: > > Thanks Ron, > > In fact, I want to make a model choice using different fixed structures and > using the results of: > Gurka MJ (2006) Selecting the best linear mixed model under reml. The > American Statistician 60(1):19{26, > the bes

Re: [R] get the value of a biplane

2017-05-29 Thread Duncan Murdoch
On 29/05/2017 3:15 PM, Jeff Newmiller wrote: Well, then I will hedge by saying that IN MY OPINION it is an error, because when it isn't exported the arguments not specified in the generic cannot be visible for argument completion in editors. But that's not true. If you want the arguments , u

Re: [R] get the value of a biplane

2017-05-29 Thread Jeff Newmiller
Well, then I will hedge by saying that IN MY OPINION it is an error, because when it isn't exported the arguments not specified in the generic cannot be visible for argument completion in editors. The predict.lm function specifies new data with the newdata argument, while the predict.bs functio

Re: [R] R-help Digest, Vol 171, Issue 20

2017-05-29 Thread Brigitte Mangin
Thanks Ron, In fact, I want to make a model choice using different fixed structures and using the results of: Gurka MJ (2006) Selecting the best linear mixed model under reml. The American Statistician 60(1):19{26, the best criterium uses the reml likelihood. I asked the ASREML-r developpers an

Re: [R] Need help for Netbeans R plugin development

2017-05-29 Thread Robert Baer
rJava and Rserve might be architectures of interest. On 5/28/2017 1:12 PM, Peter Cheung wrote: Hi My name is Peter, developing R plugin for netbeans, it is entirely in Java. What is the best way to interact Java with R and how can I hook some R functions such as plot()? so everytime plot(

Re: [R] R - datatable formatting with javascript

2017-05-29 Thread Krzysiek Gniady
Can anybody help with this problem? 2017-05-22 11:32 GMT+02:00 Krzysiek Gniady : > I'm trying to format datatable in R using DT package. I have code like > this: > > library(data.table) > library(DT) > data<-data.table(rbind(c(1,2,3),c(4,5,6))) > colnames(data)<- c('A','B','c') > > datatable(data

Re: [R] get the value of a biplane

2017-05-29 Thread Rui Barradas
Hello, Em 29-05-2017 10:43, Duncan Murdoch escreveu: On May 28, 2017 1:53:29 PM PDT, Rui Barradas wrote: > predict.bs(SCurve, xnew = 40:45) Error in predict.bs(SCurve, xnew = 40:45) : could not find function "predict.bs" You should call it using the generic, i.e. predict(SCurve, xnew =

Re: [R] get the value of a biplane

2017-05-29 Thread Duncan Murdoch
On May 28, 2017 1:53:29 PM PDT, Rui Barradas wrote: > predict.bs(SCurve, xnew = 40:45) Error in predict.bs(SCurve, xnew = 40:45) : could not find function "predict.bs" You should call it using the generic, i.e. predict(SCurve, xnew = 40:45) On 29/05/2017 2:35 AM, Jeff Newmiller wrote:

Re: [R] Spacing Between Elements in Lattice Legend

2017-05-29 Thread Lorenzo Isella
Hello, It was a matter of introducing a height parameter. This code at the end provides me exactly with what I need. Cheers Lorenzo #à barchart( number ~ country , groups = as.factor(year), data = df_tot,