Displaying 10 results from an estimated 10 matches for "r_script".
Did you mean:
r_scripts
2011 Nov 03
2
grep fixed (?) in 2.14
...y 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",
"/home/ssefick/R_scripts/Convert_R_CODE",
"/home/ssefick/R_scripts/CV.R", "/home/ssefick/R_scripts/cvs.out.R",
"/home/ssefick/R_scripts/database_connect",
"/home/ssefick/R_scripts/database_connect_package.R",
"/home/...
2012 Nov 16
2
source file on startup question - why does an old version of a function show up? ggplot or R?
...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 new version of the function is soured into the R session and works
3. I have setup a R_scripts folder that houses R scripts that I use on a
regular basis, and I have set up my .Rprofile (below) to source these
files when R is invoked.
What should I do?
.Rprofile:
###nothing yet###
print("It's go time")
#######################################################
#####source...
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 is being
sourced. For example,
/usr/local/algo/R/script/firstScript.r
/home/john/R_script/secondScript.r
/home/john/R...
2010 Jul 14
2
qplot in ggplot2 not working any longer - (what did I do?)
...ls_0.7-34
[4] lattice_0.18-8 sp_0.9-64 foreign_0.8-40
[7] chron_2.3-35 zoo_1.6-3 vegan_1.17-3
[10] ggplot2_0.8.8 proto_0.3-8 reshape_0.8.3
[13] plyr_0.1.9
.Rprofile:
#source USGS graphing function for base data
source("~/R_scripts/USGS.R")
source("~/R_scripts/publication_ggplot2_theme.R")
source("~/R_scripts/llScript.R")
#set help_type
options(help_type="html")
#exit to get around anoying q behavior
exit <- function(save="no"){q(save=save)}
#most used libraries
library(ggp...
2011 May 20
2
Calling Rscript from Makevars
...being installed on).
If I just have a simple Makevars containing
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
the package is built without any errors, if I attempt to add a call to
Rscript, for example (which I think is the way that "Writing R
Extensions" recommends):
R_SCRIPT_NAME=Rscript
ifneq ($(R_HOME),)
R_SCRIPT=$(R_HOME)/bin$(R_ARCH_BIN)/$(R_SCRIPT_NAME)
else
R_SCRIPT=$(R_SCRIPT_NAME)
endif
R_ARCH=$(shell $(R_SCRIPT) -e 'cat(R.version$$arch)')
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
I get the following error:
* checking for file ...
2024 Mar 22
1
Problem with new version of R: Mutated vocals
...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 this file from R (via the source command), I get the following error message:
> source("C:\\Users\\macho\\Documents\\_LVn\\Experimentelle ?bungen\\R-Scripts\\R-Dokumentation\\R_scripts zur R_Dokumentation\\Kapitel 4 Erstellen eines Balkendiagramms\\Test.R")
Fehler: invalid multibyte character in parser (C:\Users\macho\Documents\_LVn\Experimentelle ?bungen\R-Scripts\R-Dokumentation\R_scripts zur R_Dokumentation\Kapitel 4 Erstellen eines Balkendiagramms\Test.R:1:54
In additi...
2010 Jul 14
0
.Rprofile interfering with update.packages()
...ls_0.7-34
[4] lattice_0.18-8 sp_0.9-64 foreign_0.8-40
[7] chron_2.3-35 zoo_1.6-3 vegan_1.17-3
[10] ggplot2_0.8.8 proto_0.3-8 reshape_0.8.3
[13] plyr_0.1.9
.Rprofile:
#source USGS graphing function for base data
source("~/R_scripts/USGS.R")
source("~/R_scripts/publication_ggplot2_theme.R")
source("~/R_scripts/llScript.R")
#set help_type
options(help_type="html")
#exit to get around anoying q behavior
exit <- function(save="no"){q(save=save)}
#most used libraries
library(ggp...
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 is supposed to be "Rcmd BATCH" or "S BATCH" in
case of S+6
r_script a script inclu...
2011 May 30
0
Analysis of Dispersion
...ires setting up a design matrix, X, melding it with your observation matrix, Y, and producing a YX joint CSV matrix that the andy.R reads. A more friendly interface would be appreciated for recommendation to colleagues who are not into design matrices.
http://www.bio.umass.edu/biology/kunkel/pub/r_scripts/andy/
Joe
Rao, C. R. [1965]. Linear Statistical Inference and its Applications. Wiley, New York
-?. .? ?. .><((((?>?. .? ?. .><((((?>?. .? ?. .><((((?> .??.? >=- =?}}}}}><
Joseph G. Kunkel, Professor
Biology Department
University of Massachusetts...
2004 Jul 12
0
text editor for R - summary on R-WinEdt
...7 %B\Bitmaps\Buttons\R-paste.bmp
248 %B\Bitmaps\Buttons\R-source.bmp
249 %B\Bitmaps\Buttons\R-script.bmp
6) Open WinEdt.img and add this to the end of the list of bitmaps
246 %B\Bitmaps\Images\R_history.bmp
247 %B\Bitmaps\Images\R_paste.bmp
248 %B\Bitmaps\Images\R_source.bmp
249 %B\Bitmaps\Images\R_script.bmp
7) Add the R menu items to the Default WinEdt Toolbar by right
clicking on the toolbar. Then select Enter Toolbar Setup.
Finally, click the R buttons (there are four) and add them one
at a time to the toolbar.
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.un...