search for: r_scripts

Displaying 10 results from an estimated 10 matches for "r_scripts".

Did you mean: u_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/s...
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 m...
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
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(ggpl...
2011 May 20
2
Calling Rscript from Makevars
Hi, I am trying to package some code to use with R and wanted to call Rscript from within the Makevars file (I am trying to automate the setting of the location of a third party library depending on what is available / the system the package is 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
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 additio...
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(ggpl...
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
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 A...
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