Questions tagged [cran]

For questions relating to the Comprehensive R Archive Network (CRAN), which serves as a central repository for R distributions and contributed packages. This tag is not for general R questions; use the [r] tag instead.

The Comprehensive R Archive Network (CRAN) is a collection of sites that host distributions, binaries, packages and documentation. There are many CRAN mirrors around the world.

Downloading R

For Linux installation, use your package manager. Instructions for Debian, Redhat, Suse, Ubuntu.

Downloading packages

Documentation

Submitting packages

Bug tracker

R Packages for managing other packages

Related tags

852 questions
-1
votes
1 answer

R-cran put image in outer margin

I'd like to put 2 logos (.png) each side ot the title of a plot graph in R-cran. the rasterImage() function dont allow to put images outside the plot region. Is it powssible to do that with R-cran?
P. Audet
  • 21
  • 3
-1
votes
1 answer

why I cannot download R packages using work computer

I just tried to download the R packages for my working computer but I run into issues when using install.packages(): install.packages("dplyr") unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.5: cannot open URL…
DJJKZ
  • 175
  • 12
-1
votes
1 answer

Installing dependent R packages to R_LIBS_USER directory

I have a library (in this case ggplot2) installed at the system level. I want to install ggplot2 and all it's dependencies to a new directory which is specify in the R_LIBS_USER variable. When I run install.packages('ggplot2', dependencies=TRUE) it…
jamesatha
  • 7,280
  • 14
  • 37
  • 54
-1
votes
1 answer

How to make simple ANOVA in R

I have to make ANOVA in R using build-in packages, my data seems like this : dane=cbind(a=rnorm(10),b=rnorm(10),c=c(1,1,1,1,2,2,2,2,2,2)) a and b are variables for which I want to test hypothesis about equality of means in groups assigned by c…
Qbik
  • 5,885
  • 14
  • 62
  • 93
-1
votes
1 answer

carriage return in strip.text 'facet grid'

please how to insert a carriage return in strip text (ggplot 2.0.9) I tried : mf_labeller <- function(var, value){ value <- as.character(value) if (var=="Nerves") { value[value=="xv1"] <- c("xv","/r", "1") value[value=="xv2"] <-…
user1594303
  • 127
  • 1
  • 2
  • 8
-2
votes
1 answer

Drawing several countries ingnoring borders

I used the tips in here to draw the maps of several countries. Now I need to ignore the borders between some countries. . Any Suggestion.
-2
votes
1 answer

Can CRAN packages be modified and re-uploaded by others?

I've been working with R for a long time, but I'm a complete newbie in writing (and/or publishing) own packages via CRAN. Actually, I create a new package for educational purposes (university) and I want to load it to CRAN, so my students (and, of…
-2
votes
1 answer

R parallel execution

I have a dataframe containing 5 columns COL1 | COL2 | COL 3 | COL 4 | COL 5 I need to aggregate on COL1 and apply 4 different function on COL2 to COL5 columns a1<-aggregate( COL2 ~ COL1, data = dataframe, sum) a2<-aggregate( COL3 ~ COL1,…
-3
votes
1 answer

How do I remove a package which is published on CRAN?

I have published a package on CRAN. I would like to remove it from CRAN now. Is this possible? If it's possible then Please provide a step by step procedure.
-3
votes
1 answer

How to upload an R package?

Is there any standard process/flow to upload an R package to the CRAN repository? How to make use of vignettes? Is it compulsory to have vignettes for uploading a package?
-4
votes
2 answers

I want to exclude NA in my data

I want to get mean of my data. But whenever I try to get the mean, I get a NA. x=ds$age #Its my data "x" head(x) [1] 56 30 70 42 42 7 tail(x) [1] 21 66 62 57 57 48 class(x) [1] "integer" Its a basic information in my data. I want to get mean,…
jiyoung
  • 11
  • 3
1 2 3
56
57