Displaying 20 results from an estimated 6000 matches similar to: "Rtools and things dependent on it"
2024 Feb 23
2
Rtools and things dependent on it
Avi ,
Your question is not dumb. Let me ask a more fundamental question. What is R tools, what does it do, and how is it used. From time to time, I receive a message when I down load a package saying I need R tools. When I receive the message, I don?t know what I should do, other than down load R tools.
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
2024 Feb 23
2
Rtools and things dependent on it
This may be a dumb question and the answer may make me feel dumber.
I have had trouble for years with R packages wanting Rtools on my machine
and not being able to use it. Many packages are fine as binaries are
available. I have loaded Rtools and probably need to change my PATH or
something.
But I recently suggested to someone that they might want to use the tabyl()
function in the janitor
2024 Feb 24
1
Rtools and things dependent on it
David,
I greatly appreciate the explanation you gave regarding R tools providing tools available in Linux distros, but not found in Windows. (I am using a windows system). Does this mean that Linux users don't need to use R tools when they want to compile R code?
Additionally, thank you for the information about what I should read. I will look at the material again, and hopefully things the
2024 Feb 24
1
Rtools and things dependent on it
On 2/23/24 14:34, avi.e.gross at gmail.com wrote:
> This may be a dumb question and the answer may make me feel dumber.
>
> I have had trouble for years with R packages wanting Rtools on my machine
> and not being able to use it. Many packages are fine as binaries are
> available. I have loaded Rtools and probably need to change my PATH or
> something.
I suppose making sure
2023 Apr 07
2
R does not run under latest RStudio
I have also had difficulty running R in RStudio. Has anyone else had problems?
It will be a shame if we need to abandon R Studio. It is a very good IDE.
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
Baltimore VA Medical Center
10 North Greene
2023 Jan 15
2
Removing variables from data frame with a wile card
I am new to this thread. At the risk of presenting something that has been shown before, below I demonstrate how a column in a data frame can be dropped using a wild card, i.e. a column whose name starts with "th" using nothing more than base r functions and base R syntax. While additions to R such as tidyverse can be very helpful, many things that they do can be accomplished simply
2023 Jan 16
1
return value of {....}
Richard,
A slight addition to your code shows an important aspect of R, local vs. global variables:
x <- 137
f <- function () {
a <- x
x <- 42
b <- x
list(a=a, b=b)
}
f()
print(x)
________________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Richard O'Keefe <raoknz at gmail.com>
Sent: Sunday,
2023 Jan 16
2
return value of {....}
Richard,
I sent my prior email too quickly:
A slight addition to your code shows an important aspect of R, local vs. global variables:
x <- 137
f <- function () {
a <- x
x <- 42
b <- x
list(a=a, b=b)
}
f()
print(x)
When run the program produces the following:
> x <- 137
> f <- function () {
+ a <- x
+ x <- 42
+
2023 Jan 16
1
return value of {....}
Again, John, we are comparing different designs in languages that are often
decades old and partially retrofitted selectively over the years.
Is it poor form to use global variables? Many think so. Discussions have
been had on how to use variables hidden in various ways that are not global,
such as within a package.
But note R still has global assignment operators like <<- and its partner
2023 Mar 16
3
Trying to learn how to write an "advanced" function
Although I owe thanks to Ramus and Ivan, I still do not know how to write and "advanced" function.
My most recent try (after looking at the material Ramus and Ivan set) still does not work. I am trying to run the lm function on two different formulae:
1) y~x,
2) y~x+z
Any corrections would be appreciated!
Thank you,
John
doit <- function(x){
ds <- deparse(substitute(x))
2023 Apr 05
1
path to rtools not updated in R 4.2.3 - line 1: gcc: command not found
Dear listers,
I have update to rtools43 and, using R 4.2.3 I have been surprised not
to be able to compile packages needing compilation when updating.
Looks like the path given in
gcc? -I"C:/PROGRA~1/R/R-42~1.3/include" -DNDEBUG -DNTIMER
-I./SuiteSparse_config -DUSE_FC_LEN_T
-I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"???? -O2 -Wall?
-std=gnu99 -mfpmath=sse
2023 Nov 27
1
Rtools error
?s 05:07 de 27/11/2023, Neha gupta escreveu:
> Hello, I want to download a package and it gives me the error:
>
> WARNING: Rtools is required to build R packages, but no version of
> Rtools compatible with R 4.2.0 was found. (Only the following
> incompatible version(s) of Rtools were found: 4.3.5550)
>
> Please download and install Rtools 4.2 from
>
2023 Mar 13
1
Versioning Rtools ARP entries
Hi,
If I am not mistaken, all Rtools 4.2 (and 4.3) revisions have the same
ARP [1] entries, i.e. all report version 4.2.0.1 (or 4.3.0.1). This
makes it difficult to determine the installed version (is it possible
to determine the installed revision?) and impossible for tools like
winget [2] to update Rtools to the latest revision, AFAICT.
Would it be possible to track the version in the
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
> When installing packages containing code to compile, R eventually calls > R CMD SHLIB. Same thing happens with inline C++: it gets stored in a
> temporary file, compiled into a *.dll using R CMD SHLIB and then loaded
> using dyn.load().
>
> Write the following into a file named hello.c:
>
> #include <R.h>
> #include <Rinternals.h>
> SEXP hello(void) {
2023 Aug 30
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
TL:DR there are at least three maybe four ways to address this depending on what you plan to do.
I usually adjust PATH to add Rtools using .Rprofile. But if you do that then if you want to use the command line to invoke R then you need to set the PATH separately when you start the shell. For this reason some people like to set it in the User Environment Variables control panel... but some Rtools
2024 Jan 06
0
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Tim
This is brilliant - thank you!!
I've had to tweak the basePath line a bit (I am on a Linux machine), but
having done that, the code works as intended. This is a truly helpful
contribution that gives me ideas about how to work it through for the
missing fields, which is one of the major sticking points I kept bumping
up against.
Thank you so much for this.
All the best
Andy
On
2017 Sep 29
2
Duncan's retirement: who's taking over Rtools?
I think that even though some Microsoft employees may have good intentions Microsoft as a company can not be trusted. There will be always a danger that they will try to create their own version of R which works only on Windows and that will become increasingly divergent from "other" R. We witnessed such (cursed in my opinion) attempts with their treatment of Java and Internet Explorer.
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
> So starting a new Rcmd.exe process fails for some reason.
>
> If you take the same R session where the environment variables are
> right and Sys.which() resolves Make and GCC and try to run
> tools:::.shlib_internal(c('-n', 'hello.c')) or
> tools:::.shlib_internal('hello.c'), does it do something useful?
I think I tried the commands in the right R
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
? Thu, 31 Aug 2023 11:57:06 +0000
Christophe Bousquet <chr_bousquet at protonmail.com> ?????:
> > tools::Rcmd('SHLIB -n hello.c')
> > tools::Rcmd('SHLIB hello.c')
> >
> > What do the commands print? Does the second command fail?
>
> I basically get no output from the two commands, apart from a new
> blank R prompt.
So starting a new
2017 Sep 28
5
Duncan's retirement: who's taking over Rtools?
Dear dev team,
I was sorry to see the announcement of Duncan about his retirement from
maintaining the R Windows build and Rtools. Duncan, thank you incredibly
much for your 15 years of devotion and your impressive contribution to the
R community as a whole.
Thinking about the future, I wondered whether there were plans for the
succession of Duncan. Is it the intention to continue providing