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]]) ? Best, Uwe Ligges Error in edit.vignette(file

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

2014-09-05 Thread Uwe Ligges
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. [[alternative HTML version deleted

Re: [R] Built R package with example

2014-09-05 Thread Uwe Ligges
. If 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
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, n = as.integer(nobs

Re: [R] Help to install package mlegp

2014-08-21 Thread Uwe Ligges
’ 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 HTML version

Re: [R] Installing manual package problem

2014-08-09 Thread Uwe Ligges
Installation 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 holland.ag...@gmail.com wrote: Running R 3.03 on Windows 7 I am

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
, 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 list https://stat.ethz.ch/mailman/listinfo/r-help

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

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

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 marc_schwa...@me.com wrote

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

2014-07-30 Thread Uwe Ligges
, -)) or some such. Best, Uwe Ligges Thanks Carol [[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

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

2014-07-27 Thread Uwe Ligges
(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/listinfo/r-help PLEASE do read the posting

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

2014-07-26 Thread Uwe Ligges
and 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, becauseI'm

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

2014-07-23 Thread Uwe Ligges
)), 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 --- v1 [,1] [,2] [,3] [1,] 1 2 3 [2,] a b c v2 [1] a a a a a c c c c c c c c c c b b b v3 [,1] [,2

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] Scatterplot3D in r

2014-07-14 Thread Uwe Ligges
:4], each=4:1))) y - factor(LETTERS[c(1:4, 2:4, 3:4, 4)]) z - c(0.25, 0.14, 0.15, 0.32, 0.79, 0.98,1.25, 0.68, 2.02, 0.64) library(scatterplot3d) scatterplot3d(x, y, z, type=h, x.ticklabs=LETTERS[1:4], y.ticklabs=LETTERS[1:4], lab=c(4,4,4)) Best, Uwe Ligges thank you [[alternative

Re: [R] lapply returns NULL ?

2014-07-12 Thread Uwe Ligges
to list $C NULL in the output. How I can do that ? Either use your own print function or, if you do not want NULL elements in the object, remove them. Best, Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] R help

2014-07-08 Thread Uwe Ligges
it up on the internet but cannot seem to find the right option. If you could help me out, that would be fantastic. See ?.libPaths and find that you can set an environmetn variable R_LIBS_USER to change that path. Best, Uwe Ligges Thanks in advance and have a wonderful day

Re: [R] (PLM- package) Residual-Plotting and missing Values

2014-07-08 Thread Uwe Ligges
If you havn't got a response yet, ask the package authors. Best, Uwe Ligges On 01.07.2014 16:21, Katharina Mersmann wrote: Dear R-Community, I tried plotting the residuals of an FE-model estimated via plm . And detected that there are no residuals in the plot for the last two countries. I

Re: [R] writing matrices of different rows in a file

2014-07-08 Thread Uwe Ligges
(m,n[1.2,]),...) write.csv(cbind(cbind(rep( ,1), rep( ,1)),n[3,]),...) Warning message: In write.csv(cbind(cbind(rep( , 1), rep( , 1)), n[3, : attempt to set 'append' ignored First combine them into one matrix, e.g. with missing values, then write... Best, Uwe Ligges Thanks Carol

Re: [R] eclat problem

2014-07-08 Thread Uwe Ligges
This is something for the authors of that package... Best, Uwe Ligges On 07.07.2014 22:56, Alvaro Flores wrote: I'm working with arule packages and I'm constantly trying to mine frequent itemsets in different datasets. But recently R kept returning the same error message : Error

Re: [R] package: RWinEdt question

2014-07-06 Thread Uwe Ligges
available, hence hard time to get the plugin running without a WinEdt version to test it ... Best, Uwe Ligges On 06.07.2014 19:34, Mari wrote: I just upgraded WinEdt from 5.2 to 8.2. With the older version, invoking library(RWinEdt) started a new instance of WinEdt identified by R-WinEdt

Re: [R] Dead link in the help page of as.Date()

2014-07-01 Thread Uwe Ligges
On 23.06.2014 21:41, Christofer Bogaso wrote: Hi, I was reading the help page for as.Date() function for some reason, and noticed a Matlab link: http://www.mathworks.com/help/techdoc/matlab_prog/bspgcx2-1.html Thanks, updated now. Best, Uwe Ligges It looks like this link is dead. So

Re: [R] c() with POSIXlt objects and their timezone is lost

2014-07-01 Thread Uwe Ligges
isdst zone gmtoff $class [1] POSIXlt POSIXt $tzone [1] CET CEST From ?c: c is sometimes used for its side effect of removing attributes [...] and from ?c.POSIXlt: Using c on POSIXlt objects converts them to the current time zone, [...] Best, Uwe Ligges

Re: [R] Help partimat()

2014-06-24 Thread Uwe Ligges
: What you want is something like: par(mfrow = c(4,2)) for(i in 3:10) drawparti(mydata[,1], mydata[,2], mydata[,i], method = rda, gamma=0, lamda=1) Best, Uwe Ligges Best wishes, Daniel On Friday, March 29, 2013 3:13:58 PM UTC, Uwe Ligges wrote: On 29.03.2013 15:59, Antelmo

Re: [R] selecting columns based on partial names

2014-06-19 Thread Uwe Ligges
name1940_ppt1941_ppt 774-CL231 344 778-RW 228 313 Thanks. df[ , grepl(_ppt$, names(df))] Best, Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] r internet connection is very slow

2014-06-10 Thread Uwe Ligges
Probably you used a slow mirror and did not tell us which one ... or you have lots of packages installed on a very slow drive (such as a network connected location). Best, Uwe Ligges On 10.06.2014 15:52, Aidan Corcoran wrote: Dear all, I have a fresh install of R on a virtual desktop

Re: [R] r internet connection is very slow

2014-06-10 Thread Uwe Ligges
of delay I see in R. Also, just getting the prompt to choose a mirror takes a minute - could that be a network drive issue too? Hard to say without access to the machine. Sounds more like timeouts or so . Best, Uwe Ligges many thanks Aidan. On Tue, Jun 10, 2014 at 2:58 PM, Uwe Ligges

Re: [R] Help with R package

2014-06-08 Thread Uwe Ligges
(yourPackage) will also automatically install the dependencies from BioC. Best, Uwe Ligges Thank you in advance, Milan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] dev-lang/R-3.1.0: biocLite(vsn) removes all files in /

2014-05-18 Thread Uwe Ligges
As alternative, just use R itself for it: chooseBioCmirror() setRepositories() # select BioC repositories here install.packages(vsn) Which should so the trick without any additional tools not shiped with R directly. Best, Uwe Ligges On 18.05.2014 07:38, Jeff Newmiller wrote: Then you

Re: [R] find an empty char in the name of a vector

2014-05-15 Thread Uwe Ligges
)) How about if the name of one element is g_ and the name of other elements g_anyword where any word contain alphanumeric characters and I want to find the one whose name contain only g_? grep(g_$, names(v)) Uwe Ligges Cheers, Carol [[alternative HTML version deleted

Re: [R] How to change the order of the plot?

2014-05-11 Thread Uwe Ligges
. See ?factor Best, Uwe Ligges Many thanks! My best -- QQ: 1733768559 [[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] What do the colours of the scatterplot3d actually show?

2014-04-20 Thread Uwe Ligges
/file/n4689148/Rplot.png any help would be fantastic, I'm very very new to R All points in bright red appear to be within [0,5] on the elong labelled axis. If you find a point that is not, please tell me which one and send me the data and the code so that I could check what happens. Best, Uwe

Re: [R] Read.table mucks up headers

2014-04-19 Thread Uwe Ligges
,fileEncoding=UTF-8-BOM) Which R version? Are you sure this is UTF-8-BOM and not UCS-2LE or UTF-16LE? Best, Uwe Ligges dput(corr) structure(list(ï...Weight. = c(13.74, 12.97, 10.78, 10.53, 10.16, 9.38, 9.23, 9.2, 17.24, 18, 15.12, 16.08, 13.71, 13.81, 12.61, 14.03), Piece = c(1L, 1L, 1L, 1L, 1L

Re: [R] Problems installing packages

2014-04-16 Thread Uwe Ligges
. Can you help ? Not without the output and the error messages Best, Uwe Ligges Thank for the answer. Sincerly Anton Francois [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Fw: Save multiple plots as pdf or jpeg

2014-04-16 Thread Uwe Ligges
not biased? Just ensure that you various plots do not contain too many elements to be plotted. If you really need many of these, a bitmap graphics may be exceptionally a better idea. Best, Uwe Ligges From: Uwe Ligges lig...@statistik.tu-dortmund.de To: Pavneet Arora/UK/RoyalSun

Re: [R] Error message in R

2014-04-15 Thread Uwe Ligges
a solution once I Google for it Best, Uwe Ligges Thank you very much Sincerely yours Mark Link Applikationsmanagement Hauck Aufhäuser Privatbankiers KGaA Kaiserstraße 24 60311 Frankfurt am Main Telefon +49 69 2161-1581 Fax +49 69 2161-1730 mark.l...@hauck-aufhaeuser.de www.hauck

Re: [R] Some questions :How to use Friedman'Test in R

2014-04-15 Thread Uwe Ligges
¡± I don't know what's the meaning of the problem,and I am not sure where the problem Can anybody give me a suggestion? Specify the groups? Best, Uwe Ligges Thanks in advance Rocia [[alternative HTML version deleted

Re: [R] Fw: Save multiple plots as pdf or jpeg

2014-04-15 Thread Uwe Ligges
You have 1e6 observations and your lines() have these many segments, try to plot the sensity only with few hndreds of segemnts. Best, Uwe Ligges On 15.04.2014 12:27, Pavneet Arora wrote: Hello All, I have multiple plots that I want to save it a single file. At the moment, I am saving

Re: [R] error when installing package after installing R-3.1.0 on windows

2014-04-15 Thread Uwe Ligges
to install into that libvrary, you need administrator permissions, i.e. start R via right click and Start as Administrator. Otehrwise install into a personal library. Best, Uwe Ligges I checked the folder permission and it doesn't have read-only set. Did anybody experienced the same or have

Re: [R] gRain on R 3.1.0

2014-04-14 Thread Uwe Ligges
there... Best, Uwe Ligges A [[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

Re: [R] R 3.0.3, Windows 7: Problem installing XML package

2014-04-13 Thread Uwe Ligges
local IT support tells you while your downloads are incomplete. Best, Uwe Ligges On Sat, Apr 12, 2014 at 7:22 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 12.04.2014 22:39, Alpesh Pandya wrote: Thank you for response Uwe. I tried multiple times by downloading the zip file

Re: [R] R 3.0.3, Windows 7: Problem installing XML package

2014-04-12 Thread Uwe Ligges
package ‘XML’ successfully unpacked and MD5 sums checked The downloaded binary packages are in d:\temp\RtmpqMqL8L\downloaded_packages Best, Uwe Ligges On Fri, Apr 11, 2014 at 6:53 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Works for me. Best, Uwe Ligges

Re: [R] R 3.0.3, Windows 7: Problem installing XML package

2014-04-11 Thread Uwe Ligges
Works for me. Best, Uwe Ligges On 11.04.2014 17:10, Alpesh Pandya wrote: Using install.package('XML') command produces this error: trying URL ' http://watson.nci.nih.gov/cran_mirror/bin/windows/contrib/3.0/XML_3.98-1.1.zip ' Content type 'application/zip' length 4288136 bytes (4.1 Mb

Re: [R] Version R-3.1.0 for Windows

2014-04-10 Thread Uwe Ligges
On 11.04.2014 00:36, Erin Hodgess wrote: Hello! I like to build from source on Windows (64 bit). Will the Rtools be updated along with the new tar.gz file, please? The Rtools page tells us: Rtools31.exeR 3.0.x to 3.1.x So this is the right one... Best, Uwe Ligges Thanks, Erin

Re: [R] R2WinBUGS expected collection operator c error

2014-04-02 Thread Uwe Ligges
This is probably a BUGS rather than an R problem, hence better for a BUGS mailing list. But if we should help, then we need at least the modelfile. Best, Uwe Ligges On 02.04.2014 19:10, zumacrume wrote: Hi all, I am currently in a Bayesian Modeling course and am trying to implement

Re: [R] R CMD bulid Syntax

2014-03-29 Thread Uwe Ligges
going wrong. I think I am supposed to type this R at the . I'm also not entirely sure where the directory is supposed to be. You are supposed to call R that way from the shell of your OS, not from within R. Best, Uwe Ligges Thanks, Dustin [[alternative HTML version deleted

Re: [R] as.Date converts to NA

2014-03-09 Thread Uwe Ligges
On 09.03.2014 11:34, Hermann Norpois wrote: Hello, I have some problems with as.Date. strDates - c (01/05/1965, 08/16/1975) dates - as.Date (strDates, %m/%d%/%Y) ^ Remove the % after the d. Best, Uwe Ligges dates [1] NA NA # I expected my dates. What

Re: [R] What does the bandwidth at the bottom of periodogram mean

2014-03-07 Thread Uwe Ligges
See ?spec.pgram and look for bandwidth. Best, Uwe Ligges On 07.03.2014 15:53, Baro wrote: Hi experts if I run the code: k-c(1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10) x.spec-spectrum(k,log=c(no)) at the bottom of dagram I have a bandwidth, what does it mean? [[alternative HTML

Re: [R] Is it possible to include shiny code in a package?

2014-03-02 Thread Uwe Ligges
this css file. Is it possible ? When I call the build command, how to say to include this folder? Or are there other way to do? Put it in the ./inst/shiny folder which is copied to ./shiny in the installed package. See Writing R Extensions. Best, Uwe Ligges Thanks a lot Marc

Re: [R] listserv subscription

2014-02-20 Thread Uwe Ligges
, minimal, self-contained, reproducible code. See the footer of your message. 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] Actual code for LDA

2014-02-13 Thread Uwe Ligges
be read anyway. If you are interested, please ask Swetlana (CCed) for a PDF version. Best, Uwe Ligges I've looked at the source code, and I find it very hard to follow. If anyone has any ideas that would be great!! Thanks, Ben -- View this message in context: http://r.789695.n4.nabble.com

Re: [R] p value of trends for odds ratios (or hazard ratios)

2014-01-04 Thread Uwe Ligges
know Stata well enough to know what tabodds does. Best, Uwe Ligges Thanks *Yao Zhu* *Department of UrologyFudan University Shanghai Cancer CenterShanghai, China* [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Problem with http://www.r-project.org/mail.html#instructions

2013-12-31 Thread Uwe Ligges
Thanks for the report, if this is not a temporary problem, we will provide an alternative link. Some search engine suggests that it is mirrored here: http://linuxgazette.net/no-mime Best, Uwe Ligges On 31.12.2013 16:11, David Parkhurst wrote: This web page includes this information about

Re: [R] How to ask a function to continuously print intermediate results

2013-12-31 Thread Uwe Ligges
, search for buffered output in its help system. And see ?flush.console Best, 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

Re: [R] Matchit

2013-12-28 Thread Uwe Ligges
after match?There is no missing data. Thank you in advance for your help and patience. Please provide the code and a toy example so that we know what you actually did. Otherwise it is hard to help. Best, Uwe Ligges Thyago [[alternative HTML

Re: [R] need help with distribution graphics

2013-12-28 Thread Uwe Ligges
provide a link to some web resource. Best, Uwe Ligges Thanks a lot! [[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

Re: [R] Error in loading package

2013-12-28 Thread Uwe Ligges
())) : there is no package called 'ReadImages' Error: package/namespace load failed for 'qgraph' Please suggest a way to resolve this issue. Try to install ReadImages? Best, Uwe Ligges Thanks in advance. __ R-help@r-project.org mailing list https

Re: [R] Problem of scope

2013-12-27 Thread Uwe Ligges
cc - sin(x) cat(sprintf('funb: aa=%s, bb=%s, cc=%s\n',aa,bb,cc)) } funb(x) cat(sprintf('funa: aa=%s, bb=%s, cc=%s\n',aa,bb,cc)) } funa(5) Best, Uwe Ligges Thanks # CODE STARTS HERE funa - function(x){ # here is some code that defines the variables aa, bb, cc aa - 11

Re: [R] Problems installing some packages using Ubuntu 12.04

2013-12-26 Thread Uwe Ligges
and via R-studio. I have install it into my Mac recently and it works. What's wrong with it? And what is the error message? Best, Uwe Ligges Ville Hallikainen, The Finnish Forest Research Institute [[alternative HTML version deleted]] __ R

Re: [R] Invalid connection error message when trying to write a file

2013-12-16 Thread Uwe Ligges
I guess your problem is that you cannot write toplevel into c:\ with your permissions? Best, Uwe Ligges On 16.12.2013 16:40, John Karon wrote: Thanks for pointing out my error after specifying the destination in the file( ) function. What you proposed also did not work. It turns out

Re: [R] Invalid connection error message when trying to write a file

2013-12-15 Thread Uwe Ligges
) write.table(LRtest.out, file=c:\\LRtest.txt, sep=\t) close(zz) Wrong, *either* use write.table(LRtest.out, file=c:\\LRtest.txt, sep=\t) or zz - file(description=c:\\LRtest.txt,w) write.table(LRtest.out, file=zz, sep=\t) close(zz) Best, Uwe Ligges Error in file(description = c:\\LRtest.txt

Re: [R] how to read file into terminal?

2013-12-14 Thread Uwe Ligges
See ?source Uwe Ligges On 14.12.2013 12:22, 水静流深 wrote: there is a file which contain such lines: test -function(x,f){ n- length(x); sum(f*(x[1:(n-1)]+x[2:n])/2)/sum(f) - result; return(result); } i can read it into terminal , cat test.R how can i do it in R? readLines(c

Re: [R] colClasses does not cause read.table to coerce to numeric; anymore?

2013-12-14 Thread Uwe Ligges
David, how should R interpret 110+? It cannot be numeric, perhaps you have not recognized the + there? Uwe On 14.12.2013 01:35, David Winsemius wrote: I thought that setting colClasses to numeric would coerce errant data to NA. Instead read.table is throwing errors. This is not what I

Re: [R] Invalid connection error message when trying to write a file

2013-12-14 Thread Uwe Ligges
file but yields the same error message when I execute write.csv. Please tell us what you actually did. This works for me: zz - file(description=path, w) write.csv(iris, zz) close(zz) Best, Uwe Ligges __ R-help@r-project.org mailing list https

Re: [R] colClasses does not cause read.table to coerce to numeric; anymore?

2013-12-14 Thread Uwe Ligges
On 14.12.2013 17:50, David Winsemius wrote: On Dec 14, 2013, at 7:53 AM, Uwe Ligges wrote: David, how should R interpret 110+? It cannot be numeric, perhaps you have not recognized the + there? I specifically included the fragment ofthe much longer file that was throwing the error

Re: [R] Change factor levels

2013-12-14 Thread Uwe Ligges
) or d$fac - d$fac[,drop=TRUE] Best, Uwe Ligges How can I cut the umbilical cord so that factor 'fac' in 'd' would have an accurate birth certificate with the correct number of levels? Apparently the following does not work: levels(d$fac) - c('A', 'B') Also any reason for this heritage? Thanks

Re: [R] Problems updating packages

2013-12-08 Thread Uwe Ligges
'C:/Program Files/R/R-3.0.2/library' will not be updated Warning: package 'nlme' in library 'C:/Program Files/R/R-3.0.2/library' will not be updated Why would this be the case ? You do not have permissions to update packages in that library. Best, Uwe Ligges Thanks in advance

Re: [R] Problems updating packages

2013-12-08 Thread Uwe Ligges
Ligges Sent from my iPhone On 8 Dec 2013, at 01:07 pm, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 08.12.2013 16:37, Tolga Uzuner wrote: Dear R Users Ive just uninstalled R and reinstalled from scratch. I then hit Update Packages and get the following message: update.packages(ask

Re: [R] R 2.14.2 - Installation problem - could not load lattice

2013-11-16 Thread Uwe Ligges
both 32 and 64. Could it be the case? Probably not, but version R-2.14.2 is ancient and hence unsupported. If SPSS requires it, please contact your SPSS support for help. Best, Uwe Ligges Any help would be very much appreciated Yael [[alternative HTML version deleted

Re: [R] there is no package called 'boot'

2013-11-16 Thread Uwe Ligges
' in my /R and /man within /cwhmisc nor any file of that name. How could I possibly find the culprit? I do not know your current version of the package, but probably you forgot to declare it as a dependency level (e.g. Suggests) in the DESCRIPTION file? Best, Uwe Ligges TIA C

Re: [R] Printing from windows device; was: (sin asunto)

2013-11-14 Thread Uwe Ligges
) dev.off() but now it is not possible. Can you help me? No, since I do not know what plotFunctiond() does. Please use a sensible subject line. Best, Uwe Ligges __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Apply a function with multiple argument on each column of matrix

2013-11-11 Thread Uwe Ligges
]) . But i want to apply the function on each column of matrix y . apply(y, 2, function(i) fun(x, i)) Uwe Ligges Any suggestion will be appreciated . Thanks . Best regards ... Tanvir Ahamed Göteborg, Sweden [[alternative HTML version deleted

Re: [R] CRAN mirror for R in India: new one at WBUT, how do we get listed in the CRAN website?

2013-11-06 Thread Uwe Ligges
See http://cran.r-project.org/mirror-howto.html Best, Uwe Ligges On 06.11.2013 13:34, Abhinav Kashyap wrote: [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] How can I use muliple cores of CPU in Windows or OS X?

2013-11-05 Thread Uwe Ligges
. Best, Uwe Ligges Am 06.11.2013 um 00:01 schrieb Agony agony_...@yahoo.com: Dear all, I have about 50 pages of R codes and ran it in both OS X and Windows. It takes at least haft a day to have the results. The running time is not very different in both Systems. I found that R does not use

Re: [R] Load Tawny package on R 2.15.3

2013-11-01 Thread Uwe Ligges
Install a recent version of tawny that does not depend on the other package? Best, Uwe Ligges On 01.11.2013 12:10, Tstudent wrote: I have R version 2.15.3 When i try to load it: library (tawny) i receive this response: package ‘parser’ could not be loaded The package Parser

Re: [R] lmerTest

2013-10-13 Thread Uwe Ligges
On 13.10.2013 02:52, srecko joksimovic wrote: ok, ok... thanks. I'll try with R-sig-ME Or for short, you are trying to estimate more coefficients than you have degrees of freedom which is what rank of X = 1660 ncol(X) = 1895 tries to tell us. Best, Uwe Ligges On Sat, Oct 12, 2013

Re: [R] Help with expression()

2013-10-11 Thread Uwe Ligges
* to * maxi * : * diff * degree * C, list(mini=mini, maxi=maxi,diff=diff))) 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] makeCluster help needed

2013-10-10 Thread Uwe Ligges
package. Great new. Thanks for the suggestion to use parallel. I noticed that the package is brand new! Or, at least the pdf help was written 9/25/13. Not that new, just updated. Best, Uwe Jeff On Sat, Sep 28, 2013 at 10:15 AM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote

Re: [R] What is the difference between Reduce(…) and do.call(…) ?

2013-10-08 Thread Uwe Ligges
Reduce will rbind 2 elements and then the result with the next element of the list --- while do.call just applies rbind once on all elements of the list at the same time. Uwe Ligges On 08.10.2013 11:22, Asis Hallab wrote: Dear R-Experts, using both do.call(…) and Reduce(…), I wonder

Re: [R] Plot with date

2013-10-08 Thread Uwe Ligges
See ?axis.Date Uwe Ligges On 08.10.2013 18:34, Barbara Rogo wrote: I have to built a graphic with a time series of returns, but it have not a frequency (for example monthly in one year). On the x of the graphic I need to see only the year and not all the date (for example, 1996-01-02 , 1996

Re: [R] trouble with nlme: Error in MEEM() : Singularity in backsolve at level 0, block 1

2013-10-06 Thread Uwe Ligges
model. Please talk to your supervisor, this i not a problem with R but about understanding the model. Best, Uwe Ligges I am not sure how to work around this. any suggestions would be welcome. [[alternative HTML version deleted]] __ R-help

Re: [R] trying to compile R in win 7 (with Rtools) ... (bitmapdll - png.h )

2013-10-06 Thread Uwe Ligges
-DHAVE_JPEG -DHAVE_TIFF -I. -I../../extra/zlib -I./C:/Rsrc/R-patched/src/gnuwin32/bitmap/libpng Not sure what you actually configured elsewhere, but -I./C:/R. is incorrect, it should be -I C:/R.. Best, Uwe Ligges -IC:/Rsrc/R-patched/src/gnuwin32/bitmap/jpeg-9 -I./C:/Rsrc/R-patched/src/gnuwin32

Re: [R] makeCluster help needed

2013-09-28 Thread Uwe Ligges
Can you please upgrade R to R-3.0.2 and use the parallel package? And can you please explain why you want to start the workers manually? I'd be happy to look into the details if you can reproduce the problem with a recent version of R and the parallel package. Best, Uwe Ligges

Re: [R] Rmpfr question; was: no answer to the following question

2013-09-24 Thread Uwe Ligges
) There is not scale function implemented in Rmpfr. HEnce you need to write it yourself based on the provided infrastructure from the Rmpfr package. Best, Uwe Ligges Sorry but I'm a newbe Thanks in advance Michel But no body ... may

Re: [R] Date Comparing *Problem*

2013-09-24 Thread Uwe Ligges
we do not know ehat data$date is. Best, Uwe Ligges Hope you can help me. here are my files: http://uploaded.net/file/n9sxdm0v http://uploaded.net/file/n9sxdm0v -- View this message in context: http://r.789695.n4.nabble.com/Date-Comparing-Problem-tp4676739.html Sent from the R help

Re: [R] Re : Re: Re : Privacy rights of an old user of this list

2013-09-22 Thread Uwe Ligges
d'origine - De : Uwe Ligges Envoyés : 21.09.13 10:26 À : Adan Leobardo Martinez Cruz Objet : Re: [R] Re : Privacy rights of an old user of this list The locations where the mailing list are archived are not even controlled by any member of R-core or the R foundation. Everybody, including John

Re: [R] CRAN mirror for R in India: new one at WBUT, how do we get listed in the CRAN website?

2013-09-21 Thread Uwe Ligges
See http://cran.r-project.org/mirror-howto.html Uwe Ligges On 19.09.2013 14:04, abhinav kashyap wrote: [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] cov and huge matrix

2013-09-21 Thread Uwe Ligges
one could combine combn with cov - so it is rather doing it hand by hand (within a function). OK, but you need hundreds of gigabytes just to store the results. I wonder how you could make use of it in the end. Uwe Ligges __ R-help@r-project.org

Re: [R] Re : Privacy rights of an old user of this list

2013-09-21 Thread Uwe Ligges
The locations where the mailing list are archived are not even controlled by any member of R-core or the R foundation. Everybody, including John, could collect mails from the list and publish them. This is a well known property of a public mailing list. Uwe Ligges On 17.09.2013 13:29, Adan

Re: [R] New Version of R 3.0.1 problems with installing Rcmdr

2013-09-05 Thread Uwe Ligges
as the operating system. 1. You must not load a package such as Rcmdr prior to reinstalltion / update. 2. If this is installed on a network shared directory, all other members of your group have to unload the package. Uwe Ligges -- View this message in context: http://r.789695.n4

Re: [R] Running pre R.14 version of R with R3.0.0

2013-08-30 Thread Uwe Ligges
is from reading new files with an old R. Uwe Ligges Thanks [[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

Re: [R] Changing string to date

2013-08-30 Thread Uwe Ligges
this without any success: as.Date(MAY-14, format = %b-%y) [1] NA You must have set an English locale (to recognize the word May as a month) and you have to add a day. Best, Uwe Ligges Can somebody help me how I can achieve that? Thanks and regards

Re: [R] (no subject)

2013-08-30 Thread Uwe Ligges
not understand musch of R software and I just need to run it in SPSS menus Hope forward to hearning from you soon Please ask your SPSS support. The R project does not offer anything called R essentials. Best, Uwe Ligges Best regards Joana Joana Costa, MSc, Ph.D.Postdoctoral Researcher

Re: [R] Questions before installation

2013-08-27 Thread Uwe Ligges
and Windows 7 enterprise as the primary OS installed in our machines. We do not know your image nor do we provide support. Best, Uwe Ligges Please let us know if you need any information from our side. Thanks, Shalabh Tyagi KPMG (in India) allows reasonable personal use of the e-mail

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Uwe Ligges
not contain any additional quirks like the mode=w Anyway, the installer works for me downloaded with the method I indicated before. Best, Uwe Ligges On 22.08.2013 07:23, Tal Galili wrote: Dear Uwe, My apologies - my original code had mode=wb, which also *does not* work and produce the errors

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Uwe Ligges
the installer, it is just a message that the content type cannot be read appropriately. Best, Uwe Ligges 1) I am very sorry about the chipped previous massage (it is a side effect of some form of reply in gmail, which I have not noticed before). 2) I'm sorry about using the wrong function

Re: [R] multiple core

2013-08-21 Thread Uwe Ligges
to write code that can be executed in parallel. The parallel package helps, see its documentation. Best, Uwe Ligges Thanks! Andrea __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

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