Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am totally new for installing outer tools or libraries into R.
I want to use gdata tool in R, which is outer tools so needed to install.
From this page,
http://cran.r-project.org/web/packages/gdata/index.html
I downloaded windows binaries(because my PC is 64bit windows)
1)but I don't know how to install this in my PC after this.
inside gdata folder there are so many files but none of these are installation file! What should I do??? Nowhere can I find installation guide...
2)And how to call functions inside this file on R.
Could you please help me? Many Thanks!
install.packages("gdata")
require(gdata)
If that gives you any trouble try:
install.packages("master.tar.gz", type = "source", repos = NULL)
where "master.tar.gz" is the file you downloaded. Specify the path with double (escaped) backslashes if it is not in your working directory.
I wrote "Master" to correspond to source downloaded from GitHub (i.e. the "Master branch") but the name from CRAN will be different.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
i would like to know how can I get the path to sources.list on a modified UNIX which have apt and other base packages on it , like gpg and sudo. Does apt can identify the path to sources.list ?
He is using it , so he should be able to locate it, right ?
I don't know if this is the best way, but apt-config dump will show all of apt's configuration variables. On my system, the Dir::Etc variable gives the directory where the file is located, and Dir::Etc::sourcelist gives its name.
You can also read in the apt-config man page about the shell option which may be more useful for processing this data in a program.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I need to install Rtools in order to work with keras package. I've successfully downloaded Rtools from https://cran.r-project.org/bin/windows/Rtools/, but then I need to "put it on a path", as it is stated here on this website. I don't understand what is written here about doing that. Could you,please, explain it to me in a simple way and, desirably, with an example?
Thank you for your help.
The path is the list of all directories the operating system is going to look to find a program when you call it.
An alternative instead of modifying the system path, is to create a file which tells R where to find RTools.
As stated in the installation doc, just open an R console and execute once:
writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Few days ago, I installed c++ mingw compiler and removed it yesterday.
Even before using mingw compiler to dabble with eclipse ide, I had R Studio installed with the default CRAN version of R. After deleting mingw folder from my computer, I see this kind of wierd mingw name in the default text shown by the console window in R Studio.
Kind of annoying to me!! I dont want to deal with mingw and want that name to disappear completely...
This is not affecting the overall functionality...Not sure if it will affect int he future..... but wondering why the "mingw" text is showing up in the "Platform" information....
Is there a way to restore normalcy ?annoying mingw
Good news... you've already achieved normalcy!
R.version$platform
# [1] "x86_64-w64-mingw32"
What you are seeing is the canonical name of the platform under which R was compiled according to the help entry... ?.Platform
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Improve this question
I want to run an R script on a computer which doesn't have the R software installed on it. Is it possible to do this in any way?
If you have internet and a browser on the machine without R go to:
http://r-fiddle.org
or
http://pbil.univ-lyon1.fr/Rweb/
and paste the source of the R file into it.
Alternately, note that R is free and has an automated installer so it's pretty easy to install R on a new machine. Google for
download R windows
Download it. Run the downloaded executable and press enter for each question.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am newbie to R and I think I previously installed R but not sure.
Is there any way to know whether R is installed in your system?
On ubuntu I would typically use the which command to check for existance of a program.
which is a Unix command used to identify the location of executables. If the R executable is somewhere in the PATH then it should return its location:
john#ubuntu:~$ which R
/usr/bin/R
Alternatively you can use the type command:
john#ubuntu:~$ type R
R is /usr/bin/R
type is a Unix command that describes how its arguments would be interpreted if used as command names.
failing R being on the PATH you could resort to locate which would be faster then find however it will most likely give you a large number of returns for R so some filtering would be required:
john#ubuntu:~$ locate -b R | fgrep -w R/bin
/usr/lib/R/bin/R
/usr/lib/R/bin/REMOVE
/usr/lib/R/bin/Rcmd
/usr/lib/R/bin/Rd2pdf
/usr/lib/R/bin/Rdconv
/usr/lib/R/bin/Rdiff
/usr/lib/R/bin/Rprof
/usr/lib/R/bin/Rscript
/usr/lib/R/bin/exec/R
Just to summarize a few answers from the comments with less snark...
typing R into the command line might bring it up. If that doesn't work, R is probably not installed.
R might be in /usr/bin/. Look in that folder. If not, there's an even slimmer chance that you have R.
Search for a file named R otherwise.