similar to: File based configuration

Displaying 20 results from an estimated 30000 matches similar to: "File based configuration"

2008 Mar 04
2
Strange paste, string or package problem?
Hi I came across this strange bug the other day, I'm not sure how to solve it and I wonder if anyone can even replicate it. Using OS Ubuntu 7.10 Step 1) Make an R package using the package.skeleton() command with only these two functions: error <- function(){ cmd <- paste(" -a ",1," -a ",1," -a ",1, " -a ",1," -a
2007 Jan 19
2
Cross-compile errors under R-2.4.0 and R-2.4.1
Dear all, I already posted a question regarding this to an existing thread: http://tolstoy.newcastle.edu.au/R/e2/devel/06/10/0852.html#start I apologize for the double posting but I have some further information that might be illuminating. I am trying to cross-compile my R-package under ubuntu linux, kernel 2.6.17-10-generic, on an IBM T60. I am following the suggested steps in
2007 Sep 10
3
plot legend: combining filled boxes and lines
Hello, I have difficulties combining boxes and lines in plot legend. I searched previous R-posts and found this (with no solution): http://tolstoy.newcastle.edu.au/R/help/06/07/30248.html. Is there a way to avoid boxes behind the line legends? x1 <- rnorm(100) x2 <- rnorm(100, 2) hist(x1, main = "", col = "orange",ylab = "density", xlab = "x", freq =
2007 Dec 21
3
Finding overlaps in vector
<posted & mailed> Dear all, I'm trying to solve the problem, of how to find clusters of values in a vector that are closer than a given value. Illustrated this might look as follows: vector <- c(0,0.45,1,2,3,3.25,3.33,3.75,4.1,5,6,6.45,7,7.1,8) When using '0.5' as the proximity requirement, the following groups would result: 0,0.45 3,3.25,3.33,3.75,4.1 6,6.45 7,7.1
2005 Apr 02
1
Survey of "moving window" statistical functions - still looking f or fast mad function
Hi, First, let me thank Jaroslaw for making this survey. I find it quite illuminating. Now the questions: * the #1 solution below (based on cumsum) is numerically unstable. Specifically if you do the runmean on a positive vector you can easily get negative numbers due to rounding errors. Does anyone see a modification which is free of this deficiency? * is it possible to optimize the
2008 May 31
2
tolstoi.newcastle dead?
Anyone know what's up w/ tolstoi.newcast.edu.au (home of the threaded R-help archives)? I've got a "can't connect" for several days now. Carl
2008 Jun 24
1
Error message: Bad value
Dear R help, In the middle of my session, I started receiving the error message "bad value" regardless of what I entered. I had to close R and restart it. When the error occurred, I was creating basic lattice plots, with no other add-on packages running. I am running R through John Fox's XEmacs interface, XEmacs version 21.4.20 on a Windows XP Pro machine with 2 GB of RAM. I have
2011 Feb 04
2
Strange behaviour of read and writeBin
To me it seems like writeBin() writes one char/byte more than expected. > con <- file("testbin", "wb") > writeBin("ttccggaa", con) > close(con) > con <- file("testbin", "rb") > readBin(con, what="character") [1] "ttccggaa" > seek(con, what=NA) [1] 9 > close(con) > con <-
2010 May 24
2
AM/PM strptime %p failing 2.11.0 WinXP
I am attempting to import dates in the following format to R: 5/20/2010 6:45:32 PM Unfortunately I am unable to get the AM/PM function (%p) to work correctly under either 2.11.0 or 2.8.1. > strptime("5/20/2010 6:45:32 PM", "%m/%d/%Y %I:%M:%S %p") [1] NA but > strptime("5/20/2010 6:45:32", "%m/%d/%Y %I:%M:%S") [1] "2010-05-20 06:45:32"
2008 Jun 19
1
Appending diagnostic information to all lines sent to stdout and stderr
Dear All I'm logging the stdout and stderr of an R program into two separate files (stderr.txt and stdout.txt) using sink() I would like to append extra information such as "date", "memory usage" etc to every line of output that goes to stdout or stderr. For example > cat("hello \n") should give output that looks something like: "hello --- Thu Jun 19
2007 Mar 23
1
using "\t" in mtext
Hi, Using tab spaces in mtext e.g. > mtext("\t") little squares are plotted. Is there a way to use "\t" without getting squares displayed? Thanks Thomas [[alternative HTML version deleted]]
2008 Feb 27
1
Label outliers in boxplot
Sorry if this is a stupid question, I'm a beginner and I didn't find help in manuals, archives, or web I have a z matrix of this type: a b c d 786-30.s2.gpr 0.2186214 1.3374486 89.37757 9.066358786-31.s1.gpr 1.0931070 1.3245885 81.37860 16.203704786-31.s2.gpr 0.5529835 1.3374486 86.43261 11.676955786-32.s1.gpr 0.6815844
2007 Apr 04
1
time zone problems
Folks, I'm having trouble with how datetime objects with time zones are set and plotted. This may be the result of my running R (2.4.0) on a Windoze XP box. Perhaps not. Here are two example problems I need advise on if you have time: 1) I collect data with dates (often as a fractional day of year) in UTC. Using strptime to create date time objects appears to force the data into
2008 Jul 07
2
A shorter version of ".Last.value"?
Hi, There is an object, ".Last.value" to which the result of the most recent evaluation is assigned. This is similar to "ans" in Matlab. In Matlab "ans" can be very useful and time-saving, but typing the larger R version is somewhat clunky and takes away from the usefulness. Is it possible to reassign '.Last.value' to something simpler, like
2011 Jan 05
2
OT: Reducing pdf file size
Greetings Does anyone have any suggestions for reducing pdf file size, particularly pdfs containing photos, without sacrificing quality? Thanks for any tips in advance. Cheers Kurt *************************************************************** Kurt Lewis Helf, Ph.D. Ecologist EEO Counselor National Park Service Cumberland Piedmont Network P.O. Box 8 Mammoth Cave, KY 42259 Ph: 270-758-2163
2005 Mar 02
5
Differences between package and library terminology
Just out of curiosity, what is the difference between the terms for package and library ? Why are we loading a package with the library() command ? If this is a case of RTFM, I would be happy to do so if pointed in the right direction. I have searched the FAQ and mail archives and only came up with http://tolstoy.newcastle.edu.au/R/help/05/02/12162.html but this still does not explain what is
2007 Jul 26
2
Creating windows binary R package (PowerArchiver vs. zip -r9X)
Hi list,I apologize if you see funny fonts, b/c I'm using the new Windows Live Hotmail and don't know how to turn off the "rich text" mode.....I have successfully built and installed a R package in windowsXP for R-2.5.1. But when I tried to create a .zip file so I can use "Packages/install package(s) from local .zip files..." to install it, it seems R only recognizes
2010 Feb 17
2
multi-argument returns
Dear R users, I have multi-argument returns in a function and I am warned by the program they are deprecated. I have found this in the R-help archives : http://tolstoy.newcastle.edu.au/R/help/01c/0319.html http://tolstoy.newcastle.edu.au/R/help/01c/0356.html Since I am not too good at programming, the list solution seems the better one for me. It is also the one advocated by Kevin Murphy. So
2005 Nov 16
1
RODBC help
I am using the RODBC package to read data from an Excel file. An excerpt of the file looks like this: 00103V206 AES Corporation 6.00% 42.87 00808N202 AES Trust III 6.75% 34.98 03748R861 Apartment Investment & Management 9.00% #ERROR (I) 039380209 Arch Coal, Inc. 5.00% 61.51 My problem appears to be related to specification of data types by column. For instance, the CUSIPS in column 1 are
2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As per the example I have two columns and 7 rows of data in each. However is real life data situation I may not know how many columns are present