similar to: Cygwin and Rtools

Displaying 20 results from an estimated 30000 matches similar to: "Cygwin and Rtools"

2007 Jun 11
1
Recoding
I want to do some recoding of variables: code Age into groups and recode a factor into a smaller number of levels. There are a couple of options for recode functions, in the car package and in memisc, and I think in gmisc. Does anyone have any opinions on the the easiest, most reliable approach for these problems? David Scott _________________________________________________________________
2008 Jan 27
2
[OT] Open source archive program on windows
I am looking for a recommendation for an open source competitor to Winzip. I seem to recall Brian Ripley mentioning one in the last year or so, but couldn't find it in the mail archives. (Searching on Ripley there is somehow not terribly useful.) Suggestions? David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus
2007 May 28
2
RODBC and Date/Time variables
This is really a query about MySQL which I am trying to use to set up a database which I will then access with RODBC. I have my data in a .csv file, and some of the fields are date/time fields. I tried to create a table using mysql with the definition of the date/time field given by CallDate DATETIME, but I got an error saying that the first row has 28/07/2006 0:00 in that field. What I
2008 Feb 11
4
R programming style
I am aware of one (unofficial) guide to style for R programming: http://www1.maths.lth.se/help/R/RCC/ from Henrik Bengtsson. Can anyone provide further pointers to good style? Views on Bengtsson's ideas would interest me as well. David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland,
2004 May 06
3
strptime
Delving into the murky world of dates and times I found this: dates <- c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92") > times <- c("23:03:20", "22:29:56", "01:03:30", "18:21:03", "16:56:26") > x <- paste(dates, times) > z <- strptime(x, "%m/%d/%y
2005 Oct 31
2
Help with try or tryCatch
I am having trouble with try and tryCatch. I have read the documentation but I just don't get it. Here is what I am trying to do. I am testing a function which has a number of parameters. I want to test it for different values of the parameters and I have some loops, in the middle of which is a test of the function. Sometimes the routine fails and so I have put the bit that might fail
2008 Sep 18
1
Plotting curves in lattice panels
I have a data set concerning ferritin levels in blood. There are three relevant columns for this question, ferritin (continuous), score (ordered, from 0 to 8) and gender. There is a good linear relationship between log(ferritin) and score for each gender. I can create a lattice plot on the log scale showing the data and the fitted line: xyplot(log(ferritin) ~ total|gender, data = blood,
2005 May 31
2
POSIX problem
I am having trouble with creating a POSIXct object. If I create a variable of class Date first out of the date part of my data, I am ok, but if I just paste the date and time parts together and try and create the POSIXct object, I have problems. Here is a toy example created from the actual data which caused the problem. I am using R 2.0.1 on Windows XP. > # Data frame with dates and
2008 Jan 22
1
Reading .csv file under linux
I have encountered a problem with reading a .csv file on a linux box. I can read the file on my windows machine (under XP) but on the linux box it gives : > patients <- read.csv("../Patients.csv", header = FALSE, + col.names = patientsNames) Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, na.strings = character(0)) : invalid multibyte string
2004 Aug 26
1
Plotting groupedData objects
I am trying to create a plot similar to Figure 3.2 in Bates and Pinheiro. I have repeated measurements on about 80 subjects from 2 treatment groups. I would like to have the panels for the two treatment groups in separate groups and within those groups have the panels ordered on maximum value (as is the default). I am ok with getting plots similar to Figs 3.1 and 3.2, but can't see how to
2006 Feb 11
1
Errors using update.packages()
When trying to update packages after the sysadmin updated R on my unix box I got errors on some packages. For example for chron: * DONE (chron) mkdir: cannot create directory `/usr/lib/R/library/00LOCK': Permission denied ERROR: failed to lock directory '/usr/lib/R/library' for modifying I got similar messages for spatial and cluster and warnings for other packages. Finally I got:
2003 May 02
3
letters to numbers conversion
Hello List How do I turn R> simple.example.alphabetic [,1] [,2] [,3] [1,] "a" "b" "c" [2,] "d" "e" "f" [3,] "g" "h" "i" into R> simple.example.numeric [,1] [,2] [,3] [1,] 1 2 3 [2,] 4 5 6 [3,] 7 8 9 [ie "a" becomes 1, ..., "z"
2003 Jan 10
1
Creating packages
I am trying to create a package. I have succeeded in running R CMD check and R CMD build on an Intel box running Redhat. I would now like to build it on Windows as well. There is no compiled code in the package at all. I have downloaded the tools from Brian Ripley's Building R for Windows page, and installed Active Perl 5.8.0. I have set paths, and Rcmd and the tools are being found ok. I am
2013 Nov 22
1
tar binary in RTools 3.1.0.1939 has problems with tar.bz2 files
Hi, With Rtools 3.1.0.1936 I can create and extract from .tar.bz2 files: (first directory in %PATH% is c:\rtools31.1936\bin) E:\>tar jcvf tmp.tar.bz2 tmp tmp/ tmp/foo.txt E:\>tar jtvf tmp.tar.bz2 drwxr-xr-x 4294967295/4294967295 0 2013-11-22 11:35 tmp/ -rw-r--r-- 4294967295/4294967295 3 2013-11-22 11:35 tmp/foo.txt E:\>mkdir ex E:\>cd ex E:\ex>tar jxvf ..\tmp.tar.bz2 tmp/
2004 Sep 30
1
nlme: cannot allocate vector of size 126064 Kb
I have around 4000 observations of a time series. I am trying to fit a regression with ARMA error structure using gls from the package nlme. I have encountered the error: cannot allocate vector of size 126064 Kb I know this has come up many times before and I will check out the suggestions in the mail archive. I was wondering though if there is an alternative package that will fit such a
2002 Dec 12
2
width and length arguments to postscript()
Hi everyone This must be a FAQ but I can't find it anywhere... I want a postscript image of a contour() plot, with axes of equal length. Try R> postscript(file="~/f.ps") R> contour(matrix(rnorm(100),10,10)) R> dev.off() This isn't what I want: the plotting region is, as documented, quarter of an inch shy of the paper edge and the axes appear to be different lengths.
2004 Aug 09
1
Time zones
I am analysing some data collected over a number of months from Allentown, PA, which is just north of Philadelphia. I am using as.POSIXct for dates and times, and I need to get the timezone specification correct. Going on the documentation for DateTimeClasses, I believe one way to specify the correct time zone is tz="EST5EDT" I would be grateful for any advice on this. I ask
2013 Oct 05
3
trying to compile R in win 7 (with Rtools)
hello all, I am trying to compile the R in Win7 and compiles one small part but the script don't move from the 'base' directory to 'stats' I installed the Rtools likee administrator and call the terminal (MS-DOS) like administrator too. if somebody can tell me any tips, I thank in advanced cleber ############################################# File LOG
2003 Mar 06
3
multiple plots and postscript()
Kia Ora everybody. There must be an obvious answer to this, but I can't see it.... I want four square plots in one postscript file. The canonical answer would be: postscript(file="~/f.ps",width=5,height=5) par(pty="s",mfrow=c(2,2)) plot(1:19,xlab="") plot(1:19,xlab="") plot(1:19,xlab="") plot(1:19,xlab="") dev.off() But this
2003 May 29
2
R CMD BATCH --vanilla --slave produces unwanted lines
Hello list (thanks for all the help on my data.frame() question, especially to Professor R for a working script...I was pleased to see the solution wasn't obvious!) Anyway, now I'm trying to run R in batch mode, but I'm getting extra output, which I don't want (RedHat 8.3, R-1.7.0): r:~% cat test.R options(echo=FALSE) write(rnorm(4),"") r:~% R CMD BATCH --vanilla