similar to: Help with arguments in .Script

Displaying 20 results from an estimated 5000 matches similar to: "Help with arguments in .Script"

2009 Dec 05
2
"R CMD BATCH" continue after an error in the script
Hi, I have a problem with R CMD BATCH, because I created a .bat file to run a script: C:\R\R-2.9.2\bin\R CMD BATCH C:\Scrip_test.R It work perfectly but after 3 lines of script there is a line with a nls() function that cannot be fitted and this end in an error message. I'm not bother by the error message, I just want that the script continue. If I use the R windows GUI the script show the
2009 Dec 04
2
Substitute "Object not found" with NA
Hi everybody, I'm trying to create a script that picks a txt file with 2 columns of coordinates (depth and variable1) and automatically tries to fit several polynomial with the function nls(). After that, it creates a list of observed, predict, residuals and other, and then it calculates AIC, RMSD, MAD and R^2. At the end of the script I create a series of vectors with MAD for all
2010 Aug 23
1
Fitting Weibull Model with Levenberg-Marquardt regression method
Hi, I have a problem fitting the following Weibull Model to a set of data. The model is this one: a-b*exp(-c*x^d) If I fitted the model with CurveExpert I can find a very nice set of coefficients which create a curve very close to my data, but when I use the nls.lm function in R I can't obtain the same result. My data are these: X Y 15 13 50 13 75 9 90 4 With the commercial
2013 Feb 14
1
R script .bat file from Python
Hello, I would like to start running a script from Python with the Rscript command. I tested several ways of invoking R from Python and I finally I succeeded. The problem is that the script starts but R does not recognize the installed packages. I tried simplifying the matter and I created a script.bat with the classic commands: Rscript c:\test.R If I run it by double clicking on it it works
2012 Nov 07
3
HELP! Excel and R give me totally different regression results using the exact same data
Hallo, I am totally confused why Excel and R give me totally different regression results for the data below. If you know the solution, please enlighten me. In Excel I used LINEST() and Data>Data Analysis>Regression and both (fortunately) gave the same result. The coefficients were: /b0=1.16, b1=0.957, b2=0.024, R2=0.0027, adjusted R2=-0.017/ In R I used
2004 May 31
2
shaping
Hi! Is there any way to do just plain vanilla TBF (Token Buck Filter) type shaping on a group of ips/networks, not an entire interface. Currently the only way I know how to shape in Linux is to use HTB or CBQ, but both of these need a total rate and then you need to subdivide that into classes. That is not what I want. All I want is Cisco generic traffic shaping style shaping (or similar to how
2007 Aug 24
3
subdivide 64 kbit bandwidth 32kbit for WWW and 32 Kbit for mail
Hi all, I''ve got a BOX running CentOS 4.5. It acts as a firewall + router. I have installed both iptables and iproute2. I has 3 network cards. eth0 is connected to Internet (is has an internet ip. pls assume its ip is 1.2.3.4/29). it is a 256 Kbit link. eth1 is DMZ. its ip is 192.168.100.254 eth2 is LAN. Its ip is 192.168.101.254 I have alreday shaped traffic to 64 Kbit on eth1 for
2012 Nov 07
1
Excel Regression Function
Dear Frauke, good afternoon, Could you tell me which excel function didnt work for regression analysis and what excel version where you using? Best regards, Paul El 07/11/2012 11:55, "frauke" <fhoss@andrew.cmu.edu> escribió: > Hi David, hi Rui, > > thanks for your quick replies. I have replicated David's R results and > confirmed them with Minitab. Though
2007 Feb 22
2
rgl update: please test!
(This is bcc'd to a list of people who have had problems with rgl lately or who are known to be big users; not cc'd, so you don't all get cc'd all the responses on the R-devel list). I've just put together a test build of rgl, and put it on my web site as http://www.stats.uwo.ca/faculty/murdoch/software/rgl_0.70.564.tar.gz (source) and
2006 Jul 18
1
using split.screen?
Hello. I am having trouble understanding the use of split.screen. I want to divide the device surface first into 4 equal screens: split.screen(figs=c(2,2)) This works. I next want to subdivide each of these 4 screens into 10 subscreens. I do, for the first of these 4 screens: screen(1,new=T) and then: split.screen(figs=c(10,2)) My understanding is that this should split screen 1 (i.e.
2012 Jul 31
1
ways of getting around allocMatrix limit?
I need to multiply to very large, nonsparse matrices, and so get the error "allocMatrix: too many elements specified". Is there a way to set the limit for allocMatrix? In my case, the two matrices, A and B, are nxm and mxp where m is small, so I could subdivide each into blocks of submatrices A=rbind(A1,A2,...) and B=cbind(B1,B2,...) then multiply each pair of submatrices, but I was
2015 May 04
1
[LLVMdev] LLD improvement plan
> And now we're against the Atom model? I'm quite new to the llvm community, and basically unfamiliar with LLD, so maybe I'm simply uninformed. If so, I will now proceed to demonstrate that to an entire list of people. :) I've read the doc on http://lld.llvm.org/design.html, but the list of features it says that you get with LLD/Atoms and don't get with the "old
2012 Jul 17
1
tweaking forest plot (metafor package)
Dear All, I'm having trouble tweaking a forest plot made using the R meta-analysis package metafor. I did the analysis based upon the correlation coeff from studies and plotted the corresponding forest plot easily > q2<-rma(yi,vi,mods=cbind(grupo),data=qim) > q2 > forest (q2,transf=transf.ztor,digits=3, ... ,alim=c(0,1),refline=.5) > text(-1.55,42,"Esp?cie
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
Dear R-users, after seeking for help in R-search I did not find any hint on my particular problem. Countless help on "true" overlay, but nothing on this. Please consider the following: par(mfrow = c(2, 1)) T <- seq(0, 20, by = 0.01) ## PLOT 1 plot(T, 30*exp(-0.65*T), type = "l" ) points(T, 30*exp(-0.26 * T), type = "l", lty = "F8") points(T,
2009 Nov 14
4
Weighted descriptives by levels of another variables
I've noticed that R has a number of very useful functions for obtaining descriptive statistics on groups of variables, including summary {stats}, describe {Hmisc}, and describe {psych}, but none that I have found is able to provided weighted descriptives of subsets of a data set (ex. descriptives for both males and females for age, where accurate results require use of sampling
2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
I have been looking over AsmPrinter::EmitLinkage (around line 195 of lib\CodeGen\AsmPrinter\AsmPrinter.cpp) and it seems that its implementation will vary quite a bit depending on what object file format is in use (MachO, ELF, or COFF). Would it make sense to delegate the implementation to a specialized object from current the object file format? I am tempted to make it the MCAsmInfo
2016 May 23
3
A "Cross-Platform Runtime Library API" in LLVM IR
On 23 May 2016, at 12:00, Lorenzo Laneve <lore97drk at icloud.com> wrote: > > This is the point, No, you are still failing to make a point. > High-level OO languages don't use malloc(), they use something else. That’s not entirely true. They need to get the memory that they provide to programs from somewhere. They may provide their own pool allocators, but they will often
2007 Jul 19
1
mfrow is ignored by some plots
Hi all, I was just informed that the plots in the radial.plot family in the plotrix package do not plot correctly when using mfrow or mfcol to subdivide the plot window. I found one related message, an answer from Deepayan Sarkar to a question about lattice graphics, but that shed no light on this problem. If I invoke par(mfrow=c(2,2)) and run radial.plot a few times, the plots appears in
2007 Nov 21
1
Help Required in using cast (reshape package) function
Hello everyone, I am new to R. I have data in the form of excel pivot table format and I want to cast it into a format which can make it compatible with computation. Since I already have the package in pivot format; I avoid melt function and use the cast directly. I inspect the dataread <- read.csv(".....", header=TRUE) Data in the format Id Region Country Industry
2008 Nov 20
4
Fitting a sine wave using solver
Greetings, I have several sets of oscillation data and would like to estimate the parameters of a sine function to each set (and hopefully automate this). A colleague provided an excel sheet that uses solver to minimize the RSS after fitting the sine function to each data set, but this cumbersome and difficult to automate. Is there a method in R for fitting a given sine function to a