Questions tagged [r]

R is a programming language and software environment for statistical computing and graphics.  Use this tag, together with other appropriate ones, for questions that are incidentally or indirectly related to the R language — for example, how to format data for use in R programs, how to display output, or how to resolve failures when installing or running R.

Questions about programming and software design and development are off-topic at Super User; they should be asked at Stack Overflow.  Similarly, questions about the design of experiments, statistical analysis techniques and advanced data visualization are off-topic here; consider asking them at our Cross Validated site.  See:

274 questions
5
votes
0 answers

Is there a shortcut to insert the pipe operator (%>%) into databricks?

What is the shortcut to insert the pipe operator (%>%) into databricks? For RStudio, it is ctrl+shift+m, which doesn't work in databricks.
3
votes
1 answer

Scatter plot points shifted slightly

I have some data from three different machines and want to have a scatter plot with the points for each showing per animal that they were taken from. I have been using plot() for the first set and then points() to add the other two. The data is too…
2
votes
1 answer

Installing packages in R path[1]="\file/users/bernard/R/win-library/2.15": Access is denied

I recently attended an R training course and was happily working with a laptop in RStudio. On my return to the office I installed RStudio and I tried to run some scripts I had gathered from the course. However, these scripts required me to install…
user1812210
2
votes
2 answers

segfault rattle error, address0x0, cause 'memory not mapped'

I have this bug every time I run rattle(), but I can not figure out how to fix it: > library(rattle) Rattle: A free graphical interface for data science with R. Version 5.2.7 Copyright (c) 2006-2018 Togaware Pty Ltd. Type 'rattle()' to shake,…
1
vote
1 answer

Transfer packages from old to new version R studio

I am using a R studio 0.96.331 (and R 2.15.1) and wanted to install new version of the studio (0.97). But, I am a bit worried about whether I have to install all the packages that I downloaded in the old version of the studio. Is there a simple way…
Metrics
  • 111
1
vote
0 answers

'python -i' behaviour with R?

I have an R script file `foobar.R'. I want to run the script, and then leave me in the interactive R session when it's done. Calling $ Rscript foobar.R or $ R -e "$(cat foobar.R)" does not provide the desired behaviour, since the R interpreter…
Drubbels
  • 211
1
vote
0 answers

R and Sparklyr - unable to connect to spark

I Have the following code. #loading library library(sparklyr) library(tidyverse) # Installing spark spark_install(version = "2.4.3") devtools::install_github("rstudio/sparklyr") sc <- spark_connect(master = "local") am getting this…
Amos n
  • 11
1
vote
1 answer

install_github not working in R

Everytime I try to use the install_github functionality in R 3.6.1, I get hit with this HTTP error 404 error message. Any ideas? install_github("maxmind/libmaxminddb") Error: Failed to install 'unknown package' from GitHub: HTTP error 404. Not…
Ryan
  • 13
  • 2
1
vote
1 answer

Setwd in R with double backslashes \\

Quick one - I am a beginner in R Studio so trust asking a silly question . What is the difference between the two code of setwd as not sure ? or is their any difference at all ? > setwd("C:/Users/RAMIT PAUL/Downloads/Rate Cat") >…
0
votes
1 answer

MicroStrategy Developer 9.4.1 and local R - Error Searching for 'RScript' resulted in no matches

Recently I came across MicroStrategy R Integration pack (https://rintegrationpack.codeplex.com/). I use MicroStrategy 9.4.1 developer on my windows machine and I have R 3.2.1 installed on the same windows machine. My project IServer is on a Linux…
androboy
  • 101
0
votes
1 answer

Any alternative to using RODBC for R version 3.1.2?

I am unable to install package RODBC. I get an error. install.packages("RODBC") package ‘RODBC’ is available as a source package but not as a binary Warning in install.packages : package ‘RODBC’ is not available (for R version 3.1.2)
0
votes
1 answer

Installing pROC in RHEL 6.2 and Rcpp issue

I have R 2.15.2 installed on Linux Red Hat 6.2 and I want install pROC package but I get an error related to Rcpp package. Then I tried to install Rcpp with no success. How can achieve that?. I already have installed the most recent version of EPEL…
MSS
  • 159
0
votes
1 answer

Newest version of R broke everything (ubuntu, version 3.03/version 3.10)

I updated R through the ubuntu software manager to 3.03. When I run R, it shows version 3.10 beta which I DON'T want, however, there is only mention of version 3.03 in the software manager. Furthermore, this new version of R doesn't recognize that…
thc
  • 101
  • 1
0
votes
1 answer

installing sampleSelection package in R

I am currently running R 3.2.4 on windows 10. I have been trying for several days to install the sampleSelectio package without success. i am new in R and I don't know what else to do. i have uinstalled and reinstaled R from version 2.9 to version…
Corine
  • 1
0
votes
1 answer

R not starting up

I keep getting this error when starting R. This site can’t be reached The webpage at http://127.0.0.1:8854/ might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_ARGUMENT I have never had this issue…
1
2