Re: [R] HELP ERROR Weibull values must be 0

2012-02-21 Thread Uwe Ligges
. If not, the underlying distribution is another one. Something we cannot know, but you should know what is going on with your data! Uwe Ligges thank you Date: Tue, 21 Feb 2012 18:44:34 +0100 From: lig...@statistik.tu-dortmund.de To: vanucia-schumac...@hotmail.com CC: r-help@r-project.org

Re: [R] installing the package Rcplex

2012-02-21 Thread Uwe Ligges
with CPLEX 11.1 on 32-bit Windows XP. -- I can find the file and see the codes. But what new path should I put, and what to do next? The path to your CPLEX installation? Uwe Ligges Thanks, Wei

Re: [R] installing the package Rcplex

2012-02-20 Thread Uwe Ligges
, hence it may be not that straightforward to get it done and you wil have to read the INSTALL file from the source package carefully. Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] GTK+

2012-02-20 Thread Uwe Ligges
. 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, minimal, self-contained, reproducible code

Re: [R] Plot OctTree

2012-02-19 Thread Uwe Ligges
by which i can draw octants inside cube as well. No, but you can easily add lines() or segments() to display that, see the Examples section of the help page on how to add additional elements to an existing plot. Uwe Ligges Thanks [[alternative HTML version deleted

Re: [R] Multiple planes in a scatterplot3d

2012-02-19 Thread Uwe Ligges
(seq(0, 10, by=2), rep(y0, 6), rep(10, 6)) segments(xyz1$x, xyz1$y, xyz2$x, xyz2$y, lty=dotted) Best, Uwe Ligges Thanks Kalyan http://r.789695.n4.nabble.com/file/n4399234/Latest.pdf Latest.pdf -- View this message in context: http://r.789695.n4.nabble.com/Multiple-planes-in-a-scatterplot3d

Re: [R] Different cp values in rpart() using plotcp() and printcp()

2012-02-17 Thread Uwe Ligges
? printcp() gives the minimal cp for which the pruning happens. plotcp() plots against the geometric mean (see the help pages!) Uwe ligges Silje [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Using R with Netezza

2012-02-16 Thread Uwe Ligges
Please ask your Netezza support. I now they are proud on their R support and will certainly help. Uwe Ligges On 16.02.2012 00:36, rusernetezza wrote: We've recently installed a Netezza server and I am trying to integrate the R GUI with this server and run functions using the server itself

Re: [R] Link to a Network computer

2012-02-16 Thread Uwe Ligges
requests through Internet Explorer libraries. See ?setInternet2. For the local network, that should not be required and readLines(//hs-907/D$/protein%20Maintenance%20Logs/123.txt) should show the file, hence I guess the OP forgot to omit the file: part. Uwe Ligges Duncan Murdoch

Re: [R] integrate (error: evaluation of function gave a result of wrong length)

2012-02-15 Thread Uwe Ligges
to be vectorized in x. Uwe Ligges Thanks a lot Dimitris -- View this message in context: http://r.789695.n4.nabble.com/integrate-error-evaluation-of-function-gave-a-result-of-wrong-length-tp4391036p4391036.html Sent from the R help mailing list archive at Nabble.com

Re: [R] cross validation in rvm not working? (kernlab package)

2012-02-14 Thread Uwe Ligges
Please report bugs in packages to the corresponding package maintainer (perhaps suggesting a fix if you have an idea how to do that). Uwe Ligges On 14.02.2012 12:42, Martin Batholdy wrote: Hi, according to ?rvm the relevance vector machine function as implemented in the kernlab-package has

Re: [R] see NA

2012-02-13 Thread Uwe Ligges
GHard to tell given the file is not available nor do we see the first lines of it. Uwe Ligges On 13.02.2012 10:51, Soheila Khodakarim wrote: Dear All I want to chose just spacial columns in R. (read table) data1- read.table(/home/Documents/data.txt,header=F,sep = \t, as.is =F) data.2-data1

Re: [R] Install the rugarch-package

2012-02-12 Thread Uwe Ligges
Have you run update.packages() already? Uwe Ligges On 11.02.2012 23:02, liweichen0817 wrote: I have problem installing rugarch, too. I use R 2.14.1 on Mac OS X 10.7.3. When I tried to load rugauch, I got the bellowing error message: Loading required package: Rcpp Loading required package

Re: [R] R Parallel question

2012-02-12 Thread Uwe Ligges
, read ?RNG Uwe Ligges Thanks. Libo Sun Graduate Student, Department of Statistics, Colorado State University Fort Collins, CO -- View this message in context: http://r.789695.n4.nabble.com/R-Parallel-question-tp4380098p4380098.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Get identical results for parallel and sequential?

2012-02-12 Thread Uwe Ligges
Please do not double post. Uwe Ligges On 11.02.2012 23:20, slbfelix wrote: Hi All, I have a question about R parallel computing by using snowfall. How can I set the seeds on parallel workers to get the same result as sequential mode? For example: sfSapply(c(1,1),rnorm) [1] 1.823082

Re: [R] plotting dates, incorrectly scaled x-axis?

2012-02-12 Thread Uwe Ligges
is exactly on the date. Uwe Ligges plot.png __ 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

Re: [R] naiveBayes: slow predict, weird results

2012-02-11 Thread Uwe Ligges
We don't have the data, but my guess is that you want to have some factors in your data that were integers when you tried the code below. Uwe Ligges On 10.02.2012 03:43, Sam Steingold wrote: I did this: nb- naiveBayes(users, platform) pl- predict(nb,users) nrow(users) == 314781 ncol(users

Re: [R] Rpart and splitting criteria

2012-02-11 Thread Uwe Ligges
an another splitting criterion to substitute the default criteria( gini or information)? No. Uwe Ligges Does someone can help me ? Thank you, Myriam Tabasso [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] updating one's own package

2012-02-11 Thread Uwe Ligges
package.skeleton with force = FALSE in order not to overwrite existing files. Anyway, I typically edit the files of the package directly, without using any helper functions. And if you add a new function, you can use prompt() to prepare a corresponding Rd file. Uwe Ligges Thanks, Peter

Re: [R] How to properly build model matrices

2012-02-11 Thread Uwe Ligges
to: label ~ . - 1. But note the interpretation changes and it is *not* redundant in general. Uwe Ligges None of these is a big deal at all, but I'm just curious if I'm missing something simple in how I'm doing things. Thanks. __ R-help@r-project.org

Re: [R] Bug with memory allocation when loading Rdata files iteratively?

2012-02-11 Thread Uwe Ligges
unstated in your message). Uwe Ligges I've put together a little example that illustrates the memory ballooning mentioned above which you can find here: http://stackoverflow.com/questions/9220849/significant-memory-issue-in-r-when-iteratively-loading-rdata-files-killing-the Is this a bug? Any

Re: [R] colnames documentation

2012-02-11 Thread Uwe Ligges
On 10.02.2012 04:53, R. Michael Weylandt wrote: Consider the following in R 2.14.1 (seems to still be the case in Rdevel): x- matrix(1:9, 3) colnames(x) # NULL as expected colnames(x, do.NULL = TRUE) # NULL -- since we didn't change the default colnames(x, do.NULL = FALSE) # col1 col2 col3

Re: [R] Package ICSNP

2012-02-11 Thread Uwe Ligges
for the outdated R version was removed in the meantime - I guess the OP has not changed the default, hence R also looked into CRAN but did not find the package anywhere. Best, Uwe Ligges Warning in download.packages(pkgs, destdir = tmpd, available = available, : no package 'ICSNP

Re: [R] Error in Rd[[which]] : subscript out of bounds

2012-02-09 Thread Uwe Ligges
with the existing 'details'. Martin Yes, and let me add: you may want to use \dQuote{} and friends rather than real quotes, use markup for the e-mail address etc. Uwe Ligges \name{curatedData-package} \alias{curatedData-package} \alias{curatedData} \docType{package} \title{Cancer Gene

Re: [R] calling the function which is stored in a list

2012-02-09 Thread Uwe Ligges
function and used it ? x=c(10,29) funtion3[1](x) Yes, if you correct the typo and use list indexing with double brackets: function3[[1]](x) Uwe Ligges Thanks - Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/calling-the-function-which

Re: [R] R: Memory increase

2012-02-08 Thread Uwe Ligges
still got it right. Calculate the size of you model matrix. If the 29 columns are numeric, this should be a peace of cake, hence you probably model interactions or you are dealing with factors with several levels, so that you model matrix is huge. We cannot know that. Uwe Ligges I have

Re: [R] R2WinBUGS error message

2012-02-08 Thread Uwe Ligges
. That is not always required, hence R2WinBUGS just tries. If it fails, it continues and you may get perfect results. If things won't work, ask your Sysadmin for write permissions on that files. Uwe Ligges I am running R2WinBUGS from a windows 7 machine. -- View this message in context: http://r

Re: [R] na.action in stats::factanal() must be using formula interface and dataframe input to specify na.action?

2012-02-08 Thread Uwe Ligges
On 06.02.2012 18:42, Timothy Bates wrote: hi, Does factanal() force the user to use the formula interface if they wish to specify an na.action? Yes, as the help page says: na.action: The ‘na.action’ to be used if ‘x’ is used as a formula. Uwe Ligges v1- c(1,1,1,1,1,1,1,1,NA

Re: [R] Wriritng to a CSV file

2012-02-08 Thread Uwe Ligges
the first column and write a two column data.frame afterwards. 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

Re: [R] Error in Rd[[which]] : subscript out of bounds

2012-02-08 Thread Uwe Ligges
my package is: * checking Rd files ... WARNING Error in Rd[[which]] : subscript out of bounds Which R version (assuming R-2.14.1 or R-devel)? Can you make the file available? Uwe Ligges problem found in ‘curatedData-package.Rd’ Thanks in advance! Ben [[alternative HTML version

Re: [R] syntax problem with formula / nls

2012-02-08 Thread Uwe Ligges
that would take an array of x values. You can construct a formula programmatically (as.formula on a string generated by paste, for example), but I doubt you will manage to estimate a nonlinear model with 500 variables easily (!) Uwe Ligges Cheers Frank

Re: [R] Force printing of excluded axis annotations

2012-02-08 Thread Uwe Ligges
really want to plot all and R thinks it dos not fit although you believe it does, you can plot in two sets (first even, then odd numbers, for example). Uwe Ligges - Fincher __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Wriritng to a CSV file

2012-02-08 Thread Uwe Ligges
. Uwe Ligges On 08.02.2012 20:29, Ron Michael wrote: Okay, so I understood that appending can only happen row-wise. Therefore I tried with following code: write.csv(matrix(1:5, 1), dat.csv) write.csv(matrix(1:5, 1), dat.csv, append = TRUE) Warning message: In write.csv(matrix(1:5, 1), dat.csv

Re: [R] using file in hdfs for data mining algorithms in r

2012-02-08 Thread Uwe Ligges
as file1 = hdfs.file(testdata/synthetic_control.data) R file1 = hdfs.file(testdata/synthetic_control.data) Error: could not find function hdfs.file ??? Uwe Ligges isf = hdfs.read(lsf,5242880,0) l = kmeans(isf,2,10) its not working.. please help 2. How to access the file in hdfs and give

Re: [R] Problem with plotting a square 1 x 3 plot and placement of outer margin text

2012-02-08 Thread Uwe Ligges
On 07.02.2012 16:03, Mark Na wrote: Dear R-helpers, Please see the attached plot. The problem is that I have too much space between the x-axis label (which is mtext in an outer margin) and the plots. My par settings for this plot are:

Re: [R] Makefile to compile .so in src

2012-02-06 Thread Uwe Ligges
. I am just slightly uncertain about the $() notation; in some docs I saw @BLAS_LIBS@ to appear. So is $() ok? Is it the right syntax? The @BLAS_LIBS@ should typically appear in an .in file only rather than the Makevars file itself. Uwe Ligges Thanks again! -Matyas

Re: [R] creating R package

2012-02-04 Thread Uwe Ligges
You do not have the path to the R binary set in your operating systems (obviously Windows, although unstated) PATH environment variable. This is explained in so many places, including the R Installation and Administration manual ... Uwe Ligges On 03.02.2012 18:25, ql16717 wrote: Hi, I

Re: [R] Fisher Imformation

2012-02-04 Thread Uwe Ligges
(0.5,0.5),z) zz library(MASS) out- nlm(z,zz,x=x hessian = TRUE) Syntactically wrong: A comma is missing. Meaningless: zz is an object returned by optim. You cannot use such an object as starting value for the opimization of your z function. Uwe Ligges fish- out$hessian fish solve(fish

Re: [R] newly install old and present R versions

2012-02-04 Thread Uwe Ligges
, start with R-2.8.1-settings.bat which contains code that sets the environment variables such as PATH appropriately. Uwe Ligges thanks, Thomas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] unlink: parameter force not available in R windows version

2012-02-04 Thread Uwe Ligges
why but without that force option R cannot delete the subfolders/files. What can I do? Update to a recent version of R. Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/unlink-parameter-force-not-available-in-R-windows-version-tp4357464p4357464.html Sent from the R help

Re: [R] gee: suppress printout

2012-02-02 Thread Uwe Ligges
suppressMessages() already. Uwe Ligges I am just wondering is there any way that we can also suppress this one? Because I need to loop this for many times, it's annoying to display this one. -- View this message in context: http://r.789695.n4.nabble.com/gee-suppress-printout-tp908053p4350605.html Sent from

Re: [R] knncat broken on R 2.14?

2012-02-02 Thread Uwe Ligges
Works for me. Uwe Ligges On 02.02.2012 02:09, Nick Matzke wrote: Hi, Until recently I was using the knncat classifier function of knncat on an old computer (2.12, Mac OS X 10.4), and everything worked great. However, now that I have updated to R 2.14.1 (on Mac OS X 10.7), knncat seems broken

Re: [R] User Interface Equivalent Code

2012-02-02 Thread Uwe Ligges
. Since you are on Windows: See also ?bmp for a cleaner more direct approach to print into the device right away. You may also want to consider to produce vector graphic formats rather than bitmaps - the former is in most but not all cases preferable. Uwe Ligges Thanks. [[alternative

Re: [R] Makefile to compile .so in src (was: Re: automated libR location)

2012-02-02 Thread Uwe Ligges
a Makevars file. 2. R CMD SHLIB QUIC.cpp shoudl do the trick already, perhaps some linker flags are required for blas that can be specified in the same line, see R CMD SHLIB --help Uwe Ligges This actually built and created a loadable package but I would want to do it more the R-way

Re: [R] finding rows in a matrix that match a vector

2012-02-02 Thread Uwe Ligges
' to use this. If you like the apply way, you have a vector v and your matrix M: sum(apply(table.combos, 1, function(x) all(x == mine))) Uwe Ligges Thanks in advance for the help! Cheers, Melissa __ R-help@r-project.org mailing list https

Re: [R] problem working directory WinBUGS using R

2012-02-01 Thread Uwe Ligges
WinBUGS lives. You may want to switch to a more recent version for controlling BUGS sampling, e.g. the BRugs package that does it more integrated into R or R2OpenBUGS as the OpenBUGS interface. Uwe Ligges but R looks for winBugs at C:/Program Files/WinBUGS14/. I already had changed the working

Re: [R] package does not have a NAMESPACE

2012-01-29 Thread Uwe Ligges
in the manual R Installation and Administration). 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, minimal

Re: [R] Error from Brugs 'r for windows gui front-end has stopped working''

2012-01-28 Thread Uwe Ligges
(except for using a different path since the once you are using does not work for me, since OpenBUGS cannot deal with spaces in the paths which is the case under German versions of Windows). Hence my suggestion to ask on some BUGS mailing list if anybody can reproduce your problems. Uwe Ligges

Re: [R] laod multichannel-audio-files with readWave (tuneR)

2012-01-28 Thread Uwe Ligges
On 27.01.2012 11:04, Alex Hofmann wrote: Hi, I have a huge collection of 6-channel .wav files containing audio and sensor recordings, which I need to analyse, across all 6 channels. I'm thinking about what will be easier to do. 1. Just split the channels in an external audio-editor and than

Re: [R] cryptic error message: Error in embed(y, lag) : wrong embedding dimension

2012-01-28 Thread Uwe Ligges
Is there a reason you answer a 3.5 years old message? Uwe Ligges On 27.01.2012 12:37, kingsly wrote: According to the source code of embed function, it will stop work if dimention is1 orn . Part of the embed source code is mention below for your reference. if ((dimension 1) | (dimension n

Re: [R] figure margins too large; was: (no subject)

2012-01-27 Thread Uwe Ligges
1. Use a sensible subject line 2. Figure margins too large means there is no space in the device to plot the data, the margins take (almost) all the space already. Uwe Ligges On 26.01.2012 17:59, R. Michael Weylandt wrote: I usually get that error when I'm replotting on a window/device

Re: [R] Why was the ‘doSMP’ package removed from CRAN?

2012-01-26 Thread Uwe Ligges
On 25.01.2012 22:20, Tal Galili wrote: Hello dear list, I just noticed that: Package ‘doSMP’ was removed from the CRAN repository. http://cran.r-project.org/web/packages/doSMP/index.html Does any one know the reason for this? Is this a technical or a legal (e.g: license) issue? If legal

Re: [R] Why was the ‘doSMP’ package removed from CRAN?

2012-01-26 Thread Uwe Ligges
On 26.01.2012 09:39, Barry Rowlingson wrote: On Thu, Jan 26, 2012 at 8:02 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 25.01.2012 22:20, Tal Galili wrote: Does any one know the reason for this? Is this a technical or a legal (e.g: license) issue? If legal issues were

Re: [R] Virus Infection in colorspace_1.1-1.zip (R x64 2.14.1)

2012-01-25 Thread Uwe Ligges
(since you made them) That does not mean you are safe: you can also make a virus from its sources ... Uwe Ligges Not a perfect workaround, but AV tends not to like OSS stuff for whatever reason... Michael On Tue, Jan 24, 2012 at 2:46 PM, Stephen P Molnar s.mol...@sbcglobal.net wrote: I keep

Re: [R] Virus Infection in colorspace_1.1-1.zip (R x64 2.14.1)

2012-01-25 Thread Uwe Ligges
On 24.01.2012 20:46, Stephen P Molnar wrote: I keep finding the Win32\Huer virus in colorspace_1.1-1.zip for R x64 2.14.1 running MS Windows 7. As a result I am not able to use rattle or ChemometricsWithR. I have tried several different mirrors with the same result. Fortunately AVG has

Re: [R] R package dev: how to export constant?

2012-01-25 Thread Uwe Ligges
/ folder in an .R file without exporting it form the NAMESPACE. Uwe Ligges Thanks Christophe -- View this message in context: http://r.789695.n4.nabble.com/R-package-dev-how-to-export-constant-tp4305281p4326840.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Writing a function to return column position XXXX

2012-01-25 Thread Uwe Ligges
On 25.01.2012 02:16, R. Michael Weylandt wrote: I think you are getting stuck on the same regexp problem as before (i.e., once again the dollar sign is being interpreted as the beginning You meant end. Uwe of the line rather than an actual dollar sign) If I understand your question,

Re: [R] Error from Brugs 'r for windows gui front-end has stopped working''

2012-01-25 Thread Uwe Ligges
available before Friday. Uwe Ligges On 25.01.2012 09:55, Jin Minming wrote: I forgot to add the R codes. The following are the codes I used for this problem: ###Step by step example:### library(BRugs) # loading BRugs ## Now setting the working directory to the examples' one: setwd(options

Re: [R] grep TRUE/FALSE

2012-01-25 Thread Uwe Ligges
Yes, use grepl() rather than grep(). uwe Ligges On 25.01.2012 12:28, Ana wrote: Is there a way to get a TRUE/FALSE condition as result, when using grep ? c=The file will be updated if grep(updated,c)==1 then I get TRUE but How can I deal with grep(new,c) ? it gives integer(0) Thanks

Re: [R] x11() graphic device, displaying raster

2012-01-25 Thread Uwe Ligges
for me. 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, minimal, self-contained, reproducible code.

Re: [R] x11() graphic device, displaying raster

2012-01-25 Thread Uwe Ligges
, /johannes Try an R version that is recent - it works for me. Uwe Ligges I first tried it with R 2.13.2 and raster version 1.9-64 (16-January-2012). Now I also installed the most recent version R 2.14.1 (Platform: i386-pc-mingw32/i386 (32-bit)) and raster version 1.9-64 (16-January-2012

Re: [R] x11() graphic device, displaying raster

2012-01-25 Thread Uwe Ligges
) x11() plot(DEU_alt,axes=TRUE) best regards, /johannes Try an R version that is recent - it works for me. Uwe Ligges I first tried it with R 2.13.2 and raster version 1.9-64 (16-January-2012). Now I also installed the most recent version R 2.14.1 (Platform: i386-pc-mingw32/i386 (32-bit

Re: [R] Error from Brugs 'r for windows gui front-end has stopped working''

2012-01-25 Thread Uwe Ligges
before Friday. Uwe Ligges On 25.01.2012 09:55, Jin Minming wrote: I forgot to add the R codes. The following are the codes I used for this problem: ###Step by step example: ### library(BRugs) # loading BRugs ## Now setting the working directory to the examples' one: setwd(options

Re: [R] problems with FEAR

2012-01-24 Thread Uwe Ligges
Uwe Ligges Couldn't resist, could you ? Not at all. googling FEAR DEA R gives this: http://www.clemson.edu/economics/faculty/wilson/Software/FEAR/fear.html I found that FEAR, but how could I be sure this was the one cited by the OP? Anyway, I explained the nonsense of nonexisting

Re: [R] Rmpi loading error

2012-01-24 Thread Uwe Ligges
-installed That mean you have not installed a binary package that has been built for R-2.14.x for Windows, but something else, probably for a much older version. You need more recent version (e.g. by trying to install it from sources yourself). Uwe Ligges I have attempted to re-install

Re: [R] problems with FEAR

2012-01-23 Thread Uwe Ligges
’ is not installed for 'arch=i386' Sounds like this package was not built for R for Windows or for an ancient version of it. Since I FEAR we do not have access to your FEAR, we can only guess Uwe Ligges I've tried more times, with different versions of R (2.11 and 2.12) but the error

Re: [R] Recompile

2012-01-23 Thread Uwe Ligges
to your code? To your version of R? If so, into which library? Have you had that package before or is it new? then I have to recompile my entire installation, Again, which installation? R? A package? If packages: What is the hierarchy of dependencies? Uwe Ligges correct? Seems like

Re: [R] R package submission

2012-01-22 Thread Uwe Ligges
the publication of their new methods (like Journal of Statistical Software). Any ideas if it is possible ? Yes. Best, Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/R-package-submission-tp4318648p4318648.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Rotated Labels for grouped bars

2012-01-21 Thread Uwe Ligges
,labels=c,xpd=TRUE) Change to text(colMeans(bar), par(usr)[3]-.0025,srt=45,adj=1,labels=c,xpd=TRUE) Uwe Ligges I cannot figure out how to get the rotated labels to match up with grouped bars rather than individual bars - ie one label per group Cheers, Jim

Re: [R] Legend that is big?

2012-01-21 Thread Uwe Ligges
() inn some object: lg - legend(..) str(lg) you will see that there is information about the soze and location of the legend that can be used to calculate positions for other text() around Uwe Ligges Thank you. Kevin [[alternative HTML version deleted

Re: [R] How to identify data structure?

2012-01-21 Thread Uwe Ligges
) Uwe Ligges [[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 and provide commented, minimal, self

Re: [R] R package dev: how to export constant?

2012-01-20 Thread Uwe Ligges
. = snap Any hints? No, given you do not manage to tell us how your setup looks like now. Do you think i should rename the convert function Which convert function? You do not call such a function in the example you gave above, do you? Uwe Ligges to float2si or something like

Re: [R] rsp

2012-01-20 Thread Uwe Ligges
On 20.01.2012 09:01, Ashy wrote: Could anyone please tell how to pass parameters of form to server in rsp? Could you please ask questions that are semantically understandable and additionally read the posting guide? Thanks, Uwe Ligges -- View this message in context: http://r.789695

Re: [R] Contour plot on a triangular mesh

2012-01-20 Thread Uwe Ligges
Not sure if I understand the question: If you have more data the grid produced by image() or contour() will be finer anyway... Perhaps we just need an example what you are actually asking for. Uwe Ligges On 20.01.2012 13:28, Roary wrote: Hi All, I have 3 variables which present a perfect

Re: [R] abline by groups

2012-01-20 Thread Uwe Ligges
properly. Uwe Ligges [[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 and provide commented

Re: [R] r help: source-function is very slow

2012-01-19 Thread Uwe Ligges
is on some other possibly network mounted file system? Uwe Ligges Thanks, Jos __ 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

Re: [R] Filling color's points in legend's plot in R

2012-01-19 Thread Uwe Ligges
On 19.01.2012 15:02, Tsidkenu wrote: Thanks for the reply but I want to color (of gray) the triangle, square, circle and the other symbol appear in the legend. PLEASE do read the posting guide. Uwe Ligges -- View this message in context: http://r.789695.n4.nabble.com/Filling-color-s

Re: [R] Using Aggregate() with FUN arguments, which require more than one input variables

2012-01-18 Thread Uwe Ligges
. The length of the resulting vector will be length(unique(groups)). I think this draws a clearer picture to you. Sorry for not precisely pointing it out in my first post. Thanks and Regards! sapply(split(numbers, groups), function(x) cor(x[,1], x[,2])) Uwe Ligges -Ursprüngliche Nachricht

Re: [R] Saving WinBugs log file when using bugs()

2012-01-17 Thread Uwe Ligges
On 16.01.2012 18:00, chaps31 wrote: Hi The log file (not as .odc and as .txt file) is in R'd tempdir() after WinBUGS returns to R. Was this my statement? I actually meant to write *both* rather than not above. Best, Uwe Is there any way to save the .odc file? Ruth -- View this

Re: [R] Mean of simulation runs given in a table

2012-01-17 Thread Uwe Ligges
) Uwe Ligges Thank you, Irek __ 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

Re: [R] Error predict with lda and cross validation

2012-01-17 Thread Uwe Ligges
it? Uwe Ligges Best Riccardo __ 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

Re: [R] Using Aggregate() with FUN arguments, which require more than one input variables

2012-01-17 Thread Uwe Ligges
code, we cannot show how to change that. Uwe Ligges Can anyone provide me with a solution? Regards, RNoob -- View this message in context: http://r.789695.n4.nabble.com/Using-Aggregate-with-FUN-arguments-which-require-more-than-one-input-variables-tp4303936p4303936.html Sent from the R help

Re: [R] unable to find an inherited method for function make.db.names, for signature character, missing

2012-01-17 Thread Uwe Ligges
I think the amount of people on this list who understand your question is roughly zero. We cannot see how the subject is related to the body of your function nor do we see any incidence that ou followed the posting guide. Uwe Ligges On 17.01.2012 17:06, Poul Kristensen wrote: Hi ! I am

Re: [R] Saving WinBugs log file when using bugs()

2012-01-16 Thread Uwe Ligges
start to execute the next part in WinBUGS: file.copy(file.path(tempdir(), log.txt), c:/some/directory/to/log-model1.txt) Best, Uwe Ligges Many thanks Ruth Chapman [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] general question on Spotfire

2012-01-15 Thread Uwe Ligges
On 12.01.2012 17:38, Frank Harrell wrote: As a slight aside, Tibco/Spotfire originally planned to provide a capability to load R packages into S-Plus. This always seemed to me to be a hard thing to do, and if my understanding is correct, this proved to be too difficult to do in S-Plus, at

Re: [R] Nabble? Was Re: function to replace values doesn't work on vectors

2012-01-15 Thread Uwe Ligges
On 14.01.2012 20:41, Duncan Murdoch wrote: On 12-01-13 11:48 AM, Sarah Goslee wrote: ... I hope that it was a momentary glitch; greater disagreement between Nabble and the email list will cause all sorts of fun. If the interface, whatever it is, starts stripping out code? I'll have to quit

Re: [R] parLapply within a function

2012-01-15 Thread Uwe Ligges
Katja, since the information given in this message is not sufficient to be able to help (question whether you are forking or parallelization happens through, e.g., MPI or sockets) and no reproducible code is given yet (as the posting guide ask you to provide), let us discuss this off-list and

Re: [R] Restricting R session

2012-01-12 Thread Uwe Ligges
as the OS allows, hence you may want to run it in a virtual machine in such a case. Uwe Ligges Well, of course you could build your own version of R that did not ship those functions. Anyway, typical restrictions are handled by settig permissions on the file system and/or arrange quotas for space

Re: [R] cannot get tweets from twitteR

2012-01-12 Thread Uwe Ligges
1. Please reply to your former messages (to keep it in the same thread) and quote them. 2. You may want to ask the maintainers of the two projects. I doubt you will find too many users who are using both of them at the same time. Uwe Ligges On 12.01.2012 05:39, Sachinthaka Abeywardana wrote

Re: [R] R for windows 64 bit

2012-01-12 Thread Uwe Ligges
anyway, 2.14.1 is the recent release version) b) Try on a bigger machine or upgrade the available memory in your machine. Try on a 16Gb machine, for example. This is easily possible with simple modern home computers nowadays, 4*4 Gb is roughly 100 EUR nowadays. Uwe Ligges On 12.01.2012 12

Re: [R] RGL- Drawing Circle

2012-01-12 Thread Uwe Ligges
On 12.01.2012 13:21, gli wrote: thanks for the help, Duncan. but when you said study some geometry, He meant basic school maths, I suppose. Uwe do you mean the rgl package pdf reference mannual or other documents? please clarify. i am a total beginner on rgl. graham -- View this

Re: [R] defmacro installation issue

2012-01-12 Thread Uwe Ligges
You have to load the gtools package via library() or require() before you can make use of the function. Uwe Ligges On 12.01.2012 12:18, ikuzar wrote: Hi everybody, I want to use macro in my R code. But defmacro was not in my libraries. So I installed it : install.packages(gtools

Re: [R] problem installing packages

2012-01-11 Thread Uwe Ligges
manually and then installing it through the Terminal. Yet the fundamental problem remains. I downloaded R 2.14.1 several times from different mirrors I think you should change the mirror for the installation of packages, not for downloading R. Uwe Ligges and there are many packages that do

Re: [R] Restricting R session

2012-01-11 Thread Uwe Ligges
to limit session operating memory and CPU time? Ask he manual of your operating system. Best, Uwe Ligges What additional security considerations must be taken care of? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Storing/Restoring R objects

2012-01-11 Thread Uwe Ligges
of the project can be more easily seen and used. .RData is a binary file. Are there tools that let me work with this file? What if I rename it and start a new .RData file when I next invoke R? Could I then specify which .RData file should be available on demand? See ?save and ?load Uwe Ligges I

Re: [R] RGL- Drawing Circle

2012-01-11 Thread Uwe Ligges
plate bus stop? http://www.geocities.co.jp/yuganatabi/bus-stop-aba.html 4) and finally, set the orientation angle of the circle plate? What about readin the help pages for the functions Duncan cited? Uwe Ligges grateful if u give me some directions or at least let me know if it is possible

Re: [R] problem installing packages

2012-01-10 Thread Uwe Ligges
the package works fine with R-2.14.1 (aka R-release). Uwe Ligges Thank you for your help. Natalia Norden Natalia Norden Profesor Asistente Departamento de Ecología y Territorio Facultad de Estudios Ambientales y Rurales Pontificia Universidad Javeriana Bogotá, Colombia Tel: 320 83 20 ­ Ext: 2448

Re: [R] need help with axis ticks

2012-01-09 Thread Uwe Ligges
See ?par and its argument mgp, e.g.: par(mgp=c(3, 0.5, 0)) Uwe Ligges On 08.01.2012 20:13, vibhava wrote: hi, i am using par(mrow=c(6,6)) function to get 6x6 plots on one screen. the problem that i am having is that the axis tick labels are far away from the ticks and going

Re: [R] rcom package - Events

2012-01-07 Thread Uwe Ligges
or a url which will help me do this? That package has its own mailing list, just Google for rcom mailing list. Uwe Ligges Thanks. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] [R-pkgs] The BRugs 0.7-4 interface to OpenBUGS released

2012-01-06 Thread Uwe Ligges
of the interface. Best, Uwe Ligges ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

<    5   6   7   8   9   10   11   12   13   14   >