Displaying 20 results from an estimated 8000 matches similar to: "[OT] Open source archive program on windows"
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
_________________________________________________________________
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 Mar 20
2
Cygwin and Rtools
I have just got a new machine and had a basic cygwin installed before it
was given to me. It didn't include make. Previously I have installed
Rtools to build packages and now I have got myself a bit confused as to
whether to just install make from the cygwin packages or to install
rtools. I would welcome any advice. I had a look at the rtools section in
the Administration Manual and the
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
2008 Jun 02
1
RJDBC cant find driver class in JDBC jar file
I would like to set up a Windows XP environment with R and MySQL.
This set-up was recommended by a friend who uses this set up, but I
have been unable to get RJDBC to work. I have installed all of the
software today (June 2 2008), first deleting and then replacing old
versions of software.
The error is as follows:
Error in .jfindClass(as.character(driverClass)[1]) : class not found
This error
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 Jan 22
2
a Q about R in unix
Dear All,
I finally have chance to have R install on our unix server. However,
the system admin asked me if I prefer command-line or gui interface.
I have experience with R on linux before but never use R on unix. Here
are my questions that I need you guys help.
1) is there a good gui for R/unix like we do for windows and mac?
2) if the answer for 1) is yes, which one is better interms of
2007 Nov 08
1
finite mixture model (or latent class)
Dear Listers,
My post might be somewhat OT.
Currently, I am trying to use flexmix to build a finite mixture model.
For instance, I am getting the prior probability and coefficients for
each latent class from training data. Is there a way to get the
posterior probablity and prediction of a new dataset?
What I am thinking is to apply the prior prob and coefficient from
training set to testing data
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
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,
2007 Dec 24
2
mgarch
Is there a package or function for multivariate garch model in R? I am
having a hard time in locating one. Thanks for help in advance.
-Young
[[alternative HTML version deleted]]
2007 Nov 14
2
Log random number
Dear R users,
Simply my question is that how it is possible to generate some random numbers using rnorm( ) but in log transformed values.
Thank you,
Tobias
---------------------------------
[[alternative HTML version deleted]]
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 31
2
[OT] emacs / xemacs for unix without compile
Dear All,
Is there a emacs/xemacs for unix without compiling it? If it is
possible, I prefer something that I can use immediately after putting
it on the unix server.
Is it possible or am I too stupid to ask this kind of question?
Thanks for your insight!
--
===============================
WenSui Liu
ChoicePoint Precision Marketing
Phone: 678-893-9457
Email : wensui.liu at choicepoint.com
Blog
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
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
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
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:
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