Re: [R] Merging labels on Pie chart

2013-02-23 Thread Uwe Ligges
. Uwe Ligges Thank you! Melanie Melanie Zölck (Zoelck) PhD Candidate Galway-Mayo Institute of Technology Marine and Freshwater Research Centre Commercial Fisheries Research Group Department of Life Science Dublin Road Galway Republic of Ireland Mobile

Re: [R] Is it possible to obtain an agglomeration schedule with R cluster analyis

2013-02-23 Thread Uwe Ligges
to obtain this information. If you are talking about hierarchical clustering via hclust(), see ?hclust It tells you that the relevant information is available inside the object and you can even see it via the plot method. Uwe Ligges Any assistance is appreciated, Regards Bob

Re: [R] error in unique() command

2013-02-23 Thread Uwe Ligges
=unique(input.data3$svdate), : arguments imply differing number of rows: 1, 4, 45 Yes, unique() resulted in vectors of different lengths in your case, that cannot be combined in a data.frame. Uwe Ligges I know there is only one iso3 and 4 years but what I need is forty five 1 and forty

Re: [R] party::cforest - predict?

2013-02-23 Thread Uwe Ligges
the documentation? If you found that so far, the rest is simple to get more help on the method for the predict generic for class randomForest: library(randomForest) ?predict.randomForest Best, Uwe Ligges Thanks, James [[alternative HTML version deleted

Re: [R] How to install .tar.gz source package in Windows XP 32-bit operational system

2013-02-23 Thread Uwe Ligges
, Uwe Ligges Kind regards, David [[alternative HTML version deleted]] __ 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

Re: [R] Model selection in nonstationary VAR

2013-02-23 Thread Uwe Ligges
On 23.02.2013 19:33, Arun Kumar Saha wrote: which method in statistics is completely free from model misspecification? The data. Uwe Ligges Thanks and regards, _ Arun Kumar Saha, FRM QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST

Re: [R] foreach loop, stata equivalent

2013-02-19 Thread Uwe Ligges
-p269, p2-p15, p2-p16,... p2-p269,... variable pairs. How can I write something similar in R? help(for) Uwe Ligges I 'tried' understanding the package.foreach but can't get it to work. Thanks for any help Nelissa [[alternative HTML version deleted

Re: [R] Using lm to estimate a parameter?

2013-02-19 Thread Uwe Ligges
, it is nonlinear in the parameters. See ?nls or ?optim, for example. Uwe Ligges Thanks! Hallen [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] compare posterior samples from R2OpenBugs and R function bugs{R2WinBUGS}

2013-02-19 Thread Uwe Ligges
help page: for convenience, the n.keep*n.chains simulations in sims.matrix and sims.list (but NOT sims.array) have been randomly permuted. Best, Uwe Ligges Thanks, Jia sessionInfo()R version 2.15.1 (2012-06-22) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE

Re: [R] Getting WinBUGS Leuk example to work from R using R2winBUGS

2013-02-19 Thread Uwe Ligges
, 1.0,1.0,1.0,1.0,1.0,1.0, 1.0,1.0))) Best, Uwe Ligges # MCMC settings nc -1 # Number of chains ni - 1000 # Number of draws from posterior (for each chain) ns-1000 #Number of sims (n.sims) nb - floor(ni/2) # Number of draws to discard as burn-in nt - max(1

Re: [R] calculating seconds

2013-02-19 Thread Uwe Ligges
of NumberOfSeconds. Including correct timezone / daylight saving stuff / leap seconds etc. Best, Uwe Ligges Are there any functions currently available to translate this or should I just do my own? I figured that I'd check first. Thanks, Erin __ R-help@r

Re: [R] Converting the data in year month day hour and minutes to date

2013-02-19 Thread Uwe Ligges
with this ? I was able to convert the format with no hour but getting difficulty with hour included. as.Date is about dates, but not hours. See ?strptime for a way to convert to POSIXlt / POSIXct representations. Best, Uwe Ligges Thank you. Janesh [[alternative HTML version

Re: [R] How to stack row vector on top of each other?

2013-02-16 Thread Uwe Ligges
On 15.02.2013 16:37, Giovanni Petris wrote: How about c(a, b) But then, if he is actually going to have a row vector, t() is needed - and one may want to answer the OP who may not read this list Best, Uwe Ligges ? HTH, Giovanni From: r

Re: [R] Exact p-values in lm() - rounding problem

2013-02-12 Thread Uwe Ligges
chance? If it is true, how do I obtain the true unrounded p-values for these regressors? m1 - lm(y ~ x1+x2+x3+4+x5, data=D) coef(summary(m1))[,4] Anyway, you should not believe that smaller values are still accurate. Always worry about the numerics when looking at tiny differences. Best, Uwe

Re: [R] Exact p-values in lm() - rounding problem

2013-02-12 Thread Uwe Ligges
instead of -16), the latter one vary drastically (especially x3 from -09 to -17). Why is that? Can you show the complete code and output? Uwe Ligges Thank you! T. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Exact p-values in lm() - rounding problem

2013-02-12 Thread Uwe Ligges
-02 t0s8 1.741608e-17 So you are comparing results from m3 with those from m1 Uwe Ligges On 12 February 2013 15:07, Uwe Ligges lig...@statistik.tu-dortmund.dewrote: On 12.02.2013 14:44, Torvon wrote: Thank you, Uwe. summary(m1) gives me p-value estimates

Re: [R] BRugs Error

2013-02-11 Thread Uwe Ligges
On 10.02.2013 22:43, David Winsemius wrote: On Feb 10, 2013, at 12:28 PM, Uwe Ligges wrote: On 10.02.2013 21:18, Paul Ossenbruggen wrote: I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error. If correct

Re: [R] impossible to invert a spam-object, but possible when it's a matrix-object

2013-02-11 Thread Uwe Ligges
(ApP) but this would completely jeopardize other parts of my model. Well, just ignoring sensible defaults and relying on numerics that are not accurate with such a condition may jeopardize the results - just in another way. Best, Uwe Ligges Thanks again, Giancarlo

Re: [R] Avoid re-building a vignette

2013-02-11 Thread Uwe Ligges
On 11.02.2013 15:44, Terry Therneau wrote: I once knew the answer to this, but can't find where I found it. Say I have a vignette that I don't want R to automatically rebuild, perhaps it uses some data I can't share or takes too long to run or whatever. Say it is

Re: [R] Correct value of R_HOME

2013-02-10 Thread Uwe Ligges
On 10.02.2013 03:13, James Jong wrote: What is the purpose of the variable R_HOME? What value should I set it to? Don't change it, it is set automatically on startup. See ?R_HOME Uwe Ligges Thanks, James [[alternative HTML version deleted

Re: [R] BRugs Error

2013-02-10 Thread Uwe Ligges
this problem? Please install BRugs from sources, a Mac binary is not available on CRAN. Best, Uwe Ligges Thanks Paul The following code is an example from R Help bugs: schools.sim - bugs(data, inits, + parameters, model.file, n.chains=3, + n.iter=1000, + n.thin=10,n.burnin=10

Re: [R] qcc package

2013-02-09 Thread Uwe Ligges
in plot.window(...) : need finite 'ylim' values It seems reasonable that if the first command produces correct results, so should the second. What am I doing wrong? Watch out for NA, NaN, Inf or -Inf values in p3.18$s ? Uwe Ligges Thanks Best Regards, Steven [[alternative HTML

Re: [R] Swaeve, Beamer and \alt

2013-02-09 Thread Uwe Ligges
for any help, Jarrod Untested: Does \begin{frame}[containsverbatim] help? Best, Uwe Ligges __ 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

Re: [R] funcion ff

2013-02-09 Thread Uwe Ligges
Two comments: This list is in English. The package maintainer may know better answers than this list. Best, Uwe Ligges On 05.02.2013 15:21, Tania Patiño wrote: Hola R, tengo las siguientes preguntas: Pregunta 1: Cargar las tablas de los datos de peliculas en R usando `ff`. Cómo se

Re: [R] plot significant spearman correlation

2013-02-09 Thread Uwe Ligges
code. We can hardly help how to introduce p .05 parameter in the script if we do not know that script. Best, Uwe Ligges Thank you very much! Ozgul __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] maximum amount of lines of code to be copy pasted to R console

2013-02-09 Thread Uwe Ligges
parantheses etc. even though the parantheses are balanced (i.e. the code runs when run via source or inside some function). Yes, and that may not only depend on the buffer size of the OS clipboard. Hence don't rely on it for larger blocks. Uwe Ligges Cheers Jannis

Re: [R] qcc package

2013-02-09 Thread Uwe Ligges
in the second case, the latter trying to calculate variances of each observation in your s vector, hence given NA in the statsitics that is to be plotted. Best, Uwe Ligges Best Regards, Steven On Feb 9, 2013, at 9:29 AM, Uwe Ligges lig...@statistik.tu-dortmund.de mailto:lig...@statistik.tu

Re: [R] impossible to invert a spam-object, but possible when it's a matrix-object

2013-02-09 Thread Uwe Ligges
created based on my actual problem. Different algorithms are used to compute the inverse - and you are rather close to singularity: kappa(A) results in 59638727. Best, Uwe Ligges Thanks in advance for any help, GC library(spam) ## creating a spam matrix A ent - c(2312.12324929972

Re: [R] order function

2013-02-09 Thread Uwe Ligges
it well. Best, Uwe Ligges .kripa [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Error: package/namespace load failed for ‘arm’

2013-02-09 Thread Uwe Ligges
much appreciate it! Please run update.packages(checkBuilt=TRUE) to update all the dependencies. Then try again. The package passes all checks (including package loading) on CRAN: http://cran.r-project.org/web/checks/check_results_arm.html Best, Uwe Ligges Pernille Heelsberg

Re: [R] Saving history across sessions

2013-02-09 Thread Uwe Ligges
actually load that file on startup? Note that .Rhistory is read in the current directory (rather than .RHistory in your home dir). See ?Startup Best, Uwe Ligges James [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] question about reproducibility/consistency of principal component and lda directions in R

2013-02-09 Thread Uwe Ligges
, but with the first lda scores, so I have the same questions about lda directions, too. Same for lda. Best, Uwe Ligges Any light you could shed on these questions would be very welcome! Thanks in advance, David Romano [[alternative HTML version deleted

Re: [R] Feature selection for kmeans

2013-02-09 Thread Uwe Ligges
, look for cluster stability. Best, Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/Feature-selection-for-kmeans-tp4657830.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

Re: [R] help with creating new variables using a loop

2013-02-09 Thread Uwe Ligges
in another data.frame or list. Uwe Ligges unfortunately this doesn't work as it seems the paste0 function returns a list object that only contains the vector's name and not the vector itself. Hope someone can help... Christel [[alternative HTML

Re: [R] Empty cluster / segfault using vanilla kmeans with version 2.15.2

2013-02-09 Thread Uwe Ligges
We need a reproducible example. Uwe Ligges On 03.02.2013 15:03, Luca Nanetti wrote: Dear experts, I am encountering a version-dependent issue. My laptop runs Ubuntu 12.04 LTS 64-bit, R 2.14.1; the issue explained below never occurred with this version of R My desktop runs Ubuntu 11.10 64-bit

Re: [R] Meaning of .noemail extension for CRAN uploads?

2013-02-04 Thread Uwe Ligges
and hence do not know if the submission comes from the maintainer or someone else. Best, Uwe Ligges Thanks! 1: ftp://cran.r-project.org/incoming 2: http://cran.r-project.org/web/packages/policies.html __ R-help@r-project.org mailing list

Re: [R] Package name

2013-01-31 Thread Uwe Ligges
. Uwe Ligges Duncan Murdoch __ 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-contained, reproducible code

Re: [R] Removing values containing a specific character

2013-01-27 Thread Uwe Ligges
to reduce the number of copies of your data, e.g. by not generating an interim df2. Best, Uwe Ligges On Sat, Jan 26, 2013 at 9:37 PM, Yasha Podeswa ypode...@gmail.com wrote: Awesome, thanks Arun, that's exactly what I was looking for! On Sat, Jan 26, 2013 at 9:21 PM, arun kirshna [via R] ml

Re: [R] Loops

2013-01-27 Thread Uwe Ligges
want it without any (apply-)loop: p3 - 100 - 100 * abs(p2 / rowSums(p2) - (1/3)) For this small setup it is not too important, but should be several times faster. Uwe Ligges p3 now contains all your results except the one including all the data, which is trivial to compute. -- Richard D

Re: [R] cannot allocate memory block of size 2.7 Gb

2013-01-26 Thread Uwe Ligges
not know how much your workspace is messed up or what you did that at least 2.7 Gb additional memory is required in your next step. Best, Uwe Ligges memory.size() [1] 1361.88 sessionInfo() R version 2.15.2 (2012-10-26) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE

Re: [R] Error with Expected Shortfall function, ES.

2013-01-26 Thread Uwe Ligges
On 24.01.2013 13:33, kevj1980 wrote: ES function gives the below error. ES(sim, p=.95, method=c(modified),portfolio_method=c(component), weights=w1) We get: Error: object 'ES' not found Uwe Ligges /Error in checkData(R, method = xts, ...) : The data cannot be converted into a time

Re: [R] stepwise variable selection method wanted

2013-01-26 Thread Uwe Ligges
On 19.01.2013 01:57, Julien Mehl Vettori wrote: Dear Herry, This is the R-help mailing list with thousands of readers. Your message is without any context. Do you really expect an answer? Best, Uwe Ligges I would like to know if you found an answer elsewhere to your question. I'm

Re: [R] a function more appropriate than 'sapply'?

2013-01-26 Thread Uwe Ligges
(^[^\\_]*_[^\\_]*$, wells[,1]),] wells2 - wells[grep(^[^\\_]*_[^\\_]*_[^\\_]*$, wells[,1]),] Best, Uwe Ligges I tried to select rows containing 1 or 2 underscores with grep regular expressions but that appeared to be more difficult than I had expected. The method above is quick. Berend

Re: [R] a function more appropriate than 'sapply'?

2013-01-26 Thread Uwe Ligges
On 26.01.2013 21:23, Berend Hasselman wrote: On 26-01-2013, at 21:09, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 26.01.2013 20:46, Berend Hasselman wrote: On 26-01-2013, at 19:43, emorway emor...@usgs.gov wrote: I'm wondering if I need to use a function other than sapply

Re: [R] Problems regarding the package BRugs

2013-01-16 Thread Uwe Ligges
the command involving the function, the error was like below: model has probably not yet been updated model has probably not yet been updated And you have updated? Where is the reproducible code we ask for on this mailing list? Best, Uwe Ligges Is there any problem with the function, or the input

Re: [R] configure/build R on Windows

2013-01-16 Thread Uwe Ligges
On 15.01.2013 22:24, Beto . wrote: Hello, Does anyone knows if there is a Documentation or any wiki that could help me to configure and build R using cygwin with the Intel Compilers on Windows? No, cygwin is an unsupported platform. Best, Uwe Ligges Thanks, Humberto

Re: [R] Help with a parallel process

2013-01-16 Thread Uwe Ligges
en checkForRemoteErrors(val) : 4 nodes produced errors; first error: could not find function nnet how I can solve my mistake? Load nnet on all the nodes, not only on the master. Best, Uwe Ligges Thanks and kind regards __ R-help@r

Re: [R] setting the legend scale in contour plots

2013-01-16 Thread Uwe Ligges
a reproducible example to check what is going on. The reproducible exampelm is what you should provide. See the posting guide. Best, Uwe Ligges Cheers Sarah [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] configure/build R on Windows

2013-01-16 Thread Uwe Ligges
On 16.01.2013 20:44, peter dalgaard wrote: On Jan 16, 2013, at 20:24 , Uwe Ligges wrote: On 15.01.2013 22:24, Beto . wrote: Hello, Does anyone knows if there is a Documentation or any wiki that could help me to configure and build R using cygwin with the Intel Compilers on Windows

Re: [R] Histogram plot spacing

2013-01-15 Thread Uwe Ligges
(10300,11100), xlim=c(-0.002,0.40), breaks=seq(0,1,0.004), axes=FALSE, main=, ylab=, xlab=,col='blue', xaxt=n) axis(1, at=seq(0,0.40,0.05), labels=seq(0,0.40,0.05), pos=10300) which gives the x axis superposed with the histogram bars. par(yaxs=i) hist(rnorm(100)) Uwe Ligges Many thanks Julie

Re: [R] R error: system is computationally singular when building GMM model

2013-01-13 Thread Uwe Ligges
: The code tries solve() and fails since the matrix is numerically singular. Now go ahead and find out why that happens. Not enough data for all combinations of your categorical variables in a way that you can still estimate all the coefficients, I believe, Uwe Ligges Please help. Thanks much

Re: [R] extracting character values

2013-01-13 Thread Uwe Ligges
than 2 letters. Someone would have a nice idea for that? Thanks, Maybe some poeple will, but an example of your data will actually help them to help. Your code is not reproducible without providing the netw object. Best, Uwe Ligges David [[alternative HTML version deleted

Re: [R] heatmap.2 problem

2013-01-13 Thread Uwe Ligges
is not reproducible. Best, Uwe Ligges heatmap.2(my.matrix,Rowv=FALSE, Colv=Rowv, col=mycol, trace=both, tracecol=black, key=FALSE, symm=FALSE, vline=NULL, hline=NULL) Kind regards, Peter __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] package gplots: (was:) heatmap.2 problem

2013-01-13 Thread Uwe Ligges
On 13.01.2013 18:06, Peter Davidsen wrote: Sorry, I should have added library(gplots) in the beginning of my code On Sun, Jan 13, 2013 at 5:04 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: mycol - colorpanel(n=3,green,grey,red) Ah, so these are questions re. the gplots

Re: [R] extracting character values

2013-01-13 Thread Uwe Ligges
))) Uwe Ligges problem is for author van den hoofs j who is only retrieved as 'van' thanks, David Biau De : arun smartpink...@yahoo.com À : Biau David djmb...@yahoo.fr Envoyé le : Dimanche 13 janvier 2013 17h38 Objet : Re: [R] extracting character values

Re: [R] Using square brackets in a ploted expression

2013-01-12 Thread Uwe Ligges
that: [NO3-]. I tried instinctively to use %[% to plot the brackets, but it did not work. Does anybody of you know what is the correct syntax to plot square brackets inside an expression? See ?plotmath: plot(1, main=expression(group([, NO[3]^-,]))) Uwe Ligges Thank you in advance, José

Re: [R] Levels in new data fed to SVM

2013-01-10 Thread Uwe Ligges
be as large as those for the original training data, is there a better way I should be handling this? You have to tell the factor about the possible levels, it does not necessarily contain examples. That means: levels(test.data$b) - C(a, b, c) predict(my.model,test.data) will help. Best, Uwe Ligges

Re: [R] round 2.3 to 2.5 and 2.2 to 2.0

2013-01-07 Thread Uwe Ligges
On 07.01.2013 09:59, Mat wrote: Hello together, i want to round some numbers in my data.frame. How can i round a number to values like 0.5; 1.0; 1.5; 2.0; etc. It should look like this one before 2.2 ; 2.3; 2.26; 1.11 after 2.0; 2.5; 2.5; 1.0 round(2*x)/2 Uwe Ligges thanks. Mat

Re: [R] plot x-axis DateTime NOT evenly spaced

2013-01-07 Thread Uwe Ligges
%H:%M:%S +0900) but this chops the time off. Could anyone show me how to plot data with x values as Date(or Time) objects? See ?strptime Best, Uwe Ligges soichi [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] Changing mtext direction, or using text for the margin?

2013-01-07 Thread Uwe Ligges
in help where i can use text and (srt) to manipulate this with a single panel plot, but not for a multi-panel example. Any help would be greatly appreciated. You cannot do that with mtext, you rather need a dirty hack with text(), I believe. Best, Uwe Ligges Cheers, Mike

Re: [R] Changing mtext direction, or using text for the margin?

2013-01-07 Thread Uwe Ligges
use text() (and you rely on the spacing of the current device) or try to use layout() and small figure at the reight hand size of all the others. Or go to the grid package and make it less ugly. Best, Uwe Ligges Mike Uwe Ligges wrote: On 07.01.2013 07:00, Michael Rennie wrote: Hi all

Re: [R] nls, controling the max. number of iterations; was: (no subject)

2013-01-06 Thread Uwe Ligges
Please read the posting guide and use a sensible subject line, tell us about the R version you are using, and add a *reproducible* example. We get: Error in nls(npe ~ SSgompertz(npo, Asym, b2, b3), data = f, control = nls.control(maxiter = 500)) : object 'f' not found Best, Uwe Ligges

Re: [R] group variables in classes

2013-01-06 Thread Uwe Ligges
(t$d, 4)),table) z-cbind(z) It would be helpful to tell the list what you actually aim at. Best, Uwe Ligges Thank you! Initial data: nrx y d plot plotn xplot yplot 121 162 50.26989 46.230 55.001NANANA 120 160 43.05703 41.096 12.502NANANA

Re: [R] Predicting New Data -

2013-01-06 Thread Uwe Ligges
, scale = FALSE) : length of 'center' must equal the number of columns of 'x' Ultimately I want to predict data_test, but the orginal dataset won't even work. However, predict(mb1) does work. What am I doing wrong? Hard to debug given we neither have the formula nor the data. Best, Uwe Ligges

Re: [R] labdsv-indval Windows GUI front-end stopped working.

2013-01-03 Thread Uwe Ligges
. I was using 2.14.2 and I even uploaded new version, but also it did not help. Besides, it worked neither with x32 nor x64. Could you please tell me what else I can do? Provide a reproducible example, as the posting guide asks you to do. Best, Uwe Ligges Thank you ozgul

Re: [R] two lines in axis title combined with 'substitute' command

2013-01-03 Thread Uwe Ligges
not make a new line. You cannot. One way out is to use two calls to title(xlab=, line=...), one for each line of the xlab title. Best, Uwe Ligges What I have so far: logbase - 2 test - bait cellline - cellline plot( log(filteredproteins[[Ratio.H.L.normalized.UW21_FW]],base=logbase), -log

Re: [R] problem when installing a R package

2013-01-02 Thread Uwe Ligges
\Local': Permission denied* Not sure what this directory is about and why it is accessed, but you could check if you have some permission problems in that folder. You can turn off the checks for loading to get an installation for testing purposes, see R CMD INSTALL --help Best, Uwe Ligges

Re: [R] problem when installing a R package

2013-01-02 Thread Uwe Ligges
? Uwe Ligges Any clue ? -- View this message in context: http://r.789695.n4.nabble.com/problem-when-installing-a-R-package-tp4654404p4654408.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

Re: [R] Package check using --as-cran

2013-01-02 Thread Uwe Ligges
if there is a verbose version of the check. Well, the verbose part is in file [path]/phenology.Rcheck/00install.out as the ERROR message told you. Best, Uwe Ligges Thanks a lot Marc Girondot __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Package check using --as-cran

2013-01-02 Thread Uwe Ligges
On 02.01.2013 17:28, Marc Girondot wrote: Le 02/01/13 16:03, Uwe Ligges a écrit : On 02.01.2013 11:58, Marc Girondot wrote: I use R 2.15.2 on MacosX 10.8.2 I have a problem checking for a package that I want to submit in CRAN. When I check like that, no problem or warning are detected

Re: [R] Help reading matrixmarket files

2012-12-28 Thread Uwe Ligges
of the package with the broken import function (or right away patched version of the broken function). Uwe Ligges __ 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] Help reading matrixmarket files

2012-12-28 Thread Uwe Ligges
On 28.12.2012 19:49, Brad Cox wrote: On Fri, Dec 28, 2012 at 11:47 AM, Uwe Ligges lig...@statistik.tu-dortmund.de mailto:lig...@statistik.tu-dortmund.de wrote: Approve? Isn't it still being queued for approval? Can't tell from this end. Your mail to 'R-help' with the subject Help

Re: [R] how to get a value from a list (using paste function)?

2012-12-27 Thread Uwe Ligges
On 27.12.2012 08:09, Heramb Gadgil wrote: eval(parse(text=paste0(cvtest$,lambda.rule))) No, never ever! There is an R idiom made for it: cvtest[[lambda.rule]] Uwe Ligges I hope this works. On Wed, Dec 19, 2012 at 12:57 AM, Thomas Stewart tgs.public.m...@gmail.comwrote: Soyeon

Re: [R] pscore.dist problem when running optmatch

2012-12-27 Thread Uwe Ligges
the package's NAMESPACE. Best, Uwe Ligges Regards, Pascal Le 18/12/2012 21:37, MA a écrit : Hello My optmatch package is loaded and otherwise running fine. I get an error after lcds successfully completes logistic regression and I'm trying to obtain a propensity score: pdist - pscore.dist(lcds

Re: [R] how to get a value from a list (using paste function)?

2012-12-27 Thread Uwe Ligges
does not know there is a better way than pasting strings together. And we should point him to the best solution for handling his problem, not the suboptimal one he was looking for initially. Best, Uwe Ligges On Thu, Dec 27, 2012 at 4:34 PM, Jessica Streicher j.streic...@micromata.de wrote

Re: [R] Rterm does not load personal library

2012-12-21 Thread Uwe Ligges
and those packages are not loaded by your package. If you start RGui some packages are loaded that are not loaded if you start via --vanilla, but we cannot know more without information about mypack. Uwe Ligges Thanks and happy holidays. Stephen __ R

Re: [R] Problem installing package caret

2012-12-18 Thread Uwe Ligges
of package forecast, nor will it load on its own after I download it individually. Thanks for the help. J On Wed, Dec 12, 2012 at 10:03 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 12.12.2012 16:32, John Kerpel wrote: Folks: I keep getting the following error message (I'm

Re: [R] Problems with building R from sources

2012-12-17 Thread Uwe Ligges
, that's why we have the MkRules files. Just run make, see the manual R Installation and Administration for details on how to compile from sources on Windows. Best, Uwe Ligges My MkRules.local file is the following: #-*- Makefile -*- ## This is only used when building R itself but it does

Re: [R] Installing Packages from a Local Repository

2012-12-15 Thread Uwe Ligges
You have to specify the repository as file:Q:/Integrated Planning/R (and I am not entirely sure if blanks are supported). Best, Uwe Ligges On 13.12.2012 11:52, Tommy O'Dell wrote: Hi everyone, I've followed the instructions from R-Admin Section 6.6 for creating a local repository. I've

Re: [R] COZIGAM removed from CRAN

2012-12-14 Thread Uwe Ligges
, or possibly also for other reasons. Best, Uwe Ligges Thanks, Raeanne The Scottish Association for Marine Science (SAMS) is registered in Scotland as a Company Limited by Guarantee (SC009292) and is a registered charity (9206). SAMS has an actively trading wholly owned subsidiary company: SAMS

Re: [R] Rprof causing R to crash

2012-12-14 Thread Uwe Ligges
related. Just for comparison, I tried 1e9 loops after a call to Rprof() on one of our Linux servers (R 2.14.0) without any problems. Works for me. Uwe Jon On 12-Dec-12 17:06, Uwe Ligges wrote: On 12.12.2012 00:05, Marian Talbert wrote: I'm trying to use Rprof() to identify bottlenecks

Re: [R] changing character strings with hash marks

2012-12-13 Thread Uwe Ligges
# gsub([[:alpha:]], #, Mary plays football) Uwe Ligges Any suggestion about the function to be used? Thanks a lot. S. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Problem installing package caret

2012-12-12 Thread Uwe Ligges
On 12.12.2012 16:32, John Kerpel wrote: Folks: I keep getting the following error message (I'm on Windows 7, R-2.15.2, and tried a reboot...). Thx! Either you do not have write permission on that directory or you have the package loaded already, Uwe Ligges John install.packages

Re: [R] Rprof causing R to crash

2012-12-12 Thread Uwe Ligges
to work or how to speed up this code would be greatly appreciated. I'm using Windows 7 (which might be my problem) and R version 2.15.0. The problem is rather the R version: I cannot reproduce errors with a recent R. Uwe Ligges CalcMESS-function(tiff.entry,pred.vect){ f-sum

Re: [R] qplot error -

2012-12-10 Thread Uwe Ligges
improperly declared version dependencies. Best, Uwe Ligges On 10.12.2012 19:31, Troels Ring wrote: Thanks a lot - here is win 64 bits too library(ggplot2) pakke ‘ggplot2’ blev bygget under R version 2.15.2 qplot(mpg, wt, data=mtcars) Error in rename(x, .base_to_ggplot, warn_missing

Re: [R] print and cat not working with parallelised functions?

2012-12-08 Thread Uwe Ligges
. This can be seen from the following minimal working example: print: You are printing in the R client, not on the master assign: You are assigning to the .GlobalEnv of the client, not the one of the master. Best, Uwe Ligges library(parallel) fun2 - function(x) { b - x; # try to export

Re: [R] Incorrect DST time changes in DateTimeClasses

2012-12-06 Thread Uwe Ligges
On 06.12.2012 15:54, Jeff Newmiller wrote: What OS are you using? It makes a difference. ... and R version. Uwe Ligges --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] 2-15.2 Windows 32-bit version anywhere ?

2012-12-06 Thread Uwe Ligges
compiled for 2-15.2 but only 2-15.1 is available for download from the regular CRAN websites. R-2.15.2 is available from CRAN. Which mirror are you using or which page are you looking at? Uwe Ligges Thanks in advance, Tolga This email is confidential and subject to important disclaimers

Re: [R] 2-15.2 Windows 32-bit version anywhere ?

2012-12-06 Thread Uwe Ligges
On 06.12.2012 17:46, Uzuner, Tolga I wrote: Odd... I am seeing 2-15.1 This is the URL I am going to: http://cran.r-project.org/bin/windows/base/R-2.15.1-win.exe Yes, that one is still there, but actually 2.15.2 is linked from http://cran.r-project.org/bin/windows/base/ Uwe Ligges I

Re: [R] Design library

2012-12-06 Thread Uwe Ligges
to introduce with these concepts? would you please introduce me some references? best wishes This is the R-help mailing list, nothing about S-PLUS. Best, Uwe Ligges - -- View this message in context: http://r.789695.n4.nabble.com/Design-library-tp4652364.html Sent from the R help

Re: [R] error of installing/building an R package (PortfolioAnalytics) on Win 7

2012-12-03 Thread Uwe Ligges
for the corresponding versions of R mentioned in the table. Frozen = no means it may be updated from time to time to allow for new features or bugfixes. Uwe Ligges So, PortfolioAnalytics cannot be used on Linux or Win until Mar. 2012 ? Are there substitutes ? Any help will be appreciated. Date: Sun

Re: [R] How to mix three different classification techniques

2012-12-03 Thread Uwe Ligges
method and it is not very common to mix different methods in an ensemble. You'd probably have to write the code yourself. Uwe Ligges Thank you, Tania Sent from my iPod __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] How to rename the columns of as.table

2012-12-03 Thread Uwe Ligges
(autocorrelazione2)) Uwe Ligges Thanks guys -- View this message in context: http://r.789695.n4.nabble.com/How-to-rename-the-columns-of-as-table-tp4651806.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] How to make the cell background of a table informative?

2012-12-03 Thread Uwe Ligges
that represents a category, but not a ratio. Possible? You can draw, e.g. two filled polygons of appropriate sizes in the background before adding the foreground. Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-the-cell-background-of-a-table-informative

Re: [R] How to find the lenth of more than ten variables?

2012-12-03 Thread Uwe Ligges
to rephrase your question so that we understand it Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/How-to-find-the-lenth-of-more-than-ten-variables-tp4651751.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Warning message: In scan(file, what, nmax...)

2012-12-03 Thread Uwe Ligges
115-120 of that file. Uwe Ligges i also tried: Data1-readLines(/Users/kama/Analysis/GDP10.csv,n=10) Data1 [1] Country10;Year10;GDP Andorra;2010;41,138 Andorra;2009;44,591 [4] Andorra;2008;49,981 Andorra;2007;48,431 Andorra;2006;43,541 [7] Andorra;2005;40,821 Andorra;2004;38,381

Re: [R] xlsx file read in R

2012-12-03 Thread Uwe Ligges
On 03.12.2012 13:59, Nico Met wrote: Dear all, How can I read .xlsx files in R See the Data Import/Export manual? Uwe Ligges Regards Nico [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Using multicores in R

2012-12-03 Thread Uwe Ligges
. Best, Uwe Ligges I was wondering how can I make my script use more cores and memory because I am running it on a server and it is a shame that it uses only one core. Thanks! Moriah -- View this message in context: http://r.789695.n4.nabble.com/Using-multicores-in-R-tp4651808.html

Re: [R] multiline text() with different cex sizes

2012-12-03 Thread Uwe Ligges
remains fixed when the plot is resized or written to a device? That is, I'd like to have such caption text treated as a fixed block which, under rescaling would expand contract uniformly. Not in base R graphics, but in package grid. Best, Uwe Ligges -Michael On 8/22/2012 2:58 PM, Michael Friendly

Re: [R] R-Forge not building packages?

2012-12-03 Thread Uwe Ligges
. There is nothing readers of R-help can do, actually. Best, Uwe Ligges __ 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

<    1   2   3   4   5   6   7   8   9   10   >