Displaying 20 results from an estimated 1200 matches similar to: "nls() error"
2012 Aug 01
1
R_nls_iter error: REAL() can only be applied to a 'numeric', not a 'logical'
Hi
I am using the nls function in R however it is causing the following error:
REAL() can only be applied to a 'numeric', not a 'logical'
Using traceback shows this occurs after the .Call(R_nls_iter, m, ctrl,
trace) call. However I do not know how to debug this further to find out
what is causing the error.
The data I give the nls call definitely starts as numeric. The
2009 Dec 18
2
Package creation - require statement?
All,
I have used package.skeleton, edited the .Rd files and the DESCRIPTON file.
In one of my package functions I am using RODBC so I have a line of code
that reads: require(RODBC).
In my DESCRIPTION file I have the following relevant line:
Depends: R (>= 2.9.0), RODBC
However, when I do a check (Rcmd check my_package_name) I get this warning:
* checking for unstated dependencies in R code
2011 Oct 05
3
R CMD check
Dear R-Group,
I have a function that sorts a data frame and oneo of the lines in the
function is:
vars <- unlist(strsplit(formc, "[\\+\\-]"))
The function works fine and the above line is always reached. However, when I
include the function in a package and run "R CMD check pkgname" it gives this
error message:
'\+' is an unrecognized escape in character
2007 Jan 29
2
countour and poygon shading
Hi,
I have a contour plot and I want to shade a polygon (the area below a line)
but the polygon shading wipes out the contour lines. Does anybody know how
to shade the polygon and still see the contour lines? Thanks.
Jeff
2012 Feb 13
2
kernlab - error message: array(0, c(n, p)) : 'dim' specifies too large an array
Hi,
For another trainingset I get this error message, which again is rather cryptic to me:
Setting default kernel parameters
Error in array(0, c(n, p)) : 'dim' specifies too large an array
RMate stopped at line 0 of selection
Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array
thanks for any suggestions!
2003 Apr 23
1
Comparing formulas
Dear All,
I want to compare formulas resulting from using stepAIC() on glm() objects.
I have 2 different formulas, say F1 and F2, which consist of about 10
factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other
doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper
way to compare formulas?
-------------------------------------------
Jeffrey M
2005 Oct 28
1
multiple boxplots
Hello,
I want to plot 3 boxplots [ par(mfrow=c(3,1)) ] but the first one has 8
groups, the 2nd has 7 and the third has 6. But I the groups to line up:
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8
3 4 5 6 7 8
where the numbers actually refer to years. I suspect I have to manipulate
the function bxp(). Is there a relatively simple way to do this? Thanks for
any help.
Jeff Breiwick
NMFS, Seattle
2008 Apr 24
1
system() function
Hi,
I am trying to run the command: R CMD INSTALL -l mypath mypackagename
from within R (Windows XP) using system() and get the following error:
ARGUMENT 'CMD INSTALL -l D:/R/JMB.LIBS jmb.test' __ignored__
Fatal error: you must specify '--save', '--no-save' or '--vanilla'
My function contains these 3 lines:
setwd("D:/R/R.pkgs") # path to files set
2003 Apr 14
7
functions in a package
Hello,
I have a beginner's Q:
if i want to know all the functions provided by a package,
what is command for that?
in another word,
Is there a command to list all the commands available in a packege?
thanks a lot,
yan
2012 Jun 01
1
Dependencies on recommended packages
Dear all,
I've recently had some issues getting my package to successfully "check".
This was on R-Forge, so it's not obvious for me to provide SessionInfo or
the likes (if necessary, Stefan can chime in?).
After some research (mainly by Stefan Theussler, driving force behind
R-Forge), this turned out to be the root cause:
On R-Forge, the version of R installed was the
2006 May 10
1
attach() warning message
Hi,
I am using R 2.3.0 and my .First() file has the following line which causes
a warning:
attach(what="c:/r/jmb/.RData", pos=3)
I get the following message after .First() is loaded:
During startup - Warning message:
use of NULL environment is deprecated
Is there a simple fix that will eliminate this warning message? Thanks.
J. Breiwick
2004 Oct 19
1
Creating Packages with Windows under R 2.0.0
Hello,
I have a workspace that contains a number of functions I want to put in a
library. Under R 1.9.0 I did this fairly easily by putting them in a R
folder, creating a DESCRIPTION & TITLE file etc. I could then load my
library successfully.
Under R 2.0.0 this simple process apparently no longer works. I have used
package.skeleton() and have run R CMD INSTALL pkgname but still get various
2009 Oct 30
7
Voicemail file
Hi all,
When somebody leaves a message in the voicemailbox, is there a way to know the file name of it?
I need to return the voicemail file name in the deadagi command.
Thanks,
Anahi
_________________________________________________________________
Convierte las fotos que m?s te gustan en tu nuevo fondo de escritorio para el ordenador. Es f?cil y adem?s gratis
2009 Jun 25
3
what happened to the xlsReadWrite package
A naive question: what happened to the xlsReadWrite package?
http://cran.r-project.org/web/packages/xlsReadWrite/
It says that it was removed from the CRAN repository. Are there any plans
for it be available again?
Thanks,
Andrew
[[alternative HTML version deleted]]
2006 Oct 12
1
.RData and UNIX
Hi,
I have been using R under Windows but have started to use R (ver. 2.3.0,)
under Linux (linux-gnu).
I have been saving my workspace and I notice that I sometimes end up with 2
version of the .RData file:
.RData and .Rdata. Can someone explain what is happening? I am not sure
which one is loaded so I have ended up losing data by deleting the wrong
file. I think the saved file should be
2005 Sep 13
3
Collineariy Diagnostics
Hi, and thanks for your help
in order to do collinearity analysis I downloaded the perturb package. I run
a lm (regression) and on that the ??calldiag?? commad to get condition numbers
but i get the following message: the variable XY with modus ??numeric?? was
not found (it does the same with all predictors despite all variables are
numeric and exists).
Can anyone tell me how can I go arround
2010 Dec 19
3
monthly median in a daily dataset
Hello,
I have a multi-year dataset (see below) with date, a data value and a flag
for the data value. I want to find the monthly median for each month in this
dataset and then plot it. If anyone has suggestions they would be greatly
apperciated. It should be noted that there are some dates with no values and
they should be removed.
Thanks
Emily
> print ( str(data$flow$daily) )
2012 Oct 20
4
Error in integrate(integrand, 0, Inf) : non-finite function value
Dear R users,
When I run the code below, I get the error "Error in integrate(integrand, 0,
Inf) : non-finite function value". The code works if the function returns
only "sum(integ)". However, I want to add "cmh" to it. When I add "cmh" I
get that error. I can't figure out why this is happening because my
integrate function has nothing to do with
2009 Jun 12
0
fix for RMate (TextMate/E-Texteditor bundle)
Arg, I already needed to fix the bundle. If anyone downloaded it
yesterday, please update, the help index building was broken (on
Macs). Should work now.
Repo/Infos: http://github.com/swissr/rmate.tmbundle/tree/master
--
Regards,
Hans-Peter
2010 Sep 03
0
rmate osascript workaround for e-texteditor on windows?
First, thanks very much for making rmate available. I'm having trouble porting it to e-texteditor for windows, though, (specifically the send-line command) because osascript is mac-only. Is there a way to send selections in e-texteditor to the windows version of R.app? Thanks!
Dan