Displaying 20 results from an estimated 2000 matches similar to: "Old packages to updated R"
2007 Sep 27
1
crashing R through lattice
I have been crashing R while using lattice.  My system consists of a Mac
Intel, R 2.5.1, lattice 0.15-5, and I plot through the default quartz.
R crashes after plotting several lattice functions.  Has anyone else
encountered this problem and does anyone know the cause, or a solution?
Is this a lattice:mac, lattice:quartz, Lattice:me issue?
example...
This crashes my system after plotting.
2007 Sep 07
1
tcl/tk help
I am running R 2.5 on a Mac platform and have a difficulty loading the
Tcl/Tk package.
Specifically:
R>library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : couldn't connect to
display ":0"
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'
Is there an explanation to this problem?  Thank you
2008 Jun 10
3
fitting periodic 'sine wave' model
I have been attempting to estimate the periodic contribution of an  
effect to some data but have not been able to fit a sine wave within R.
It would be nice to start by being able to fit a sine wave with an  
amplitude and frequency.
x<-seq(0,20,by=0.5)
y<-2*sin(2*pi*.5*x) #amplitude =2, frequency=0.5
# This failed to converge
r<-nls(y ~ A*sin(2*pi*F*x), start=list(A = 1, F = 1),
2009 Sep 16
3
apply function across two variables by mult factors
Greetings,
I am attempting to run a function, which produces a vector and  
requires two input variables, across two nested factor levels.  I can  
do this using by(X, list(factor1, factor2), function), however I  
haven't found a simple way to extract the list output into an  
organized vector form.  I can do this using nested loops but it isn't  
exactly an optimal approach.
Thank you
2009 Jun 12
2
Automate a data load and merge
Hi R list,
	I would like to automate, or speed up the process from which I take  
several separate datasets, stored in .csv formate, import and merge  
them by a common variable.  So far I have greatly sped up the loading  
process but cannot think of a way to automate the merger of all  
datasets into a common data.frame.
	My apologies if this has been covered, any R search suggestions are  
2008 Apr 11
1
polygons on scatterplot3d
Does anyone have any experience plotting complex polygons on a  
scatterplot3d display?  I would like to present some spatially binned  
data in a 3-d type plot with background polygons (i.e.. a filled  
coastline map).  I can get the coastline onto the plot window as a  
line type but cannot figure out how to fill the shape.  I'm certain it  
may be possible but might require a bit of digging
2008 Mar 15
1
Conditionals for Errors or error flags
Greetings,
I have been working on a script that conducts repeated statistics and  
plots to my data.  In this case it is sub-setting the dataframe by  
month.
The intent is to develop a custom analysis and plotting that I can run  
on a large number of data sets.
Unfortunately, a small portion of my subsets (~1%) cause an error with  
one of the wrapped subroutines that results in the whole
2008 Nov 17
2
How to calculate the linear distance between 2 points
Deemed colleagues
I would appreciate your help with a sentence to calculate the linear
distance between 2 geographical points (coordinates in UTM).
In advance thnks for your attention,
-- 
Ricardo Bandin Llanos
rbandin@udec.cl
Estudiante - Magíster Cs. m. Pesquerías
Universidad de Concepción, Región del Bio-Bio, Chile
Celular: (0056-41) 97949957
	[[alternative HTML version deleted]]
2009 Feb 10
1
lattice shingle with time and date format
Hi R-Users,
I have a time series of bivariate observations (x,y,t).  I've  
developed a few panel routines to explore certain aspects of the data,  
and now would like to break the time series up into smaller chunks to  
explore the temporal trends.  I would like to know if anyone has any  
experience breaking up time series with lattice.
Base graphics offers coplot, utilizing the
2008 Dec 07
1
custom panel help in lattice
Hi,
I am having an issue with a custom panel for lattice.  The problem  
comes when I try passing a groups argument.
Here is the custom panel, a wrapper for smooth spline.  I copied  
panel.loess and replaced the loess arguments with smooth.spline().  
[Note: I would like to use the cross-validation fitting properties of  
smooth.spline.]
library(lattice)
2008 Jan 18
1
html search not working
Sorry the first email had no subject.
I've searched around and havent had much luck trying to explain why my
HTML search no longer works.  If I use
?cor.test
it is unable to display the webpage.  Is this a java problem?  I am
running windows xp, and use Internet explorer for my default browser.
Thanks
--------------------------------------------------
David Kowalske Jr
Graduate Research
2008 Feb 05
2
maps and lattice
Is it possible to place maps onto lattice plots?
With basic plotting you can add a map to a plot
library(lattice)
long<-c(-69.2, -69.5, -70.1, -70.3)
lat<-c(41, 41.5, 43.2, 42.8)
plot(long, lat)
map('state', c("massachusetts"),add=TRUE)
but is it possible with lattice?
library(lattice)
factor<-c(1,1,2,2)
xyplot(lat~long|fact)
...now what?
I have looked at panel and
2008 Dec 04
2
Plotting a kriging on a map
Hi list,
Well, this time I’ve a doubt with mapping generation.
I was already able to read and plot shapefiles, plot point on this map. All
this without any problems, but now I want to do something that I think, only
Golden Software Surfer is capable of.
I would like to plot a kriging result on the existing map (map script
below). Well I looked for on the net, but I was not able to be sure of
2007 Apr 05
2
"old" rpm version package handling broken!? (SuSE8)
Hi!
Using (among others) the pretty old SuSE8.1, I cant get puppet to 
install packages.
The rpm programms bahaviour was changed somewhen between versions 3 and 
4 (sry, don´t know exactly when) and the old version does not support 
the "--nosignature" and "--nodigest" params and "--oldpackage" is purely 
an update parameter so when trying to install a package I
2004 Jun 15
2
S/R/RWeb/ODBC
I'm looking for an optimal approach to access Oracle databases via RWeb
applications. I'm new to R but familiar with programming functions and web
pages for the S+ Statserver. I'm now going through the motions of migrating
S+/Statserver applications to R/RWeb as a feasability exercise. I can access
databases using ODBC directly in R or S, and using Statserver, but I have
not succeeded
2009 Aug 19
4
Confidence interval on parameters from optim function
Hi everyone,
I have two questions:
I would like to get confidence intervals on the coefficients derived
from the optim() function.
I apply optim() to a given function f
> res <-
optim(c(0.08,0.04,1.),f,NULL,method="L-BFGS-B",lower=c(0.,0.,0.))
And I would like to get the p-value and confidence intervals associated
with 
> res$par
My second question deals with error message. I
2008 Oct 17
1
Use of .First() in Mac OS X gui
Hi,
I am having problems using .First() with the Mac OS X gui version of R 2.7.2
(under OS X 10.5.5); .First is ignored on startup. .First() does work in the
command-line version of R under Mac OS X but my specific task requires the
gui version. I can find no reference to this issue in the Mac OS X FAQ or in
other manuals, does anyone have a solution for this?
Thanks,
Ian 
-- 
Ian Jonsen
2006 Jan 19
3
Processor Size
Can someone give me an idea of the processor power I will need for 1 x 
TDM240 with 2xquad FXO's and 8 sip phones/ATA's on a quite 100Mbit LAN.
The machine we have available of hand is a P4 1GHz with 768MB RAM.
Tx
Marnus van Niekerk
-- 
"Opportunity is missed by most people because it is
dressed in overalls and looks like work."
Thomas Alva Edison - Inventor of 1093
2009 May 11
1
R and McAfee 8.5
Hi,
I have been working with R for the last year and using the UKFSST package to look at satellite tag track data and SST information. Fpr those not familiar, the package uses the positions estimated by the satellite tags themselves and the associated SST data from servers (in this case, from the University of Hawaii and the NOAA Coastwatch website) for the time preiod to estimate a reasonable
2009 Aug 11
1
Passing a list object to lapply
Hello,
I'm having difficulty passing an object name to a lapply function. Can
somebody tell me the trick to make this work?
#Works
T13702 <- TRACKDATA[["13702.xls"]][["data"]]
min(unlist(lapply(list(T13702), function(x) mdy.date(x[1, 2], x[1, 1],
x[1, 3]))))
16553
#Works
d<-2
assign(paste("T",substr(names(TRACKDATA)[d],1,(nchar(names(TRACKDATA)[d]