similar to: CPU usage while running R code

Displaying 20 results from an estimated 11000 matches similar to: "CPU usage while running R code"

2012 Nov 09
2
Error in memory.size(size) when calling R in batch mode (but not in interactive mode)
Dear all I use a 64 bit Windows7 system with 16 GB memory. I have run an R script in batch mode with the following command: R CMD BATCH masterassignment_2012_11_09.r --save The execution was terminated with the following error message: Error in memory.size(size) : don't be silly!: your machine has a 4Gb address limit I never get this error message in an interactive session
2012 Aug 13
3
creation of package failed
Dear all I am trying to build a package, and get the error message: ""packaging into .tar.gz failed"". I have also installed the same package directly from a locally created zip file. In this case, the package is put correctly under C:\R\R-2.15.0\library. However, when I check the package, I get another error message, stating "ERROR: compilation failed for package".
2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
Dear all I have written a function in C++ , equil_distC, that I am calling from an R script. In the last few days, R has repeatedly crashed when calling this function, or delivered obviously wrong outputs. However, when I restarted R after the crash, the results turned out to be OK most of the time although I had not modified the C++ code. Although the code runs correctly now, I am not sure
2012 Sep 17
1
LoadLibrary failure: : %1 is not a valid Win32 application although arch x64 has been specified
Dear all, I have problems loading a library in the 64 version of R. The following happens: · I have a file, equildistC.cpp, which contains a few lines of C++ code. · I have compiled the file using the following commands: PATH =
2012 Sep 06
1
use of ddply() within function
Dear all, I am encountering problems with the application of ddply within the body of a self-defined function. The script is the following: moncostcarmoto <- function(costtype){ costaux_result <- data.frame() for (purp in PURPcount){for (per in PERcount){ costcarin =
2011 Sep 28
1
Error: could not find function
Dear all I have written a function, "calibrateCES", in which a function is called, "BPGC", which was written in the enclosure of "calibrateCES". Until the most recent version of my program, "calibrateCES" always used "BPGC" as planned. Following a modification which does not affect "BPGC" directly (although it does affect one of the
2004 Nov 25
2
R vs SPSS
Dear all, in last weeks you discussed about R vs SAS. I want to ask your opinion about a comparison between R and SPSS. I don't know this software, but some weeks ago I went to a presentation of this product. I found it really user-friendly with GUI (even if I'd prefer command line) and very usefull and simple to use in creation and managing tables, OLAP tecniques, pivot table. What you
2011 Jun 14
2
How to run zero inflated mixed model and hurdle mixed model in R
Dear Mr. or Ms.,   I would like to use the R-software to run the zero inflated mixed model and hurdle mixed model. But I do not know how to do? Would you please tell me the code and data format?   I will be very appreciated if you can help me. Thank you very much.   Best regards,   Sincerely, Xiongqing Zhang [[alternative HTML version deleted]]
2013 Nov 26
1
How to keep idmapping, when Samba servers becomes part of a Windows AD from a larger organisation.
Hi Since 2006, I used in my departement a Samba solutions based on NT4 style PDC, 2 BDCs and some files servers, desserving one hunderd persons. The backends for passwords and idd are a master and two slave openldap. Now i have to integrate a much larger organisation, an University Hospital, running with Windows AD. For political reasons, I should not maintain DCs anymore, but I will still
2012 Mar 12
1
Fwd: Re[2]: B-spline/smooth.basis derivative matrices
--- On Mon, 3/12/12, aleksandr shfets <a_shfets at mail.ru> wrote: > From: aleksandr shfets <a_shfets at mail.ru> > Subject: Fwd: Re[2]: [R] B-spline/smooth.basis derivative matrices > To: "Vassily Shvets" <shv736 at yahoo.com> > Received: Monday, March 12, 2012, 5:15 PM > > > > -------- ???????????? ????????? > -------- > ?? ????:
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof <- c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level
2009 Nov 02
3
partial matching with grep()
dear all, This is a probably a silly question. If I type > grep("x",c("a.x" ,"b.x","a.xx"),value=TRUE) [1] "a.x" "b.x" "a.xx" Instead, I would like to obtain only "a.x" "b.x" How is it possible to get this result with grep()? many thanks for your attention, best, vito --
2004 Nov 10
1
Loading some function at R startup
Dear R-users, I've built these functions usefell for me to import/export data from/to Excel: importa.da.excel<-function(){read.delim2("clipboard", dec=",") ## questa funzione consente di importare dati da Excel in R ## selezionare in Excel le celle che contengono i dati, ## compresi in nomi delle colonne ## Autore: Vito Ricci email:vito_ricci at yahoo.com ## Data di
2018 Jan 30
2
variable names in lm formula ~.
dear all, Is the following intentional? Am I missing anything in documentation? d<-data.frame(y=rnorm(10,5,.5),exp=rnorm(10), age=rnorm(10)) formula(lm(exp(y)~exp+age, data=d)) #--> exp(y) ~ exp + age formula(lm(exp(y)~., data=d)) #--> exp(y) ~ age variable 'exp' (maybe indicating "experience") is not included in the model. The same happens with 'log' (and
2018 Jan 30
0
variable names in lm formula ~.
Functions are first class objects, so some kind of collision is bound to happen if you do this... so don't. -- Sent from my phone. Please excuse my brevity. On January 30, 2018 3:11:56 AM PST, "Vito M. R. Muggeo" <vito.muggeo at unipa.it> wrote: >dear all, >Is the following intentional? Am I missing anything in documentation? >
2010 Jul 13
2
Want to exclude a column when using sample function
For example: When I take a sample of 5 from 10 columns, I want to exclude from the sample column 1 from being chosen. How do I do this? -- View this message in context: http://r.789695.n4.nabble.com/Want-to-exclude-a-column-when-using-sample-function-tp2287988p2287988.html Sent from the R help mailing list archive at Nabble.com.
2010 Mar 04
1
only actual variable names in all.names()
dear all, When I use all.vars(), I am interest in extracting only the variable names.. Here a simple example all.vars(as.formula(y~poly(x,k)+z)) returns [1] "y" "x" "k" "z" and I would like to obtain "y" "x" "z" Where is the trick? many thanks vito -- ==================================== Vito M.R. Muggeo Dip.to Sc
2005 Nov 17
3
ECDF values
Dear UseRs, maybe is a silly question: how can I get Empirical CDF values from an object created with ecdf()?? Using print I obtain: Empirical CDF Call: ecdf(t) x[1:57] = 4.1, 4.4, 4.5, ..., 491.3, 671.27 Thanks in advance. Regards, Vito Diventare costruttori di soluzioni Became solutions' constructors "The business of the statistician is to catalyze the scientific
2018 May 21
2
removing part of a string
dear all, I am stuck on the following problem. Give a string like ss1<- "z:f(5, a=3, b=4, c='1:4', d=2)" or ss2<- "f(5, a=3, b=4, c=\"1:4\", d=2)*z" I would like to remove all entries within parentheses.. Namely, I aim to obtain respectively "z:f()" or "f()*z" I played with sub() and gsub() but without success.. Thank you very
2018 Jan 30
1
variable names in lm formula ~.
Well... ?terms.formula says: "data: a data frame from which the meaning of the special symbol . can be inferred. It is unused if there is no . in the formula." So this seems to me to be an obscure bug, as I have found no warning against this admittedly confusing but still, I think, legal syntax. Note: > d <- data.frame(log = runif(10), x = 1:10) > y <- rnorm(10,5) >