similar to: Calling Rscript from Makevars

Displaying 13 results from an estimated 13 matches similar to: "Calling Rscript from Makevars"

2004 Jan 12
1
source problem
Hi, I'm trying to call an R script from the command-line ("firstScript.r" below). This script then sources another script in another directory using the absolute path to the file ("/home/john/R_script/secondScript.r"). That script then needs to source an R script in the same directory using a relative path ("thirdScript.r"). Neither script should know that it
2011 Nov 03
2
grep fixed (?) in 2.14
#This is probably due to my incomplete understanding of grep, but the below code has been working for some time to #search for .R with anything in front of it and return a list of scripts to source. Likely, the syntax for the #grep statement has been wrong all along. scripts2source <- (c("/home/ssefick/R_scripts/Convert_package.R",
2010 May 20
1
Use of R and Rscript in configure/Makevars in packages
We have seen problems with a number of packages which use R/Rscript to run R code in configure or makefiles. (a) You must give a full path: there need be no version of R in the path, and if there is it might not be the version/build of R under which package installation is being done. So the general form is to use ${R_HOME}/bin/R to select the right version. And since ${R_HOME} might
2013 Nov 03
1
How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
Hi, Recently, I made an R package that used the C++ library Boost.Thread (http://www.boost.org/doc/libs/1_54_0/doc/html/thread.html) for multithreading. Previously, I have posted a question at stackoverflow (http://stackoverflow.com/questions/19651954/is-it-possible-to-build-an-r-package-which-use-rcpp-and-boost-thread-on-http), and I also asked at rcpp-devel
2012 Nov 16
2
source file on startup question - why does an old version of a function show up? ggplot or R?
All, 1. I will try and make this clear and concise. Please let me know any information that would be helpful in figuring out this problem (I don't know the relevant information to post). I am on linux- see below for session information. 2. Problem: working directory: home an old version of a function is sourced into the R session and doesn't work working directory: Desktop the
2010 Jul 14
2
qplot in ggplot2 not working any longer - (what did I do?)
This is the first time that I have tried to update packages with a tinkered around with .Rprofile. I start R with R --vanilla and it does not load my .Rprofile, but when I issue the command update.packages() R downloads the packages as expected, but then seems to load .Rprofile before compiling the packages sources. What am I doing wrong? kindest regards, Stephen Sefick see- Session info
2024 Mar 22
1
Problem with new version of R: Mutated vocals
Dear ladies and gentlemen, I have recently installed the latest version of R (4.3.3) for windows. Now I have the following problems with mutated vowels like ?, ?, etc. Here is an example: If I type the command: Dir <- "C/Users/macho/Documents/_LVn/Experimentelle ?bungen" in the R console there is no problem. However, if I put the same command into a source file (e.g. Test.r) and call
2001 Nov 21
0
reading data from stdin
Hello s/r users! I've been digging around in the s- and r-mailing lists, but i actually didn't find any answer to my question. So here it is: How can i realize the following: myexec | R r_script > outfile.txt with myexec some executable writing data to stdout "cat data.txt" can serve as a test R
2016 Oct 11
0
PKG_LIBS in make child processes
[cross-posted from bioc-devel list] Hi all, I have a subtle question related to how R CMD SHLIB handles variables in make child processes. In more detail: I am the maintainer of the 'msa' package which has been in Bioconductor since April 2015. This package integrates three open-source libraries for multiple sequence alignment. This is organized in the following way: in src/, there
2018 Feb 01
1
Error message: 'Rscript' should not be used without a path
Dear R-devel members, recently, I ran into the following error message (R-devel 2018-01-31): 'Rscript' should not be used without a path -- see par. 1.6 of the manual I would like to know more about it, why is it required to run Rscript with a path, and where is that par. 1.6 of the manual. I get this error message during Travis r-devel build of my package for generating makefiles. I
2004 Jul 12
0
text editor for R - summary on R-WinEdt
I implemented Uwe's R-WinEdt package as a closer to true WinEdt mode so that WinEdt could be used with other modes as well. I sent Uwe the implementation and we talked a little about cleaning it up, but I haven't gotten around to it and I don't think he has either. It is still a little messy as Uwe noted below but it works well. There is no code changes, just running a WinEdt macro
2010 Jul 14
0
.Rprofile interfering with update.packages()
I know this is a double post, but the subject line was really misleading. Sorry again. This is the first time that I have tried to update packages with a tinkered around with .Rprofile. I start R with R --vanilla and it does not load my .Rprofile, but when I issue the command update.packages() R downloads the packages as expected, but then seems to load .Rprofile before compiling the packages
2011 May 30
0
Analysis of Dispersion
Does anyone know of an R implementation of Rao's (1965) described 'Analysis of Dispersion' which is the generalization of the General Linear Model, Y = XB, to multiple Y variables and the further use of the method to 'Test of Additional Information' in one set of Y variables corrected for a second set of Y variables, i.e. the generalization of covariance analysis. I have