Displaying 20 results from an estimated 7000 matches similar to: "R installation"
2002 Oct 10
1
make check when installing R-1.6.0
This is the result of my make check, could anyone help me out on this
one?
Formats: text example
running code in 'base-Ex.R' ...*** Error code 1
make: Fatal error: Command failed for target `base-Ex.Rout'
Current working directory /apps/R/R-1.6.0/tests/Examples
*** Error code 1
make: Fatal error: Command failed for target `test-Examples-Base'
Current working directory
2001 Jan 11
2
nls error handling
I'm written a function that uses nls in a loop to fit a model to resampled data. Occasionally a sample is drawn such that the algorithm (apparently) can't converge and
step factor reduced below minimum
is printed to the screen. I tried a few different settings for the minFactor parameter in nls.control with no different result. When this happens, I would like my function to put NAs
2010 Feb 26
1
RODBC looping sql script
Dear R users,
I am querying an Oracle database using sqlQuery() from the RODBC
package. What I would like to do is embed my R Sql query in a for loop.
For example
suppose the data.frame "vessel" contains two columns: vessel[,1]= vessel
id and vessel[,2]=permit year
I am using "vessel" as an input in a SQL based function that require
inputs of permit year and vessel id
2000 Feb 07
1
demo(nlm) error under R 0.99.0
I can't seem to get the demo(nlm) to run under R version 0.99.0
Anyone know a solution?
> fgh <- function(x) {
gr <- function(x1, x2) {
c(-400 * x1 * (x2 - x1 * x1) - 2 * (1 - x1), 200 * (x2 -
x1 * x1))
}
h <- function(x1, x2) {
a11 <- 2 - 400 * (x2 - x1 * x1) + 800 * x1 * x1
a21 <- -400 * .... [TRUNCATED]
> nlm(fgh,
2009 Aug 10
0
Matrix addition and multiplication
I posted this earlier, but am not certain that it was in fact posted, so I
will try again.
Hi, I have an equation Xcp and would like to look at errors affecting it. I
am applying errors of -.58 to .1 to R and -.45 to .47 to Xc. I would like
to look at all combinations. I set up a matrix function as follows and it
does not work. On the last line, when it run, it does not seem like the two
X’s
2009 Jul 16
1
axis label config mgp
I have long axis labels (8units) on the x axis and 2 unit number labels on
the y axis. I need to move the x axis title without moving the y axis
title. I have used mgp=c(title, label and line), but mgp moves both the x
and y titles. The following puts the y axis title way way out to the left.
Anyone know how to move just the x axis.
X11()
conif<-c("Control", "Switched
2009 Jul 10
1
[LLVMdev] fix for typo in llvm-c/Core.h
Is missing a *.
Peter
--
Peter O'Gorman
http://pogma.com
Index: include/llvm-c/Core.h
===================================================================
--- include/llvm-c/Core.h (revision 75249)
+++ include/llvm-c/Core.h (working copy)
@@ -853,7 +853,7 @@
template<typename T>
inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
#if DEBUG
- for
2005 Nov 16
1
PPC package-ppc.read.raw.nobatch (PR#8316)
Full_Name: Martin O'Gorman
Version:
OS:
Submission from: (NULL) (84.176.63.149)
I have been looking at the PPC package and have a question. As the input data is
comma separated, shouldn?t the command to read in the raw (no batch) mass spec
data indicate that sep=?,? (marked below) ? Otherwise, the data read in is the
pair of values (m/z,intensity). It is not obvious why that should be.
2009 Jul 15
3
Axes origins and labeling
I have re-labeled tick marks on the x axis. The problem is that by using
axes=FALSE, the axes disappears and when they are called back using
axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom left
corner of the graph. I would also like to have the 3rd and 4th axes in
there as well, all meeting in their respective corners.
par(mfrow=c(1,2))
gut<-c("Full",
2009 Oct 19
2
Time Series Data
Hi all and thanks in advance.
I am regressing Time and Weight, and then predicting Weight at
different Time. The format of the Time data is day/month/year. How
can I get R to use time series data such as this?
Keith
--
M. Keith Cox, Ph.D.
Alaska NOAA Fisheries, National Marine Fisheries Service
Auke Bay Laboratories
17109 Pt. Lena Loop Rd.
Juneau, AK 99801
Keith.Cox at noaa.gov
marlinkcox at
2010 Jan 22
1
first and second derivative calculation
I would like to calculate a first and second derivative and am having
problems finding a simple solution. My syntax may be off as I am not a
mathematician, so pardon ahead of time.
data:
t<-seq(0,4, by=.1)
The function is:
H(t) = t^3-6*t^2+5*t + 30
from here I plot the curve:
plot(x,y ,xlab="x-values", ylab="f(x)", type="l")
But would like to similarly plot the
2009 Jul 30
2
wireframe color
Hello, hopefully simple question, but I cannot find the answer. I need to
change the color from the standard default. Still want the scaled colors,
but need different colors for different graphs.
Code is:
wireframe(z ~ y*x, mat.df,
drape = TRUE,
zlab = list("Water mass error (%)",rot=92), zlim=c(-50,180),
xlab = list("Resistance error
2010 Jan 11
1
Point plot comparisions
I would like to create a point plot with the following two sets of points:
#1 plot(Day,Total) and #2 (Day,cons_hat). Total is the actual value seen
and cons-hat is a predicted value. If possible, I do not want to stack them
as they are quite long. (FYI, I did use the reshape on a previous post,
thanks, but this one is different).
Day Tank Tanks Total cons_hat
1 a a4 5.651017 5.59
2002 Jul 18
3
Error Trying to Join Win2k to Samba 2.2.5 Domain
I've got 2.2.5 running on a test server (RH Linux 6.2), and I'm trying to
get a Win2k box to join the domain, but I'm getting the following errors:
(at log level 3)
[2002/07/18 12:26:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
startsmbfilepwent_internal: unable to open file /etc/smbpasswd.
Error was Permission denied
[2002/07/18 12:26:25, 0]
2011 Mar 14
2
color under lm line
Hi,
I would like to add a color under a lm line and not the plotted line. Is
this possible? In the example, I do not want the area under the curve red,
but rather under the llm line.
x=seq(0,5,len=100)
y=-(x-5)^2
llm<-lm(y~x)
plot(x,y)
polygon(c(x,x[length(x)]), c(y, y[1]), col='red')
abline(llm)
keith
--
M. Keith Cox, Ph.D.
Alaska NOAA Fisheries, National Marine Fisheries Service
2011 Jul 13
2
Very slow optim()
Dear list,
I am using optim() function to MLE ~55 parameters, but it is very slow to converge (~ 25 min), whereas I can do the same in ~1 sec. using ADMB, and ~10 sec using MS EXCEL Solver.
Are there any tricks to speed up?
Are there better optimization functions?
Thanks
Toshihide "Hamachan" Hamazaki, $B_@:j=S=((JPhD
Alaska Department of Fish and Game:
2000 Feb 08
7
demo(dyn.load) error in R 0.99.0
I noticed this error in my demo from previous versions as well as
R 0.99.0. Is there a way around this one also? Thanks in advance...
> demo(dyn.load)
demo(dyn.load)
---- ~~~~~~~~
Type <Return> to start :
> dyn.load(file.path(R.home(), "demos", "dynload", paste("zero",
.Platform$dynlib.ext, sep = "")))
Error in
2000 Apr 17
1
xgobi
I can't ssem to get the the examples running. Can anyone offer a
solution?
Thanks in advance, and this what happens.
> data(laser)
> xgobi(laser)
xgobi -title 'laser' -std mmx /tmp/xgobi-laserR7316S41c6 &
> Neither the file /tmp/xgobi-laserR7316S41c6 nor /tmp/xgobi-laserR7316S41c6.dat exists
-------------- next part --------------
A non-text attachment was scrubbed...
2000 Apr 24
1
make problems
I'm having trouble making the manuals as per the INSTALL instructions.
Anyone have any hints as to what's wrong?
<123>-> make dvi
DVI/LaTeX documentation: reference index ...
*** Error code 255
make: Fatal error: Command failed for target `refman.dvi'
2000 Feb 29
1
R-1.0.0 make error
I'm getting this error when I try to make after my configure, any
solutions? Thanks in advance...
make[2]: Entering directory `/export/trichodon2/R/R-1.0.0/demos/dynload'
/usr/local/bin/make zero.so
make[3]: Entering directory `/export/trichodon2/R/R-1.0.0/demos/dynload'
/export/trichodon2/R/R-0.99.0a/bin/SHLIB:
/export/trichodon2/R/R-0.99.0a/bin/SHLIB: cannot open
make[3]: ***