Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Ashim Kapoor
Dear All, Okay and thank you. Best Regards, Ashim On Wed, Sep 19, 2018 at 3:32 AM Benoit Vaillant wrote: > Hello, > > On Tue, Sep 18, 2018 at 09:08:18AM -0400, Ista Zahn wrote: > > This is really the wrong place for this discussion. Please post ubuntu > > specific questions to r-sig-debian. >

Re: [R] [FORGED] Unable to update R 3.4 to R 3.5 in Ubuntu 18.04 LTS

2018-09-18 Thread Rolf Turner
On 09/18/2018 04:14 AM, RUPJYOTI DAS wrote: Dear All, I am using R to carry out RNA-Seq workflow in my standalone machine which needs the latest R version >=3.5. I was trying to update firstly removing the R 3.4 and reinstalling from scratch again the latest version. Can anybody just guide me

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Benoit Vaillant
Hello, On Tue, Sep 18, 2018 at 09:08:18AM -0400, Ista Zahn wrote: > This is really the wrong place for this discussion. Please post ubuntu > specific questions to r-sig-debian. While i guess your asking to get on to r-sig-debian is a true start, the package that seems to be causing troubles is

Re: [R] Set the same colour range for 2 != rasters

2018-09-18 Thread Sarah Goslee
Hi Jackson, I think you would have gotten a faster response if you'd provided a reproducible example. I at least let this message sit until I had time to figure out what you were doing. If you have more raster questions, there's also a r-sig-geo mailing list that would be more appropriate.

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Ista Zahn
This is really the wrong place for this discussion. Please post ubuntu specific questions to r-sig-debian. Best, Ista On Tue, Sep 18, 2018 at 6:52 AM Ashim Kapoor wrote: > > Dear Rui, > > I tried R 3.4.4 on Ubuntu 18.04.1. It runs FINE except for an inhouse > package created by us. That is why I

Re: [R] How to troubleshoot error “cannot coerce class ”“group”“ to a data.frame”?

2018-09-18 Thread Rui Barradas
Hello, This is cross-posted from StackOverflow em Português [1]. Cross-posting is not well seen and you should wait for a while for an answer given where you have you original question before posting somewhere else. [1]

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Ashim Kapoor
Dear Rui, I tried R 3.4.4 on Ubuntu 18.04.1. It runs FINE except for an inhouse package created by us. That is why I asked. Best, Ashim On Tue, Sep 18, 2018 at 4:12 PM Rui Barradas wrote: > Hello, > > R 3.4.0 was released 2017-04-21 09:14 and R 3.4.4 2018-03-15 09:04. This > is before the

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Rui Barradas
Hello, R 3.4.0 was released 2017-04-21 09:14 and R 3.4.4 2018-03-15 09:04. This is before the release of Ubuntu 18.04 LTS so that version of Ubuntu was not supported by any sub-version of R 3.4. At least this is how I understand it. If you want to give R 3.4/Ubuntu 18.04 a try, you can

Re: [R-es] Frecuencia Columnas

2018-09-18 Thread Isidro Hidalgo Arellano
Perdona, Nacho, la dimensión del primer "apply" es 2, no 1. El código queda así: datos = rbind(c("A","A","B"), c("A","B","B"), c("B","B","B")) datos tabla = apply(datos, 2, table) maximos = lapply(tabla, which.max) datos = cbind(datos, lapply(maximos, attr, "names")) Un

Re: [R-es] Frecuencia Columnas

2018-09-18 Thread Isidro Hidalgo Arellano
Una forma podría ser ésta: datos = rbind(c("A","A","B"), c("A","B","B"), c("B","B","B")) tabla = apply(datos, 1, table) maximos = lapply(tabla, which.max) datos = cbind(datos, lapply(maximos, attr, "names")) Un saludo. Isidro Hidalgo Arellano Observatorio del Mercado

Re: [R] bootstrap sample for clustered data

2018-09-18 Thread Jeff Newmiller
Seeing what you regard as a satisfactory solution, I think Bert's recommendation to create a factor was superior since it allows you to maintain consistent labeling of your clusters even as the set of clusters changes. I also still think you are setting the stage for frequent failures of the

Re: [R] Open netcdf file in linux

2018-09-18 Thread Jeff Newmiller
I find your response confusing still... did you now no longer need help? If you are still puzzled, then what does file.info("file.nc") return? Do you see that file in your current directory via your operating system? On September 17, 2018 11:53:22 PM PDT, lily li wrote: >Thanks, you are

Re: [R] Problem in installing rgdal package in linux

2018-09-18 Thread Jeff Newmiller
Read [1], in particular about System Requirements. Some packages have underlying configuration that needs to be handled through your operating system before the package can be installed. [1] https://cran.r-project.org/web/packages/rgdal/index.html On September 17, 2018 11:59:05 PM PDT, lily li

Re: [R] customizing the number of decimal places in xtable: RESOLVED

2018-09-18 Thread Ogbos Okike
Dear Jeff, Great!! Thanks for your concern/good advice. Best regards Ogbos On Tue, Sep 18, 2018 at 8:24 AM Jeff Newmiller wrote: > I gather you find the content of the help page for the xtable function > hard to understand, but you need to build the skill of reading them and > gathering clues

Re: [R] Problem in installing rgdal package in linux

2018-09-18 Thread Albrecht Kauffmann
Hi Lily, did you install gdal on your system? Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Di, 18. Sep 2018, um 08:59, schrieb lily li: > Hi all, > > I am installing rgdal package in linux for R, and got the error below. I > typed: $ install.packages("rgdal", repos=

Re: [R] Open netcdf file in linux

2018-09-18 Thread lily li
I did not set the correct path for the .nc file earlier. Now it is working properly. > I find your response confusing still... did you now no longer need help? > > If you are still puzzled, then what does > > file.info("file.nc") > > return? > > Do you see that file in your current directory

Re: [R] customizing the number of decimal places in xtable: RESOLVED

2018-09-18 Thread Jeff Newmiller
I gather you find the content of the help page for the xtable function hard to understand, but you need to build the skill of reading them and gathering clues about functions you call from them. * They always have a usage section that briefly summarizes how the function is called and what the

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Ashim Kapoor
Dear Rui, I am a little confused. See this ---> : R 3.4 packages for Ubuntu on i386 and amd64 are available for all stable Desktop releases of Ubuntu prior to Bionic Beaver (18.04) until their official end of life date. However, only the latest Long Term Support (LTS) release is fully supported.

[R] Problem in installing rgdal package in linux

2018-09-18 Thread lily li
Hi all, I am installing rgdal package in linux for R, and got the error below. I typed: $ install.packages("rgdal", repos= "http://cran.us.r-project.org;) What is the problem and how to correct it? Thanks for your kind help. == print the error message here

Re: [R] Open netcdf file in linux

2018-09-18 Thread lily li
Thanks, you are right that the file path is not correct. I just typed: nc_open("file.nc"), and it gave the error above. On Tue, Sep 18, 2018 at 1:33 PM, Jeff Newmiller wrote: > I really don't know how you expect an answer when you don't show what you > did or pointed us to an example of a file

Re: [R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Rui Barradas
Hello, I am not completely sure but I think I installed Ubuntu 18.04 LTS first and R 3.5 days later, so yes, if I'm right it is possible to run R 3.4 on 18.04. (You ask whether we can *install* R 3.4 on Ubuntu 18.04.1, I'm saying it can be *run* on Ubuntu 18.04.1.) Hope this helps, Rui

[R] Does R version 3.4.4 work on Ubuntu 18.04.1

2018-09-18 Thread Ashim Kapoor
Dear All, I was reading this page ---> https://cran.r-project.org/bin/linux/ubuntu/README.html It says: R 3.4 packages for Ubuntu on i386 and amd64 are available for all stable Desktop releases of Ubuntu prior to Bionic Beaver (18.04) until their official end of life date. The page also shows