On Fri, 10 Aug 2007, Peter Wickham wrote:
I am running R 2.5.1 using Mac OSX 10.4.10. xlsReadWrite is a Windows
binary. Instead, install and load packages: (1) gtools:(2) gdata. These
are both Windows and Mac binaries. gdata depends on gtools, so be sure
to load gtools first or set the
Dear All
I want to run Phillips-Perron test with no constant and trend in estimated
equation in urca library then how i can run it with command ur.pp()? whereas
if i want to run ADF test in urca library then there is no problem.Kindly guide
me in this regard.
Thanks
Zahid Khan
Lecturer
Hi
Emilio Gagliardi wrote:
haha Paul,
It's important not only to post code, but also to make sure that other
people can run it (i.e., include real data or have the code generate
data or use one of R's predefined data sets).
Oh, I hadn't thought of using the predefined
I have an Excel workbook MyWorkbook.xls containing an Auto_Open macro
which I want to be run from R.
shell.exec(MyWorkbook.xls)
does that.
shell(start MyWorkbook.xls)
also runs it.
In both cases, the Excel window is visible on screen when Excel is started.
Is there a way of opening the sheet
I am new in using R, and I am interested to use the spatial data
analisys
with circular.
Please, if possible, to inform me about the installation of circular
and its usage.
I thank you very much in advance.
Your truly
Raffaele Cotza
__
Hi
A couple of comments/ideas/rambles:
(o) I've read about pic, but never used it, but what I saw looked very
cool.
(i) In a way, this sounds a bit like the R2HTML package, but instead of
taking R objects from data analysis and converting them to HTML, you
take R objects from plotting and
Hello
I try to fit a LDA and RDA model to the same data, which has two classes.
The problem now is that the training errors of the LDA model and the
training error of the RDA model with alpha=0 are not the same. In my
understanding this should be the case. Am I wrong? Can someone explain what
the
The system() function has an invisible= argument. The ryacas package
uses system() to run yacas. See the runYacas() and
yacasInvokeString() functions in yacas.R for examples:
http://ryacas.googlecode.com/svn/trunk/R/yacas.R
On 8/11/07, Erich Neuwirth [EMAIL PROTECTED] wrote:
I have an Excel
At 14:31 07/08/2007, Elva Robinson wrote:
I am trying to run a GLMM on some binomial data. My fixed factors
include 2 dichotomous variables, day, and distance. When I run the model:
modelA-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family=binomial)
I get the error:
iteration 1
Error in
Hello,
Q/ Is it possible to create a DBMS connection automatically on startup of R?
(Making sure of course that the db server has been started...)
I am running MySQL on Mac OS X 10.4.2 with R2.4.1.
I have tried to write a function using the RMySQL commands (below) and place
them in .First of
I think I asked you yesterday on the [EMAIL PROTECTED] account to read the
posting guide *before* posting to R-help and I asked you not to
SHOUT!!!
Uwe Ligges
lecastil wrote:
Good day. I am employed at a public entity that handles million
information and records of several
dominic senn wrote:
Hello
I try to fit a LDA and RDA model to the same data, which has two classes.
The problem now is that the training errors of the LDA model and the
training error of the RDA model with alpha=0 are not the same. In my
understanding this should be the case. Am I wrong?
On Sat, 11 Aug 2007, Ruddy M wrote:
Hello,
Q/ Is it possible to create a DBMS connection automatically on startup of R?
(Making sure of course that the db server has been started...)
I am running MySQL on Mac OS X 10.4.2 with R2.4.1.
I have tried to write a function using the RMySQL
Hello!
I have a question regarding the cumsum function that I do not know how to
solve. Would appreciate help from someone. I have imported data from a
txtfile with 2 columns. I am interested in the seconds column, which
contains numbers from i=0 to 40. I would like to count the number of
Thanks Gabor,
system() indeed would be the answer, but it does not solve my problem
because of some inconsistencies in WindowsXP.
I will explain the story, because perhaps it can help somebody else to
avoid wasting time.
On my machine, when I doubleclick an .xlsm file, it is opened in Excel
2007.
Hectorman Hectorman wrote:
Hello!
I have a question regarding the cumsum function that I do not know how to
solve. Would appreciate help from someone. I have imported data from a
txtfile with 2 columns. I am interested in the seconds column, which
contains numbers from i=0 to 40. I
hello,
I asked about this simulation a few days ago, but still i can't get what i
need.
I have 2 units: icu and regular. from icu I want to take 200 observations
from binomial distribution, when probability for disease is: p=0.6.
from regular I want to take 300 observation with the same
Hi all, is there a way to properly terminate Rserve instead of killing the
process? I run Rserve in a linux box that serves my Java client.. I have a
cronjob that runs Rserve every morning. However, I'm killing it at night
manually for the moment. Is there a way, given host/port, I can run an R
On 11 August 2007 at 11:00, yoo wrote:
| Hi all, is there a way to properly terminate Rserve instead of killing the
| process? I run Rserve in a linux box that serves my Java client.. I have a
| cronjob that runs Rserve every morning. However, I'm killing it at night
| manually for the
Yea, I found the shutdown function in the java interface as well.. but is
there a way I can send a shutdown command through linux shell? (something
that I can cron?)
Thanks!!
- yoo
Dirk Eddelbuettel wrote:
On 11 August 2007 at 11:00, yoo wrote:
| Hi all, is there a way to
Dear r-helpers,
I have two questions:
(1) The following produces a pdf with artifacts. How do I prevent them?
require(grDevices)
imSize - 200
lambda - 10
theta - 15
sigma - 40
x - 1:imSize
x0 - x / imSize -.5
freq = imSize/lambda# compute frequency from
wavelength
xf = x0
Dear r-helpers,
In my previous message there were comments in the code that may have
made cutting and pasting awkward. Here it is w/o them.
I have two questions:
(1) The following produces a pdf with artifacts. How do I prevent them?
require(grDevices)
imSize - 200
lambda - 10
theta - 15
In the hypothetical example below, how do I add two segments() into
the two panels, respectively? Say segments(x0=5, y0=10, x1=5, y1=20)
on the left and segments(x0=15, y0=-10, x1=15, y1=-2) on the right?
Many thanks in advance,
Yuelin Li.
ps. part of the code came from a solution given by
Dear R-users,
My script imports a dataset from a csv file, in which missing values are
represented by .. This importation is done into a dataframe using the
read.table function with na.strings = . Then I want to replace the
NAs in the first column of the dataframe by Missing data. I am using
Hi,
I never use cobweb before and I'm quite new to this. I have a couple of
questions around the cobweb implementation in R Weka. If you could supply
answer or insight, I would really appreciate.
1. From Fisher's paper in 1987, it seems that Cobweb only deals with nominal
data. In R Weka
The problem is that the first column is probably a factor and you are
trying to assign a value that is not already a 'level' in the factor.
One way is to read the data with as.is=TRUE to keep it as character,
replace the NAs and then convert back to factors if you want to:
x -
If you are using Windows, then try:
system('cmd /c yourfile.xls')
This will invoke the windows command processor and it should pick the
correct association.
On 8/11/07, Erich Neuwirth [EMAIL PROTECTED] wrote:
Thanks Gabor,
system() indeed would be the answer, but it does not solve my problem
Michael Kubovy kubovy at virginia.edu writes:
Dear r-helpers,
I have two questions:
(1) The following produces a pdf with artifacts. How do I prevent them?
You don't say what the artifacts are, but I suspect
you're seeing the effects of anti-aliasing:
Uwe Ligges wrote:
Henrique Dallazuanna wrote:
Hi,
Try whit:
if(time[j] = 18:00:00 23:59:59)
This code is obviously wrong and does not help for the next few lines in
the questioner's message, please do not post unsensible stuff.
Uwe Ligges
Actually, I would have said
Hello!
I am using the deldir package to visualize my data, pretty neat.
However, i need to fill the colors using polycol =, fill with colors
like a heatmap - more of a gradient fill. The only colors i get are
very blocky - how do i assign the correct colors for a gradient, even a
Thanks you very much Jim,
As usual, your reply was very helpful (although I did not directly apply
it). My dataset contains many columns, including numerous columns that I
wanted to keep as factor. Instead of adding as.is = true at the
readtable step, I am using the same philosophy but on a
31 matches
Mail list logo