Skip to content

Number of package in Ubuntu

7 messages · mylisttech at gmail.com, Jeff Newmiller, Michael Long +2 more

#
Dear Experts ,

I am using R with Spark on Windows and now there is a need to move to Ubuntu. I wanted to know if most of the packages that are available on windows , would they be available on Ubuntu/Linux? If not can I compile the source code of those package ? Has any one of you used the packages on Ubuntu ?  

Thanks in Advance.
#
There are thousands of R packages. The majority work fine on multiple platforms.  Whether your packages are in that group is something only you can determine. 

I will say that Linux is typically better than Windows when it comes to big data tech, so even if some specific packages don't work there are likely equivalent packages that do.
#
I have been using Ubuntu and R Studio for about 5 years and have not had 
any problems finding and installing packages. I believe there are 
packages that only work in Windows but I don't what they are.

Michael Long
On 04/22/2016 11:51 AM, mylisttech at gmail.com wrote:

  
    
#
You can get the status of efforts to compile packages on the various machine avaialbe to CRAN at the CRAN package checks page:

https://cran.r-project.org/web/checks/check_summary.html
#
After scraping that page with rvest::read_html I then used `table` to summarize. I posted the full output at the end of this but here are the relevant rows for Debian (for the Ubuntu option) and the Windows platforms tested:
$`r-develLinuxx86_64(Debian GCC)`

      ERROR  NOTE NOTE*    OK   OK*  WARN 
  261    59  4150    28  3994    35    25 

$`r-develWindowsix86+x86_64`

        ERROR ERROR*   NOTE  NOTE*     OK    OK*   WARN 
   295    124      1   3962     25   4064     36     45 

$`r-patchedLinuxx86_64`

      ERROR  NOTE NOTE*    OK   OK*  WARN 
  259    54  4153    28  3998    35    25 

$`r-releaseLinuxx86_64`

      ERROR  NOTE NOTE*    OK   OK*  WARN 
  268    54  2578    18  5569    45    20 

$`r-releaseWindowsix86+x86_64`

      ERROR  NOTE NOTE*    OK   OK*  WARN 
  324    70  2187    16  5885    46    24 

$`r-oldrelWindowsix86+x86_64`

      ERROR  NOTE NOTE*    OK   OK*  WARN WARN* 
  532   159  1605    13  6028    45   168     2 

I think the various "NOTE" and "WARN" categories in most cases should be interpreted as "probably OK". It's those initial <blank>'s and ERROR categories that would most likely be the ones affecting users.
#
Or grab https://cran.r-project.org/web/checks/check_results.rds and
read it w/o the need for scraping.

On Sat, Apr 23, 2016 at 10:43 AM, David Winsemius
<dwinsemius at comcast.net> wrote:
1 day later
#
I had not realized there was a repository like that. However, I'm not sure what it means. It's not the same as the package listing on the webpage I referenced, since loading it into R gives a dataframe with more than ten times as many rows. Is there a description of that file somewhere? Does its much larger size indicate that it holds the entire archives file as well as the current CRAN offerings?
'data.frame':	99497 obs. of  10 variables:
 $ Flavor    : Factor w/ 12 levels "r-devel-linux-x86_64-debian-gcc",..: 1 1 1 1 1 1 1 1 1 1 ...
 $ Package   : chr  "A3" "a4Base" "a4Core" "a4Preproc" ...
 $ Version   : chr  "1.0.0" NA NA NA ...
 $ Priority  : chr  NA NA NA NA ...
 $ Maintainer: chr  "Scott Fortmann-Roe <scottfr at berkeley.edu>" NA NA NA ...
 $ Status    : chr  "OK" NA NA NA ...
 $ Flags     : chr  "" NA NA NA ...
 $ T_install : num  0.664 8.491 3.184 4.511 5.063 ...
 $ T_check   : num  14.1 NA NA NA 47.5 ...
 $ T_total   : num  14.79 8.49 3.18 4.51 52.6 ...

On the other hand my efforts appear to have unnecessarily duplicated the material that is already obviously displayed in the summary table at the top of that page if one only adds the Note column totals to those of the OK column. <Heel of palm to side of head.>