Displaying 20 results from an estimated 400 matches similar to: "Excel files"
2011 Jan 24
3
error with source(): invalid 'times' value
hi
I am seeing a strange behavior I can't understand... doing:
> source("/tmp/RFile.r",echo=TRUE)
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - :
invalid 'times' value
> traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2010 Mar 24
1
R and/or REngine kills Java
Hi all,
I am using R and JRI under Windows XP Pro. I am posting this question
here since the reason might be R related (since I am running an R
script) but there is also a very good chance that it is JRI only
(since I am using the JRI interface to activate the script) -- in
which case I want to apologize for misplacing this message.
I have a method that instantiates an REngine object every time
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists,
I am trying to create a Makefile that will first convert all my .Rnw
files into .tex files and then, that will run the LaTeX compiler to
produce a pdf document. This issue has been discussed before. Hence,
I've basically adapted a Makefile I found at
http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023
to make it compatible with a Windows
2004 Dec 13
4
Calling R from a non-X shell script to plot?
I am trying to run R from an apache C++ module in a shell script to
plot some data to display it in apache later. I get the error
(reported in apache's logs):
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
In addition: Warning
2002 Jun 26
2
contrast matrix in package multcomp
Hi,
I've got a problem building a contrast matrix for the Dunnet contrast in
package multcopm. The following works fine:
> summary(simtest(adiff ~ trial))
Simultaneous tests: Dunnett contrasts
Data: adiff by trial
Contrast matrix:
trial1 trial2 trial3 trial4 trial5
trial2-trial1 -1 1 0 0 0
trial3-trial1 -1 0 1 0 0
2003 Sep 17
2
Very long console input lines
Hallo all,
I got a problem executing R in batch-mode via a perl-script (under Win2000) :
system ("Rterm.exe --slave --no-save --no-restore \<Rfile.r \>NUL");
The R execution is aborting with syntax error due to very-long lines.
My solution is converting
a <- c("very long string")
to
a <- paste("short string 1",\n
"short string
2018 Oct 09
2
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
On Thu, Sep 20, 2018 at 11:51 AM Richard W.M. Jones <rjones@redhat.com>
wrote:
> Previously this output method was almost completely untested.
>
> This commit adds a fake ovirtsdk4 module so we can test the
> -o rhv-upload method fairly completely without needing an actual
> oVirt instance around.
> ---
> v2v/Makefile.am | 4 +
>
2012 Oct 13
1
DCC help
hi all,
i am using a dcc model for my senior thesis, it looks at stock returns
during times of market uncertainty.
my current rfile is below.
library(SparseM)
library(quantreg)
library(zoo)
library(nortest)
library(MASS)
library(fEcofin)
library(mvtnorm)
library(ccgarch)
library(stats)
library(foreign)
#dataset<-read.csv(file="xxxx",header=FALSE)
attach(dataset);
2018 Nov 20
2
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
On Mon, Oct 15, 2018 at 05:13:31PM +0100, Richard W.M. Jones wrote:
> On Mon, Oct 15, 2018 at 06:43:10PM +0300, Nir Soffer wrote:
> > On Mon, Oct 15, 2018 at 6:21 PM Richard W.M. Jones <rjones@redhat.com>
> > wrote:
> >
> > > On Tue, Oct 09, 2018 at 02:28:10PM +0300, Nir Soffer wrote:
> > > > > +# Create a background thread running a web server
2011 Jun 09
1
package.skeleton() does not create 'data' folder
Hi again, yesterday I mailed this query however I could not see this
on the mail list. Therefore, I am reposting it again.
I was using package.skeleton() function to create the
skeleton of my package in windows. Here is my attempt:
rm(list = ls())
setwd("F:/R_PackageBuild")
package.skeleton("trial1", namespace = TRUE, code_files =
"F:/R_PackageBuild/trial.r")
In
2007 Feb 09
1
append within worksheet in write.xls
I can currently append an entire worksheet with write.xls, but would
also like to be able to append within the same worksheet. Is this
possible? It doesn't seem to work if I use append = T
Thanks,
Mark
--
Mark W. Kimpel MD
Neuroinformatics
Department of Psychiatry
Indiana University School of Medicine
2005 Sep 04
1
specification for glmmPQL
Hello All,
I have a question regarding how glmmPQL should be specified. Which of
these two is correct?
summary(fm.3 <- glmmPQL(cbind(response, 100 - response) ~ expt,
data = data.1, random = ~ 1 | subject,
family = binomial))
summary(fm.4 <- glmmPQL(response ~ expt, data = data.2,
random = ~ 1 | subject, family =
2018 Oct 15
3
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
On Mon, Oct 15, 2018 at 6:21 PM Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Tue, Oct 09, 2018 at 02:28:10PM +0300, Nir Soffer wrote:
> > > +# Create a background thread running a web server which is
> > > +# simulating the imageio server.
> > >
> >
> > This functionality should be separated from the fake SDK module, since
> it is
> >
2010 Apr 25
4
Image into Excel file from R
Hi useRs,
I would like to know what R users are employing to get their
images/plots created in R, into Excel sheets.
I am aware of the various packages (xlsReadWrite, RODBC) to get data
frames into R, but I would like to copy images too.
Thank you for any help in solving this problem.
Regards,
Harsh Singhal
2007 Jun 20
1
How to handle package conflicts between classes ..
what is the best way to handle package conflicts between classes?
for example, below, i have the following two classes defined and both
include a "package { "perl-LDAP" }", so when used separately they work
as expected but when i need to assign both classes to a node i get a
conflict.
error: "Duplicate definition: Package[perl-LDAP] is already defined"
thanks
2010 Sep 19
2
working with eval and environments
I'm trying to get the following section of code to work, I think the problem
is being caused by the assignment of data to the lm function not evaluating
to "train" in the parent environment but I can't seem to figure out how to
do this.
fitmodel <- function(trial,data)
{
wrap.lm <- function(formula,data,...) { cat("in wrap lm",NROW(data),"\n");
2011 Jun 08
0
package.skeleton() does not create 'data' folder
Hi again, I was using package.skeleton() function to create the
skeleton of my package in windows. Here is my attempt:
rm(list = ls())
setwd("F:/R_PackageBuild")
package.skeleton("trial1", namespace = TRUE, code_files =
"F:/R_PackageBuild/trial.r")
In the trial.r file, there are 2 objects, one is a function and
another is data. Here they are:
fn1 <-
2013 Apr 25
0
Reading data from a text file conditionally skipping lines
Hi,
It would be better to give an example.
If your dataset is like the one attached:
con<-file("Trial1.txt")
?Lines1<- readLines(con)
?close(con)
#If the data you wanted to extract is numeric and the header and footer are characters,
dat1<-read.table(text=Lines1[-grep("[A-Za-z]",Lines1)],sep="\t",header=FALSE)
dat1
#?? V1 V2 V3 V4 V5
#1? 38 43 39 44 45
#2? 39
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
Dear all,
First of all, Merry Christmas! :)
While testing a File I/O sample program, I've encountered a link failure
due to missing implementation of "\01__isoc99_fscanf" function. I think
this function should be named "__isoc99_fscanf" instead. Please see the
program code and LLVM IR generated by DragonEgg and clang below. It shows
that clang generates
2008 Aug 31
2
Help using ed [OT]
Hi
Perhaps omeone might answer this tricky problem. I can do this other
ways, but i really want to understand how to solve it using ed. I have
one solution using g/re/s/re//txt/ , but I want to understand how or if
i can solve it using the ed (.)a command.
A script i have parse several files and append text after a specific
text is matched. If one file do not have this text, i get a no match