Re: [R] nls() error

2012-04-02 Thread Jeff Breiwick
Thanks to Berend for his help with this. The problems seems to have been due to an environment that wasn't clean. I also gave x & y that were untransformed. But I am able to get results now. Jeff __ R-help@r-project.org mailing list https://stat.ethz.

[R] nls() error

2012-04-02 Thread Jeff Breiwick
Hello, I am running a simple nls model (which a friend ran OK) but I get the following error: Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, : object 'R_nls_iter' not found Does anyone know what the 'R_nls_iter' error is? The data are: x=1:8 ; y=c(14,19,25,34,43

[R] plot titles for multiple plots

2012-03-30 Thread Jeff Breiwick
Hello, I have 8 plots, set up using par(mfrow=c(4,2)). Centered over each of the 4 rows I want a single title (since each row pertains to the same item but the 2 plots have different x & y labels). Is there a way I can do that without changing the layout? mtext? Thank you. Jeff __

Re: [R] R CMD check

2011-10-05 Thread Jeff Breiwick
Richard M. Heiberger temple.edu> writes: > > The next thing to check is this item from doc/manual/R-exts.html > > Quoted strings within R-like text are handled specially... > > My guess is that the problem is occuring in the .Rd file, not in the .R > file. > > Remove the line, or double t

Re: [R] R CMD check

2011-10-05 Thread Jeff Breiwick
Jeff Breiwick noaa.gov> writes: > > 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 alwa

[R] R CMD check

2011-10-05 Thread Jeff Breiwick
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 t

[R] system/system2 command

2010-12-17 Thread Jeff Breiwick
window in running R with Win XP? Thank you. Jeff Breiwick __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

[R] Package creation - require statement?

2009-12-18 Thread Jeff Breiwick
ing R Extensions' manual. Does anyone know where I have gone astray? Thank you. Jeff Breiwick __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guid

[R] system() function

2008-04-24 Thread Jeff Breiwick
gone astray? I suspect the problem lies in quoting the strings. The command (R CMD INSTALL etc.) runs OK if I run it in a windows shell. Thank you. Jeff Breiwick __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEAS