Displaying 20 results from an estimated 11000 matches similar to: "Making R packages"
2003 Sep 09
2
Making R packages (Unix)
Hi:
I have have taken over from a colleague who
prepared an R package and failed to build it on
Windows. I am doing this with unix as I am a mac
user. Below is the output I get when I use the
build command:
[gattuso:unix/R/CO2.Rcheck] gattuso% R CMD build CO2
* checking for file 'CO2/DESCRIPTION' ... OK
* preparing 'CO2':
* checking whether 'INDEX' is up-to-date ...
2002 Aug 19
2
Help with Lattice
Hi:
I have started to use Lattice two days ago and find that it is an
outstanding package. I am, however, stumbling on two problems,
despite the fact that I have read the help pages as well as two pdf
documents on Trellis that I found on the web.
1- I want to remove the ticks on the top and right sides of the
panels and did not see any option in "scales" to do so.
2- I would like
2002 Jan 18
2
length of dimnames???
Hi:
I have made a lot of progress reading and manipulating large data
files, thanks to the help of several of you. I am now stuck with
writing the final file with the following error (see also the full
transcript below):
Error in as.matrix.data.frame(x) : length of dimnames[2] not
equal to array extent
I do not know what it means and could not find how to get around that
in the manual nor
2003 Sep 02
2
FW: Creating a Package with Windows XP.
> Hi there fellow R-Users,
>
> I am trying to use the "package.skeleton" to create my own package with
> R.1.7.1 on Windows XP Professional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via
2002 Jan 02
1
Combining files
Hi:
I am a very recent user of R 1.40 for MacOSX and went through the
help files but did not not find the function that I am looking for.
I have two comma separated files which I want to partly combine.
File 1 has 49670 lines and 26 columns (separated by commas) and looks
like this:
...
2002 Aug 21
2
More help with Lattice
Hi:
Thanks a lot to Deepayan Sarkar, author of lattice I think, who
solved my first query. I am afraid that I have another one.
I am plotting several mutipanels boxplots (with one conditioning
variable) on one page. The x, y and conditioning variable are all
continuous variables. The x and conditioning variables are
transformed to shingles before being plotted. The plot looks nice but
there
2006 Aug 24
1
Lattice symbol size and legend margins
Hi:
I am using the following command:
xyplot(dat6$CO3*1e6 ~ dat6$irradiance, data=dat6, group=ref,
xlab=list(label=expression(paste("Irradiance (", mu, "mol photons",
m^"-2", " ", s^"-1", ")")), cex=1.3),
ylab=list(label=expression(paste("Carbonate concentration (x ", 10^"6",
" ", kg^"-1",
2003 Mar 28
4
Testing for randomness
Dear all,
Is there a test in R for the randomness of a sequence of observations (e.g.
to test the random number generator)? Specifically I am looking for autocorrelations
which are not necessarily linear in nature, which the acf function does
not seem to be flexible enough to detect as it tests for linear autocorrelation.
Thanks in advance,
Paul.
2003 Mar 07
5
Moving average
Hi,
Does anyone know if R has the functionality to calculate a simple moving
average. I cant seem
to find it in the help menu.
thanks,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James''s Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh
2003 Nov 19
2
Correction for first order autocorrelation in OLS residuals
Hi there fellow R-users,
Can anyone tell me if there exits an R package that deals with serial
correlation in the residuals of an lm model.
Perhaps, using the Cochrane Orcutt or Praise Wilson methods?
Thanks,
Wayne
Dr Wayne R. Jones
Senior Statistician / Research Analyst
KSS Limited
St James's Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
2004 Jun 09
3
market-basket analysis in R
Hi there fellow R-users,
Does anyone know if there exists a package for associated rules data mining
(market basket analysis) in R.
I have tried searching CRAN but with no luck.
Regards
Wayne
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England
Company Registration Number 2800886
Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305
2004 Jul 19
5
converting character strings to eval
Hi there fellow R-users,
I'm stuck on this seemingly trivial problem.
All I want to coerce a character string into a command.
For example:
x<-rnorm(20)
y<-rnorm(20)
str<-"lm(y~x)"
I want to evaluate the "str" command.
I have tried
eval(as.expression(str))
But it doesn't seem to work. I am aware of the call command, but for
reasons I won't go
2005 Aug 08
1
Reading large files in R
Dear R-listers:
I am trying to work with a big (262 Mb) file but apparently reach a
memory limit using R on a MacOSX as well as on a unix machine.
This is the script:
> type=list(a=0,b=0,c=0)
> tmp <- scan(file="coastal_gebco_sandS_blend.txt", what=type,
sep="\t", quote="\"", dec=".", skip=1, na.strings="-99", nmax=13669628)
2004 Oct 04
7
Strange Matrix Multiplication Behaviour
Hi there fellow R-users,
Im seeing some strange behaviour when I multiply a vector by a matrix
Here is my script:
> tr
1 2 3 4 5 6
0.2217903 0.1560525 0.1487908 0.1671354 0.1590643 0.1471667
>
> ex1
a b c d e f
1 0.2309579 -3.279045 -0.6694697 -1.1024404 0.2303928 -1.5527404
2
2007 Jul 23
1
Error using Rd2dvi on OSX
Hi,
I run R 2.5.1 on Mac OS 10.4.10 and fail to build a package manual.
Below is the transcript. The problem is a "pdflatex: command not found"
error but I think that I have a fully working latex install (installed
with iInstaller) as I use TeXShop with no problem.
Could someone help?
Jean-Pierre
-----------------------------------------------------------------------------
2003 Sep 04
3
: RODBC column length>255
Hello there fellow R-users,
I am using the RODBC functionality to query a database. I am trying to read
in a columns of strings which have a character field lengths greater than
255.
The data.frame that I recieve back from the RODBC query only contains the
first 255 characters (the rest having been truncated).
Any help on how to solve this problem would be greatly appreciated.
Reagrds
Wayne
2003 Nov 16
2
Error when calling a dll procedure
Dear experts,
I am a beginner in R and try to build dlls (Win XP, MinGW, R 1.7.1).
So far, I have managed to create and to use some dlls with C code which
worked properly.
Now I am stuck with a dll containing C++ code.
I have included some part of the source code (of an implementation of a
function to find all primes below a given numeric value -> its just an exercises
to get familar with
2003 Apr 17
2
Testing for Stationarity of time series
Hi there,
Does anyone know if R has a function for testing whether a time series is
stationary??
Thanks in advance,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James's Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh Floor St James's
2004 Feb 12
1
Almost Ideal Demand System
Hi there fellow R users,
Has anyone got an R example of applying an Ideal demand system, possibly
using the library systemfit??
Thanks
Wayne
Dr Wayne R. Jones
Senior Statistician / Research Analyst
KSS Limited
St James's Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street
2003 Apr 03
1
Na handing with time series objects
Hello All,
Does anyone out there know a way to decompose time series objects with
missing values.
A simple "na.omit" will not work since it does not preserve the time
differences between succesive observations.
Thanks in advance,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James''s Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161