Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Uwe Ligges
=45) (untested) Best, Uwe Ligges library("scatterplot3d") mydf=data.frame(rate=seq(158, 314) ,age=seq(1, 157) ,market_date=seq(as.Date("2000/1/1"), as.Date("2003/1/1"), by="7 days")) mydf$market_date=as.Date(mydf$mar

Re: [R] package : plm : pgmm question

2017-12-29 Thread Uwe Ligges
Please talk to the package maintainer whi may not be listen on R-help. Best, Uwe Ligges On 25.12.2017 10:53, Ye Dong wrote: Dear Sir, I am using the package pgmm you build in panel regression. However, I found that when T is 10, N=30, the error would show as following: system is

Re: [R] Help with replace()

2018-07-13 Thread Uwe Ligges
On 12.07.2018 18:09, Bill Poling wrote: Yes, that's got it! (20 years from now I'll have it all figured out UGH!), lol! Using R for 20 years myself now I can only tell that it takes much longer. Best, Uwe Ligges Thank you David Min. 1st Qu. Median Mean

Re: [R] Difference between R for the Mac and for Windows

2017-03-31 Thread Uwe Ligges
0 [1] NaN+NaNi 1i/(0+0i) [1] NaN+NaNi KubuntuTrusty - (1+2i)/0 [1] Inf+Infi (-1+2i)/0 [1] -Inf+Infi 1i/0 [1] NaN+Infi 1i/(0+0i) [1] NaN+Infi Interesting to see what R on Windows delivers. Same as KubuntuTrusty and what I would expect. Best, Uwe Ligges B

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread Uwe Ligges
On 28.04.2017 10:45, Thierry Onkelinx wrote: Dear Peter, It actually breaks install.packages(). So it is not that innocent. And hence, as Peter exoplained, it is already fixed inn R-patched, thanks to Tomas Kalibera. Best, Uwe Ligges Best regards, Thierry Op 28 apr. 2017 10:36

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread Uwe Ligges
On Fri, Apr 28, 2017 at 7:58 AM, Uwe Ligges mailto:lig...@statistik.tu-dortmund.de>> wrote: On 28.04.2017 10:45, Thierry Onkelinx wrote: Dear Peter, It actually breaks install.packages(). So it is not that innocent. And hence, as Peter exoplained, it is already

Re: [R] Unusual behavior in e1071?

2017-05-02 Thread Uwe Ligges
Look more carefully at y. If this is a factor, please note what is the first (reference) level and what the second. This determines the rule, not the value of the first observation. Best, Uwe Ligges On 02.05.2017 07:25, Daniel Jeske wrote: Hello - I have noticed that when I run svm() the

Re: [R] [FORGED] Re: Question on function "scatterplot3d"

2017-06-01 Thread Uwe Ligges
, Uwe Ligges On 01.06.2017 07:15, Rolf Turner wrote: On 01/06/17 13:17, Ismail SEZEN wrote: On 1 Jun 2017, at 03:41, li li wrote: Hi all, I have a question with regard to making plots using function "scatterplot3d". Please see the example below. It looks like, for y axis, th

Re: [R] installed.packages() does not work properly

2017-06-01 Thread Uwe Ligges
Try R-3.4.0 patched. Best, Uwe Ligges On 01.06.2017 03:54, Anil Dabral wrote: Hi, I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong? In R 3.4 (works only the

Re: [R] [FORGED] Re: Question on function "scatterplot3d"

2017-06-01 Thread Uwe Ligges
On 01.06.2017 10:03, Rolf Turner wrote: On 01/06/17 19:54, Uwe Ligges wrote: A design flaw, whether the labels are cut depends somewhat on the sizce of the device, hence there is the argument y.margin.add add additional space between tick mark labels and axis label of the y axis for

Re: [R] 3D plot with coordinates

2017-06-20 Thread Uwe Ligges
package rgl. Best, Uwe Ligges On 20.06.2017 21:29, Alaios via R-help wrote: HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So each one is having 360 elements each one correpsonding to angular coordinates (1 degree, 2 degrees, 3 degrees, 360 degrees) and I want to

Re: [R] devtools::check "hangs"

2017-07-12 Thread Uwe Ligges
chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... Take a look in the example log files in the corresponding check dir. Best, Uwe Ligges and that is the

Re: [R] Problem for installing cbPlatte on R Version 3.4.1

2017-07-12 Thread Uwe Ligges
On 12.07.2017 12:03, Shanu Singh wrote: Please solve the problem. on which R Version works cbplatte? What is cbPlatte or cbplatte (case matters). Best, Uwe Ligges Regards Shanu [[alternative HTML version deleted]] __ R-help@r

Re: [R] Problem for installing cbPlatte on R Version 3.4.1

2017-07-12 Thread Uwe Ligges
, Uwe Ligges Shanu On Wed, Jul 12, 2017 at 3:57 PM, John Kane wrote: What is cbplatte? Where do we find it? On Wednesday, July 12, 2017, 6:20:38 AM EDT, Shanu Singh < singh.shanu1...@gmail.com> wrote: Please solve the problem. on which R Version works cbplatte? Regards

Re: [R] about installing smwrGraphs package

2017-07-23 Thread Uwe Ligges
http://owi.usgs.gov/R"; does not provide standard repositories for R? Best, Uwe Ligges http://cran.us.r-project.org";), dependencies = TRUE) Error in install.packages : Line starting ' ...' is malformed! [[alternative HTML version deleted]] __

Re: [R] greek letters do not work in expression

2017-07-30 Thread Uwe Ligges
On 30.07.2017 17:22, Milan Cisty wrote: Dear all, I appreciate suggestions for following problem. I wrote to RStudio: plot(c(1,20),c(1,20), xlab = expression(paste(alfa))) or the same happen when I wrote: plot(c(1,20),c(1,20), xlab = expression(alfa)) Write "alpha", not "al

Re: [R] greek letters do not work in expression

2017-07-30 Thread Uwe Ligges
There is no internationalization of help pages, only of messages. Best, Uwe On 30.07.2017 21:51, David Winsemius wrote: On Jul 30, 2017, at 8:25 AM, Uwe Ligges wrote: On 30.07.2017 17:22, Milan Cisty wrote: Dear all, I appreciate suggestions for following problem. I wrote to RStudio

Re: [R] SPSS R Factor v2.4.2

2017-08-06 Thread Uwe Ligges
are taking about. Best, Uwe Ligges On 06.08.2017 07:08, David Winsemius wrote: On Aug 5, 2017, at 7:02 PM, Gavin Brown wrote: I am not an R-Head, hence I use nice utilities that integrate R into SPSS I have SPSS v24, R3.20 and R3.40 I have run IBM SPSS R Integration which requires linking

Re: [R] likert Package

2017-08-23 Thread Uwe Ligges
If this is not docuemnted that way, write to the package maintainer. Best, Uwe Ligges On 23.08.2017 02:51, Jeff Reichman wrote: R- Help Forum Working with the "likert" package and find that my "bar" graphs are backwards (see attached) summary(results)

Re: [R] Difficulty Installing Packages

2017-08-26 Thread Uwe Ligges
On Windows, if you load a dll, this is locked. Hence, for package installations, close all R instances, start one without loading packages and then update packages. Best, Uwe Ligges On 26.08.2017 15:18, Bill Denney wrote: Hi, When installing packages in Windows (currently using

Re: [R] Block comment?

2017-09-02 Thread Uwe Ligges
On 02.09.2017 11:40, Christian wrote: I consider it quite worth while to introduce into R syntax a nestable block comment like #{ }# if(FALSE){ } Best, Uwe Ligges It would make documentation more easily manageable and lucid. Is there considerable need for this. Please, comment on

Re: [R] Notes for new R version 3.4.2

2017-10-11 Thread Uwe Ligges
Sounds like you have some base packages from an old version of R. Perhaps copy in another library tree that comes firt on the search path? Best, Uwe Ligges On 11.10.2017 02:58, kevin luo wrote: Dear officers, Sorry to bother you. Recently, I have installed the R version 3.4.2. But some

Re: [R] lib default location

2016-05-21 Thread Uwe Ligges
s per user default. Also, everytime I have to choose the mirror. Could I make one of them default? Yes, one way is described in the examples of ?Startup. Best, Uwe Ligges Thanks! Ciao. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] R getting "Killed" while running VAR model

2016-05-31 Thread Uwe Ligges
Wild guess: You have huge and high dimensional VAR models, i.e. the matrices get huge and you use huge amounts of memory and you use more than what is available physically. The operating system protects itself by killing processes in such a case... Best, Uwe Ligges On 31.05.2016 20:29

Re: [R] Installation of package "rio" broken

2016-06-14 Thread Uwe Ligges
.0 as this is compiled with gcc-4.9.3 that supports the new standard. Best, Uwe Ligges Best, Ista -- cut -- * installing *source* package 'feather' ... ** Paket 'feather' erfolgreich entpackt und MD5 Summen überprüft ** libs *** arch - i386 g++ -m32 -std=c++0x -I&qu

Re: [R] R2WinBUGS with Multivariate Logistic Regression

2016-07-19 Thread Uwe Ligges
. I'd suggest to reduce it to a WinBUGS only problem, try OpenBUGS (which iw more recent) and if it still fails, ask on the WinBUGS/OpenBUGS mailing list. A trap in WinBUGS is not an R related problem. Best, Uwe Ligges I attach herewith, the code and a sample of the dataset. Any sugge

Re: [R] package.skeleton fails

2016-08-28 Thread Uwe Ligges
Your code works for me, and I do not see any lapply in the example you provide below. Best, Uwe Ligges On 24.08.2016 21:21, Strunk, Jacob (DNR) wrote: Hello, I have been using package.skeleton from within an lapply statement successfully (assuming good source code) with the following setup

Re: [R] package.skeleton, environment argument causes error

2016-08-28 Thread Uwe Ligges
It would be helpful for us if you provide a reproducible examples when the current package.skeleton fails. Best, Uwe Ligges On 19.08.2016 00:12, Jacob Strunk wrote: Hello, I have been using package.skeleton from within an lapply statement successfully (assuming good source code) with the

Re: [R] paste0 in file path

2016-08-31 Thread Uwe Ligges
ame(q01count) wide <- reshape(dat, timevar="Var2", idvar="Var1", direction="wide") write.xlsx(wide, file=paste0(i, 'C:/temp/q0',i,'r.xlsx')) ^^ remove the i? Best,

Re: [R] download

2015-04-25 Thread Uwe Ligges
!!!) that you are. Well, even then, the binaries are there for old releases of R. Just click on "R Binaries"->"windows"->"base"->"Previous releases" and select the right one for you. No idea wha you need that as a student who learns R. Bes

Re: [R] download

2015-04-26 Thread Uwe Ligges
On 27.04.2015 00:04, Rolf Turner wrote: I meant "Thanks Uwe" That was a fumble-fingered typo; I wasn't trying to be funny. Sorry 'bout that! Don't worry, when quickly typing mails, I typically generate lots of worse typos, Ralf. ;-) [Sorry, but I could not resist.] Best wishes from

Re: [R] reverse dep of a package

2015-04-28 Thread Uwe Ligges
On 28.04.2015 19:04, carol white via R-help wrote: yes, reverse dependency. All the reverse dependancies on the main web page of the packages are generated by CRAN? Yes, and updated once a new package depends on the one in question. Best, Uwe Ligges Thanks On Tuesday, April 28

Re: [R] matrix inf and zero's value replacement

2015-05-12 Thread Uwe Ligges
: m[m>0] <- 1 but your code says you want to replace Inf by 0? Best, Uwe Ligges thanks in advance [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Selective package installation

2015-05-22 Thread Uwe Ligges
ASS", "A") Then: inst <- installed.packages()[,1] install.packages(setdiff(pkg, inst)) Best, Uwe Ligges If the package is already there , then it would go to the next package in my list. How can I do this ? Parth __ R-help@r-proj

Re: [R] Stepwise rQTL-unknown warning message and odd QTL curve

2015-05-23 Thread Uwe Ligges
n and got an error (Error in solve.default(t(Z) %*% Z, t(Z) %*% X) : system is computationally singular: reciprocal condition number = 1.49755e-24). Any thoughts about what is going on? No, without knoing what the arguments and the actual code was. Best, Uwe Ligges Thank you, C

Re: [R] order matrix regarding its content.

2015-05-23 Thread Uwe Ligges
1 0 9 1 1 1 1 1 1 1 1 1 1 10 0 0 0 0 0 0 0 0 0 0 how to order it according to ones and zeros to be ordered as if it all ones orpartially finally all zeros, like the following or similar X[order(-rowSums(X)),] Best, Uwe Ligges 9 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 3 0 0 0

Re: [R] SVM error

2015-06-04 Thread Uwe Ligges
detail description of the code and error is given below. Please check this code and try to solve the error. Make that Tstatus eitehr a factor (which I believe you want to) or also numeric. Best, Uwe Ligges library(e1071) library("openxlsx") List <- read.xlsx(file.choose

Re: [R] problem in auto run iteration in R2OpenBUGS

2015-06-12 Thread Uwe Ligges
Not sure from what you sent: The call looks fine, so you need to make inits, data and model file available, I think. And perhaps more an OpenBUGS than an R question... Best, Uwe Ligges On 12.06.2015 20:09, thanoon younis wrote: Hi for all members in R community I have a small problem in the

Re: [R] Error in local package install

2015-06-15 Thread Uwe Ligges
eason 'No such file or directory' I've attempted to use the solutions from prior similar email threats with no success. Btw - I've install all the packages dependencies prior to the above. I'm on R 3.2.0. please try the release condadate of R-3.2.1, R-3.2.0 had a bug for pa

Re: [R] Error in local package install

2015-06-16 Thread Uwe Ligges
uot; which suggests you renamed the file? You must not do that, just keep the filename "calibr_0.0.0.9000.zip". Best, Uwe Ligges Thank you, Axel. On Mon, Jun 15, 2015 at 5:41 PM, Uwe Ligges mailto:lig...@statistik.tu-dortmund.de>> wrote: On 15.06.2015 22:

Re: [R] Error in local package install

2015-06-16 Thread Uwe Ligges
and extract the DESCRIPTION file? Best, Uwe Ligges Thanks, Axel Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection In addition: Warning messages: 1: In unzip(zipname, exdir = dest) : error 1 in extracting f

Re: [R] package forecast is not working properly

2015-07-02 Thread Uwe Ligges
: package ‘forecast’ was built under R version 3.2.1 Apparently you are not using R-3.2.1? Either install forecast so that it fits to your R installation or upgrade R. Best, Uwe Ligges 2: package ‘zoo’ was built under R version 3.2.1 Error: package or namespace load failed for ‘forecast’

Re: [R] Value passing in print option

2015-07-20 Thread Uwe Ligges
?paste Best, Uwe Ligges On 20.07.2015 08:48, Partha Sinha wrote: i want to pass a value with print option x<-10 y<2*x print("Current value of y is " ) # confused dont know how to pass value i want output as Current value of y is 10 [[alternative HTML

Re: [R] building a quicksort function in rcpp

2015-07-25 Thread Uwe Ligges
Actually sort() is already there Best, Uwe Ligges On 24.07.2015 17:22, Martin Tully wrote: Hi I am using RCPP to build a C++ function for quicksort called qsort. This function is compiled and loaded through the cxxfunction in R I am getting the message in R error: no matching function

Re: [R] Release schedule (was (no subject) )

2015-08-05 Thread Uwe Ligges
On 05.08.2015 19:08, Jeff Newmiller wrote: New versions are released when they are ready. This is volunteer-driven software. Actually the plans are a bit more formal: http://developer.r-project.org/ Best, Uwe Ligges

Re: [R] function ndq()

2015-08-06 Thread Uwe Ligges
Use an internet search engine. The one I used told me that the book "Statistics and Data with R: An Applied Approach Through Examples" by Yosef Cohen, Jeremiah Y. Cohen contains a function definition of nqd in section 1.11.4. Best, Uwe Ligges On 06.08.2015 23:31, kle...@sxmai

Re: [R] Potencial bug in R.adjust ("holm" method)

2015-08-07 Thread Uwe Ligges
Please send a reproducible example. Best, Uwe Ligges On 06.08.2015 19:20, Iker Vaquero Alba wrote: Hello all, I am doing some Bonferroni correction analyses with R.adjust function. I have a spreadsheet with 24 columns, each with 5 values. When I use the "holm" method, i

Re: [R] Errors --> Windows 8- R version 3.2.1

2015-08-08 Thread Uwe Ligges
E, 1. urls need to be ull qualified including the protocol such as "http://www.facebook.com"; 2. filenames are relative to the current working directory, if they are not in the current working directory, secify the full path. 3. read.csv() cannot read docx files.... Best, Uwe L

Re: [R] lme4 package installation

2015-08-13 Thread Uwe Ligges
y settings. Best, Uwe Ligges Warning: unable to access index for repository http://cran.stat.nus.edu.sg/bin/windows/contrib/3.2 Warning message: package ‘lme4’ is not available (for R version 3.2.1) Teck Kiang On Thu, Aug 13, 2015 at 11:09 PM, Thierry Onkelinx wrote: Have you trying ins

Re: [R] Angle brackets ?plotmath

2014-12-10 Thread Uwe Ligges
e=3, line=1, cex=1.3, col="black") but did not succeed. I learnt that adobe-type symbols can be used but I need help with this. What about italic("<"*T[min]*">") or italic(symbol("\341")*T[min]*symbol("\361")) Best, Uwe Ligges Please

Re: [R] R2WinBUGS

2014-12-23 Thread Uwe Ligges
WINE, useWINE = useWINE, : Look at the log file and try again with 'debug=TRUE' to figure out what went wrong within Bugs. And what happens if your do that? I mean "try again with 'debug=TRUE' to figure out what went wrong within Bugs." Best, Uwe Ligges

Re: [R] debugging R code and dealing with dependencies

2014-12-25 Thread Uwe Ligges
This is a rather detailed analysis, thanks, but I think it should be send to the maintainer of the "RFGLS" package (CCing). Best, Uwe Ligges On 25.12.2014 10:04, Mike Miller wrote: I just wanted to put this out there. It's just some of my observations about things that ha

Re: [R] Difference between eigs() and eigen()

2014-12-29 Thread Uwe Ligges
eigs() is from a contributed package. No idea what it is about, but my guess is these are actually numerical differences coming from different algorithms used to calculate the eigenvalues. For details, please ask the author of the corresponding contributed package. Best, Uwe Ligges On

Re: [R] Saving an edited R function - RStudio and R

2015-01-02 Thread Uwe Ligges
nto R. Best, Uwe Ligges Thank you, John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimor

Re: [R] Gains package installation error

2015-01-02 Thread Uwe Ligges
Do you have a working internet connection? install.packages("gains") should install it from the mirror you have chosen. Best, Uwe Ligges On 02.01.2015 11:51, Rodica Coderie via R-help wrote: I am trying to install the Gains package in R Studio Version 3.1.2 like this: instal

Re: [R] tried half-precision but "size 2 is unknown on this machine"

2015-01-04 Thread Uwe Ligges
Following the posting guide and hence reading the help page first helps: "Possible sizes are 1, 2, 4 and possibly 8 for integer or logical vectors, and 4, 8 and possibly 12/16 for numeric vectors." Best, Uwe Ligges On 04.01.2015 08:03, Mike Miller wrote: Thanks for the pedantic i

Re: [R] problem in R

2015-01-06 Thread Uwe Ligges
2000,P=9,R=Ro,z1=yo1,z2=yo2,thd18) thd18 is a data.frame but WinBUGS does not know about a data.frame. You probably want to convert to a matrix first. Best, Uwe Ligges #Call WinBUGS model<-bugs (data,inits,parameters,model.file="D:/Run/model.txt", n.chains=2,n.ite

Re: [R] Trouble with LSD.test / agricolae package

2015-01-07 Thread Uwe Ligges
w you need a path beginning with a drive letter... talk to your sysadmin? Just map to a drive letter as in: net use h: "\\ccofs1\Shared\Users\Dustin Batt" Best, Uwe Ligges --- Jeff Newmiller

Re: [R] R package creation: Confused about how to handle text data

2015-01-10 Thread Uwe Ligges
You do not want to access these data files by standard mechnisms, and that's what the ./data folder is good for. See Writing R Extensions, it suggests to use the ./extdata directory in your case, then the data is unchanged and you can access those data by your own functions. Best, Uwe L

Re: [R] R for organization

2015-01-10 Thread Uwe Ligges
ourse, I would appreciate too if you will send me some sources where I can find information about this instead of explain in e-mail (if you don't have enough time). To start reading, I suggest http://www.r-project.org/certification.html Best, Uwe Ligges Thank you! Sincer

Re: [R] Question

2015-01-20 Thread Uwe Ligges
ded length 2122881 != reported length 2235972 2: 'tar' returned non-zero exit code 1 Somebody have any solution? Try again, apparently your download got corrupted. Best, Uwe Ligges Thanks, Glenda [[alternative HTML version deleted]] ___

Re: [R] 32bit R303 calls external C functions

2015-02-12 Thread Uwe Ligges
On 12.02.2015 19:07, Li, Yan wrote: I meant R3.0.3. I need this package working in R3.0.3. I have 32bit and 64bit dlls both included in the package. So it should be fine. Maybe you compiled it for a different R version or on another OS Best, Uwe Ligges -Original Message

Re: [R] Censoring in R2OpenBUGS

2015-02-12 Thread Uwe Ligges
%_% will be removed before the BUGS code is saved." Best, Uwe Ligges Thanks & Regards, Arnab Arnab Kumar Maity Graduate Teaching Assistant Division of Statistics Northern Illinois University DeKalb, IL 60115 Email: ma...@math.niu.edu Ph: 779-777-3428 -- View this message in

Re: [R] Use of R for Hypothesis Testing

2015-02-14 Thread Uwe Ligges
-read the posting guide and start to read basic documentation. Best, Uwe Ligges __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Error when I attempt to create a list or a data frame

2015-02-14 Thread Uwe Ligges
ot; Do not use directed quotes. Best, Uwe Ligges I receive a similar error when I create a data frame with mixed classes of objects. Thanks ahead of time! __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

Re: [R] R Help

2015-03-02 Thread Uwe Ligges
an 16 years. Best, Uwe Ligges > I have a project and I am using R in this project, my friend helped me to build a code for this project and it's working perfect, but I need to make a small change in, it looks very simple but for me it's very complicated. I insert the code and I ho

Re: [R] How to see a R function's code

2015-03-08 Thread Uwe Ligges
” <http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf> . However, in “$RHOME/src/library/” there is no graphics folder! Just unpack the R sources and it is there. Best, Uwe Ligges At this location I only have a “windlgs” folder. I have a graphics folder in “$RHOME/library/” though. Bu

Re: [R] install R-devel from R 3.1 to R 3.2 kubuntu

2015-03-08 Thread Uwe Ligges
ocal/lib/R/site-library" [3] "/usr/lib/R/site-library" [4] "/usr/lib/R/library 3. is there a complete tutorial for R-devel installing in GNU/Linux OS? Yes, the manual called "R Installation and Administration". Best, Uwe Ligges Thanks, Kari

Re: [R] install R-devel from R 3.1 to R 3.2 kubuntu

2015-03-08 Thread Uwe Ligges
? Best, Uwe Ligges __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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-contained

Re: [R] Error: cannot allocate vector of size 64.0 Mb When Using Read.zoo()

2015-03-10 Thread Uwe Ligges
of memory.size() : 3812.85 I guess you have lots of stuff in your workspace? Clean that uop and try again. Best, Uwe Ligges I try to calculate the required memory but I don't know what are the operations in such conversion process. Therefore I have no idea if my data is too mass to ha

Re: [R] make elements of a list into functions

2015-03-24 Thread Uwe Ligges
function(x) (!x[2] & !x[3]) | (!x[2] & x[3]) | (x[2] & x[3]) One way: f <- function(x) x gfunc <- lapply(g, function(i) {body(f) <- parse(text=i); f}) So now you have functions in your list gfunc and can call them via gfunc[[1]](c(0,0,0)) Best, Uwe Ligges g1(c(0,0,0

Re: [R] including internal data in a package

2015-03-25 Thread Uwe Ligges
". So why do you use 'R/omxSymbolTable.rda' then? Best, Uwe Ligges I tried placing an rda file in the package's R/ directory, but now I get a new CRAN check complaint, Subdirectory 'R' contains invalid file names: ‘omxSymbolTable.rda’ Furthermore, I can&#x

Re: [R] hash - extract key values

2015-03-28 Thread Uwe Ligges
Try to reinstall hash. Sounds like a broken installation. Best, Uwe Ligges On 28.03.2015 07:03, Brian Smith wrote: Exactly. Used to work for me, but not anymore. I tried restarting session, installing the most recent package of 'hash' etc. Here is my sessionInfo(): sessionInfo()

Re: [R] multiple break in univariate series

2015-03-28 Thread Uwe Ligges
CUSUM or MOSUM tests or even permutation tests. Packages: strucchange, changepoint http://cran.r-project.org/web/packages/changepoint/index.html http://cran.r-project.org/web/packages/strucchange/index.html Best, Uwe Ligges -- *Thanks* Engin YILMAZ [[alternative HTML version deleted

Re: [R] multiple break in univariate series

2015-03-28 Thread Uwe Ligges
On 29.03.2015 00:09, Temel İspanyolca wrote: DR. UWE LIGGES I have sent turkish real Gdp data (1998-2013) in annex. Turkey has lived two crises in this period, in 2001 and 2008. You can see in data. My problem is to indicate these dates any statistic test as a structural change or point

Re: [R] Repeated failures to install "caret" package (of Max Kuhn)

2015-04-03 Thread Uwe Ligges
What is the error message? Best, Uwe Ligges On 03.04.2015 23:07, Ronald Wyllys wrote: For an edx course, MIT's "The Analtics Edge", I need to install the "caret" package that was originated and is maintained by Dr. Max Kuhn of Pfizer. So far, every effort I've m

Re: [R] Repeated failures to install "caret" package (of Max Kuhn)

2015-04-04 Thread Uwe Ligges
mirror. I would avoid installing via RStudio unless you have just started a new R session. Private communication showed that the OP did not have liblapack nor libblas in the standard locations. Best, Uwe Ligges On Sat, Apr 4, 2015 at 11:11 AM, John Kane wrote: Try installing from

Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread Uwe Ligges
first on the search path (given by .libPaths()) so that they are loaded first. Best, Uwe Ligges John John C Frain 3 Aranleigh Park Rathfarnham Dublin 14 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:fra...@tcd.ie mailto:fra...@gmail.com On 9 April 2015 at 14:42, Elliot Joel

Re: [R] corresponding replicated el of one matrix in another matrix or vector

2014-07-23 Thread Uwe Ligges
or is there a better solution? the results should be the same as v3=rbind( c(rep("a",5), rep("c",10), rep("b",3)), c(rep("1",5), rep("3",10), rep("2",3))) I'd try t(merge(data.frame(V2=v2), as.data.frame(v1))) Best, Uwe Ligges

Re: [R] corresponding replicated el of one matrix in another matrix or vector

2014-07-23 Thread Uwe Ligges
On 23.07.2014 22:15, carol white wrote: How to keep the same order of elements as v2 for the new matrix? Oh, come on, read the help files for the functions I provided! t(merge(data.frame(V2=v2), as.data.frame(v1), sort = FALSE)) Best, Uwe Ligges v3 [,1] [,2] [,3] [,4] [,5] [,6

Re: [R] Fwd: Need help in finding ppval function and xirr function of matlab in R

2014-07-26 Thread Uwe Ligges
do not know what ppval and xirr are doing. So perhaps someone is willing to help if you describe what the functions should do you are looking for (and in that case Google and friends may also be able to help). Best, Uwe Ligges Please help me in finding the functions. Thank you SowmyaR

Re: [R] Determine all specific same dates between two given dates

2014-07-26 Thread Uwe Ligges
On 25.07.2014 18:26, Frank S. wrote: Hi everyone, After trying to find the solution during days, I decided to write in this help list in order to ask if anyone can help me.I would want to construct an R function, with "initial", "final" and "specific" dates as 3 arguments (for example, becau

Re: [R] How to modify the body of a function?

2014-07-27 Thread Uwe Ligges
as.call(c(as.name("{"), expression(1, function(){}))) or parts of it by list indexing ("[[") Best, Uwe Ligges [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

Re: [R] separate numbers from chars in a string

2014-07-30 Thread Uwe Ligges
t;) If you have lots of these strings, you can convert all of them and then do.call("rbind", strsplit(result, "-")) or some such. Best, Uwe Ligges Thanks Carol [[alternative HTML version deleted]] __ R-help@r-pr

Re: [R] separate numbers from chars in a string

2014-07-31 Thread Uwe Ligges
about regularvexpressions and describe your problem accurately. If the last strings are onot always present, use * rather than + at the very end of the regular expression. Best, Uwe Ligges Regards, Carol On Wednesday, July 30, 2014 10:52 PM, Marc Schwartz wrote: On Jul 30, 2014, at 3

Re: [R] how to extract word before /// in a data frame contain many thousands rows.

2014-08-01 Thread Uwe Ligges
the other rows of your data.frame: gsub(" *///.*$", "", dat$Gene.Symbol) Best, Uwe Ligges A.K. On Thursday, July 31, 2014 9:54 PM, Stephen HK Wong wrote: Dear All, I appreciate if you can help me out this. I have a data frame contains many thousand of rows, with som

Re: [R] How to remove latex message from a resulting rmarkdown pdf?

2014-08-03 Thread Uwe Ligges
21:42:16 2014 How can I remove such a msg? Read ?print.xtable, there is some argument (comment?) to switch it off. Best, Uwe Ligges Many thanks Ed Below you will find the info on my system and a rmakrdown example to reproduce the msg. R version 3.1.1 (2014-07-10) Platform: x86_64

Re: [R] Extract particular months from List in R

2014-08-03 Thread Uwe Ligges
. Given you had provided a small example, we could have given you some more specific answer. Best, Uwe Ligges AT. __ 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

Re: [R] Extract particular months from List in R

2014-08-03 Thread Uwe Ligges
uot;, then: lapply(dat, function(x) x[x[["Month"]] %in% 6:8,]) or in order to combine into one data.frame: do.call("rbind", lapply(dat, function(x) x[x[["Month"]] %in% 6:8,])) Best, Uwe Ligges __ R-help@r-project.org mailing li

Re: [R] Installing manual package problem

2014-08-09 Thread Uwe Ligges
nstallation and Administration manual for details. To build a proper .tar.gz file, do use R CMD build directory_name from the command line. Best, Uwe Ligges Best, Uwe Ligges Best, Ista On Aug 8, 2014 4:21 PM, "James Holland" wrote: Running R 3.03 on Windows 7 I am trying to

Re: [R] Help to install package "mlegp"

2014-08-21 Thread Uwe Ligges
age ‘mlegp’ library(mlegp) Error in library(mlegp) : there is no package called ‘mlegp’ Can some one suggest me whats going on? Start a fresh R session and reinstall without loading it in advance. Best, Uwe Ligges Gyanendra Pokharel University of Guelph Guelph, ON [[alternative HT

Re: [R] How to get source code of a package

2014-09-05 Thread Uwe Ligges
he osurces or use download.package("abc", "path/to/destination", type="source") Best, Uwe Ligges I want to integrate elastic search with R if there is any way please let me know or give me a direction to do that. Thanks.

Re: [R] Built R package with example

2014-09-05 Thread Uwe Ligges
you aim at something different, please try to describe it better, since actually I can only guess the sense of your question. Best, Uwe Ligges Thanks! Karim [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] mvpart error in R 3.1.1 "s_to_rp" not available for .C()

2014-09-05 Thread Uwe Ligges
run a mvpart model I get the following error mesage data(spider) mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water, data=spider) This works for me. Please run update.packages(checkBuilt=TRUE) and update your packages. Best, Uwe Ligges Error en .C("s_to_rp",

Re: [R] using edit to extract codes from vignette failed

2014-09-07 Thread Uwe Ligges
On 07.09.2014 11:06, PO SU wrote: Dear expeRts, When i using the following code, i get a error as follows: edit(file=vignette("grobs",package = "grid")) I guess you want to edit(file = vignette("grobs", package = "grid")[["file"]]

Re: [R] weird install package error

2014-09-13 Thread Uwe Ligges
On 11.09.2014 22:42, Yuan Luo wrote: Hi, I am getting an error installing the MASS package. Googling suggests restarting R, but it didn't help. Anyone has a clue? Recompile R. Looks like you mkl enabled (?) build of R is broken. Best, Uwe Ligges Many thanks, Yuan install.pac

Re: [R] Combining two data frames

2014-09-19 Thread Uwe Ligges
See ?merge Best, Uwe Ligges On 19.09.2014 22:58, Adrian Johnson wrote: Hi: Appreciate if I could get some help. I have two data frames. I want to combine these two dfs bases on first column. df1 : SubjectG1 G2G3 A 10 1 0 B 20 2

Re: [R] R2WINBUGS Error message

2014-09-20 Thread Uwe Ligges
Run with Admin privileges or install WinBUGS in a plcce where you have write permissions. Best, Uwe Ligges Thanks a lot! [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] power.t.test threading on 'power'

2014-10-01 Thread Uwe Ligges
1 and only the first element will be used power.t.test oes not work on vectors in general. Here, you want: lapply(c(0.7, 0.8, 0.9), function(power) power.t.test(power=power, delta=2, sd=3, sig.level=0.05, type="two.sam

Re: [R] power.t.test threading on 'power'

2014-10-01 Thread Uwe Ligges
could be improved. ;-) Indeed, the function was not designed to work on vectors, but most parts of R are, hence the "accident". :-) Best, Uwe Ligges Best, Steve On Oct 1, 2014, at 6:15 PM, Uwe Ligges wrote: On 01.10.2014 14:29, Stephen Kennedy wrote: Simple question. A vector

  1   2   3   4   5   6   7   8   9   10   >