Displaying 20 results from an estimated 4000 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 24
1
Rtools and things dependent on it
On 2/23/24 16:28, Sorkin, John wrote:
> David,
> My apologies regarding the format of my email. I am replying using my
> iPhone, and I can?t find a way to switch from what I suspect is html
> to txt format.
> The link you sent told me that R tools allows compilation of code.
It's specifically designed to provide the code tools missing in Windows
that would other wise have
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
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
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 Apr 06
2
R does not run under latest RStudio
On 4/6/23 03:49, Steven Yen wrote:
> The RStudio list generally does not respond to free version users. I was hoping someone one this (R) list would be kind enough to help me.
I don't think that is true. It is perhaps true that you cannot get
personalized help from employed staff, but you can certainly submit to
the Q&A forum.
--
David
>
> Steven from iPhone
>
>>
2025 Jan 28
2
R CMD check says no visible binding for global variable
Data.frame is returned by SQL query. It does have column names. In the function, I make small changes to some columns.
Something like:
Myquery <- ?SELECT date, price, stock FROM stocktab WHERE stock = ?ABC? AND date > ?2025-01-01?;?
Prices <- dbGetQuery(con, myquery)
SetDT(Prices)
Prices[, date = as.Date(date)]
R CMD check say ?no visible binding for global variable ?date??
Sent
2025 Jan 28
1
R CMD check says no visible binding for global variable
There you go, once again helping strengthen ;)
John
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of avi.e.gross at gmail.com <avi.e.gross at gmail.com>
Sent: Tuesday, January 28, 2025 12:01:25 AM
To: 'Naresh Gurbuxani' <naresh_gurbuxani at hotmail.com>; r-help at r-project.org
2025 Jan 28
1
R CMD check says no visible binding for global variable
Naresh,
I am not sure how you are creating your data.frame so it has no, I think, column names. There are two scenarios including one where it is not really a valid data.frame and one where it can be handled before any other use as shown below. If it cannot be used, you might need to modify how your SQL or the function you call creates it so it includes either names it chooses or that you supply.
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 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 {....}
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 Jan 14
1
Removing variables from data frame with a wile card
Hello Avi,
while something like d$something <- ... may seem like you're directly modifying the data it does not actually do so. Most R objects try to be immutable, that is, the object may not change after creation. This guarantees that if you have a binding for same object the object won't change sneakily.
There is a data structure that is in fact mutable which are environments. For
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 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 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 Jan 27
1
Bug in R-Help Archives?
?s 07:36 de 27/01/2023, Ivan Krylov escreveu:
> On Fri, 27 Jan 2023 13:01:39 +0530
> Deepayan Sarkar <deepayan.sarkar at gmail.com> wrote:
>
>> From looking at the headers in John Sorkin's mail, my guess is that he
>> just replied to the other thread rather than starting a fresh email,
>> and in his attempts to hide that, was outsmarted by Outlook.
>
>
2023 Jan 15
3
return value of {....}
I wonder if the real confusino is not R's scope rules?
(begin .) is not Lisp, it's Scheme (a major Lisp dialect),
and in Scheme, (begin (define x ...) (define y ...) ...)
declares variables x and y that are local to the (begin ...)
form, just like Algol 68. That's weirdness 1. Javascript
had a similar weirdness, when the ECMAscript process eventually
addressed. But the real
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))