search for: rtools43

Displaying 20 results from an estimated 24 matches for "rtools43".

2023 Nov 12
1
Segmentation fault early in compilation of revision 85514
When trying to compile R on Windows 10 64-bit using LTO as I always do, I encountered a segmentation fault early in the compilation. I am uncertain as to what it means (please see below for error extract). I am using the most recent version of Rtools43 (5863) and updated its libraries prior to starting the build. My EOPTS is " -march=native -pipe -mno-rtm" and my LTO/LTO_OPT/LTO_FC/LTO_FC_OPT is "-flto=1 -fuse-linker-plugin". Any explanation or suggestions would be appreciated. Thank you, Avi ``` installing zoneinfo making...
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...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'm still debugging from first principles. Duncan Murdoch is likely right that adding the environment variables, either RTOOLS43_HOME=c:/rtools43 or adjusting PATH as described above, could help.) -- Best regards, Ivan
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...nternal('hello.c'), does it do something useful? I think I tried the commands in the right R session. Here are all the output related to the environment variables for R as well as Sys.which(): ``` > Sys.getenv("RTOOLS42_HOME") [1] "C:/rtools42" > Sys.getenv("RTOOLS43_HOME") [1] "C:/rtools43" > Sys.getenv("R_USER") [1] "C:\\Users\\Christophe Bousquet\\Documents" > Sys.getenv("R_RTOOLS43_PATH") [1] "C:/rtools43/x86_64-w64-mingw32.static.posix/bin;C:/rtools43/usr/bin" > Sys.getenv("R_LIBS_USER&qu...
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.po...
2024 Feb 24
1
Rtools and things dependent on it
...from source which is surely NOT what you want to do.. You should read the information on installation and building packages from source. https://cran.r-project.org/bin/windows/base/howto-R-devel.html which includes this sentence: "It is recommended to use the defaults and install into|c:/rtools43|. When done that way, Rtools43 may be used in the same R session which installed it or which was started before Rtools43 was installed." > > But I recently suggested to someone that they might want to use the tabyl() > function in the janitor package that I find helpful. I get a...
2024 Feb 24
1
Rtools and things dependent on it
...portant fact, the rest of the > material was close to unintelligible. The phrase "the rest of the material" is not specific enough to offer more explanation. You should quote material that is beyond your understanding. You should only be reading the sections named:"Installing Rtools43" and "Building packages from source using Rtools43". I doubt that material further on would be relevant. -- David > I doubt this is the fault of the author, it is probably because I lack > some basic knowledge. Can you suggest some more basic material I can > read. Pl...
2024 Feb 24
1
Rtools and things dependent on it
...this important fact, the rest of the material was close to unintelligible. The phrase "the rest of the material" is not specific enough to offer more explanation. You should quote material that is beyond your understanding. You should only be reading the sections named: "Installing Rtools43" and "Building packages from source using Rtools43". I doubt that material further on would be relevant. -- David I doubt this is the fault of the author, it is probably because I lack some basic knowledge. Can you suggest some more basic material I can read. Please note. I am not...
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...om a new blank R prompt. The same is true when I run the commands from within R with reference to the other hello.c you asked me to create previously: #include <stdio.h> int main(void) { printf("Hello world!\n"); } However, I can still make this old hello.c print its message using Rtools43 bash with your previous code: export PATH=/x86_64-w64-mingw32.static.posix/bin:$PATH gcc -o hello.exe hello.c ./hello.exe But, if I try to apply this code to the new hello.c file, I get the following error:hello.c:1:10: fatal error: R.h: No such file or directory 1 | #include <R.h>...
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...LIB --version')? Does tools::Rcmd('') print the list of available options? > But I did not fully understand how to adjust PATH. This WikiHow article points in the right direction: https://www.wikihow.com/Change-the-PATH-Environment-Variable-on-Windows It might help to prepend C:\\rtools43/x86_64-w64-mingw32.static.posix/bin;C:\\rtools43/usr/bin; ...to the existing value of PATH. On the other hand, it might not. I don't yet have a good explanation why your Rcmd.exe seemingly refuses to work. -- Best regards, Ivan
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
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
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 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...bugs at <https://bugs.R-project.org>. ``` I get exactly the same output after adding the paths to PATH in the System variables part of the Environment variables box and before restarting my computer. I had to change the / to \\ because my computer does not allow the sign / for paths. So C:\\rtools43/x86_64-w64-mingw32.static.posix/bin became C:\\rtools43\\x86_64-w64-mingw32.static.posix\\bin After restart, I get the same output. I can also add that: ``` > tools::Rcmd('BATCH --version') R batch front end: 4.3.1 (r84548) Copyright (C) 1997-2023 The R Core Team. This is free softwar...
2024 Apr 28
1
text
Hi dear friend I use rgdal package for shape files. When installing the package, it gives me the following error, a picture of the error is attached. What command should I run to fix this error? -------------- next part -------------- A non-text attachment was scrubbed... Name: error.png Type: image/png Size: 119454 bytes Desc: not available URL:
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 13
2
a quick and dirty way to compile R on win arm64 using clangarm64
hello everyone: On this boring weekend, I tried compile R-trunk on windows 11 arm64 using clangarm64+msys2 on macbook m1 , it surprisingly easy to compiled and run. more investigation and test and code modify need to be done ,but IMO this is a good beginning !! to compile R on windows 11 arm64 just need : 1 svn checkout R-trunk and add USE_LLVM=YES in MKRules.dist or Mkrules.local 2 install
2023 Apr 21
0
[Rd] R 4.3.0 is released
...e release of R to build with valgrind instrumentation. * libcurl 8.x is now accepted by configure: despite a change in major version number it changes neither API nor ABI. INSTALLATION on WINDOWS: * The makefiles and installer scripts for Windows have been tailored to Rtools43, an update of the Rtools42 toolchain. It is based on gcc 12 and newer versions of MinGW-W64, binutils and libraries. At this time R-devel can still be built using Rtools42 without changes, but when R-devel is installed via the installer, it will by default look for Rtools4...
2023 Apr 21
0
[Rd] R 4.3.0 is released
...e release of R to build with valgrind instrumentation. * libcurl 8.x is now accepted by configure: despite a change in major version number it changes neither API nor ABI. INSTALLATION on WINDOWS: * The makefiles and installer scripts for Windows have been tailored to Rtools43, an update of the Rtools42 toolchain. It is based on gcc 12 and newer versions of MinGW-W64, binutils and libraries. At this time R-devel can still be built using Rtools42 without changes, but when R-devel is installed via the installer, it will by default look for Rtools4...
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 Mar 16
1
Problem when trying to install packages
...> If so, maybe just reinstall RStudio directly from its website to proceed. > Just a guess obviously. > > Bert > > On Sat, Mar 16, 2024, 05:09 javad bayat <j.bayat194 at gmail.com> wrote: > >> Dear Rui; >> Many thanks for your reply. I have installed Rtools (rtools43-5958-5975) >> on >> my PC and I have R version 4.3.3 and 4.3.2 to install. Also I have >> installed Rstudio through Anaconda Navigator. >> But I do not know how to use Rtools for installing the R packages. I would >> be more than happy if you help me. >> Sincerel...