similar to: Creating packages

Displaying 20 results from an estimated 3000 matches similar to: "Creating packages"

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 Mar 18
1
profile error on an nls object
Hello all, This is the error message that I get. > hyp.res <- nls(log(y)~log(pdf.hyperb(theta,X)), data=dataModel, + start=list(theta=thetaE0), + trace=TRUE) 45.54325 : 0.1000000 1.3862944 -4.5577142 0.0005503 3.728302 : 0.0583857346 0.4757772859 -4.9156128701 0.0005563154 1.584317 : 0.0194149477 0.3444648833 -4.9365149150 0.0004105426 1.569333 :
1999 May 12
0
Problem with stripplot
I have had a problem with stripplot. Documentation does say that method ="stack" is only appropriate for granular data, but I don't think that means it should fall over. > difference [1] 2.0 1.3 2.8 -2.6 -0.4 -0.4 -1.2 -1.4 -1.0 1.2 -2.6 -1.9 > stripplot(difference) > stripplot(difference,method="jitter") > stripplot(difference,method="stack")
1999 Mar 03
1
Directories
I am using r0.63.2 for Windows. This seems like it should be a FAQ but I couldn't find it in the R FAQ. If I want to have different workspaces for different projects how do I arrange for R to restore a workspace from a directory other than the one where the executable is, automatically on startup? Is it possible, or do I have to save the workspace in the right directory then manually restore
2006 May 24
0
ASC/NZSA 2006 - Detailed Program Available via the Website
Australian Statistical Conference / New Zealand Statistical Association Conference 'Statistical Connections' SKYCITY, Auckland, New Zealand 3 - 6 July 2006 LESS THAN TWO MONTHS TO GO Register Online Now! Register now for ASCNZ06 - an international conference with a full and varied scientific program. For up to date and detailed information on the 2006 Program visit:
1999 May 24
1
Files and Windows/NT
I am using rw0.63.2. I haven't upgraded because we use R for teaching. Students use R at home, and we don't want to change them over in midsemester. Also we have some additional functions we use, and we need to test them before we start to use a new version. Which brings me to my question. To help with testing we are preparing a test file which will run through all our examples. In the
2003 Apr 21
4
help.start in R-1.7.0 with Netscape 7.0.
I'm experiencing a new and annoying phenomenon which seems to consist of an unfortunate interaction between R-1.7.0 and netscape version 7. When I invoke help.start(), a netscape window duly appears with the browser pointed at the file .../R/doc/html/index.html as one would hope and expect. However if I then ask for help on a function, e.g. > help(glm) the help does NOT get displayed
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
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
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
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,
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
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
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
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
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,
2006 Feb 28
3
LaTeX in R graph
Hello, I would like to know if it is possible to insert LaTeX typesetting in R output. I want to obtain a graph with LaTeX label in order to incorporate it as postscript or pdf, x<-seq(0,1,length=100) y<-x*x plot(x,y,xlab="$X$",ylab="$X^2$")