search for: lachmann

Displaying 20 results from an estimated 22 matches for "lachmann".

Did you mean: bachmann
2004 Oct 02
3
conditional assignments and calculations
Hello! I am using the TeXmacs interface to R. (Though I encountered a similar problem when using Sweave) In doing calculations I often ecounter this scenario: I'll have some calculations in my file: -- A=read.lots.of.data() B=huge.calculation.on(A) C=another.calculation.on(B) -- Now, if A has already been read, I don't need to re-read it. If B has already been calculated, I don't
2011 Aug 03
1
one way to solve bad looking density plots in postscript
...of the image would look even better if the axes were drawn AFTER the density rectangles, not before. That would cause the rectangles not to overwrite part of the lines of the axes. But that is probably a change in the image() routine, not in the postscript driver.... Thanks for listening, Michael Lachmann
2006 Nov 02
1
R and texmacs
hi all! i'm using texmacs 1.0.6 together with R. My problem is that i can't display figure at all.. it display them in a graphical window, not in texmacs document..... thanks for any help, nelson
2010 Jul 26
2
the real dimnames
Hi, R seems to have a feature that isn't used much, which I don't really now how to call. But, the dimnames function, can in addition to giving names to rows/columns/dim 3 rows/dim 4 rows... can also give labels to the dimensions themselves. Thus, I can do: A = matrix(1:9,3,3) dimnames(A) = list(from=c(), to=c() ) and now, printing a prints these dimension labels nicely: > A
2010 Jul 29
1
Using 'dimname names' in aperm() and apply()
...(dn.ans)) dn.ans <- vector(mode = "list", length(d.ans)) dn.ans <- c(list(ans.names), dn.ans) return(array(ans, c(len.a%/%d2, d.ans), if (!all(sapply(dn.ans, is.null))) dn.ans)) } return(ans) } ---------- Thanks, Michael -- Michael Lachmann, Max Planck institute of evolutionary anthropology Deutscher Platz. 6, 04103 Leipzig, Germany Tel: +49-341-3550521, Fax: +49-341-3550555
2011 Aug 04
1
slightly speeding up readChar()
...g and ignore silently */ ans = mkCharLenCE(buf, len, CE_NATIVE); // changed (one could also use no. read bytes as size) vmaxset(vmax); return ans; } -- The other changes are also not that hard - I'd do them if people think such changes should be included.... Thanks for listening, Michael Lachmann
2010 Aug 02
7
Linux Editor
Hi Everyone, I recently have started using R again on a Linux box after spending several years on a Mac. Last I checked, the best way to use R was through EMACS using something like ESS. I remember that being serviceable but not always the most convenient. Is there anything comparable to the mac version of R with its built in console, editor, etc?? thanks! -- View this message in context:
2009 May 11
2
Fwd: rsync on OSX for transferring files using FAT32
...s_control_lists Finally, consider whether the ACL data is important. If it is not important then, you could experiment with not preserving the ACL information by removing the appropriate flags. Also, I agree with the post from Veronica. Hope this helps. On 11/05/2009, at 1:54 AM, Michael Lachmann wrote: > I am trying to transfer files between two OSX machines using a FAT32 > formatted flash drive. I am transferring a "big" directory (7G). > Basically I want to sync everyday my home and work computers for some > directories. > > I tried many possible rsyncs (orig...
2010 Aug 04
1
printing html help to the terminal
I'm trying to get help to print the help pages in html format to the terminal. This is in order to be able to see the html help files remotely. If I do printURL = function(file) {a=readLines(url(file));cat(a,sep="\n")} options(browser=printURL) options(help_type="html") then invoking help with ?print gets stuck. I think what happens is that the web server run by R that
2003 Feb 21
0
ks.test gets stuck (PR#2571)
Full_Name: Michael Lachmann Version: 1.6.1 OS: linux Submission from: (NULL) (194.95.185.57) ks.test enters an endless loop with repeated data. (The test is not designed for such data, but it shouldn't get stuck...) example: ks.test(rep(1,3),rep(1,1)) never stops.
2010 Aug 05
1
problem with dl tag in tools::Rd2HTML
I think tools::Rd2HTML has a problem with the dl tag. Under some conditions, <p> and </p>, and <dl> and </dl> are not nested correctly. Here is an example from the "options" doc file: -- <p> <dl> <dt><code>save.defaults</code>, <code>save.image.defaults</code>:</dt><dd> see
2010 Jun 30
1
problem with rbind on data.frames that contain data.frames
It took me some time to find this bug in my code. Is this a feature of R? Am I doing something wrong? > a=data.frame(x=1:10,y=1:10) > b=data.frame(x=11:20,y=11:20) > z=data.frame(1:10,11:20) > a$z=z > b$z=z > rbind(a,b) Error in `row.names<-.data.frame`(`*tmp*`, value = c("1", "2", "3", "4", : duplicate
2009 May 10
1
rsync on OSX for transferring files using FAT32
I am trying to transfer files between two OSX machines using a FAT32 formatted flash drive. I am transferring a "big" directory (7G). Basically I want to sync everyday my home and work computers for some directories. I tried many possible rsyncs (original supplied, fink 3.0.5/3.0.4 macports 3.0.5, rsync-2.6.3+hfsmode-1.2b2, 3.0.6+fileflags+crtimes) What I would really like to happen
2002 May 22
1
bug report: errors in file transfer
Hi! I just encountered a serious problem with rsync. I used rsync to copy a big directory between two computers. The source machine was a sun, the destination was a linux box. The destination directory did not exist before the copy started. I used the following command to copy the directory over: rsync -aSz source_machine:projects/ projects2 because I was somewhat paranoid, I checked if all
2003 Feb 23
0
unsubscribe
...10. RE: Re: [R] Who to decide what a generic function should look like? (Henrik Bengtsson) --__--__-- Message: 1 Date: Fri, 21 Feb 2003 14:51:39 +0100 (MET) From: dirk@santafe.edu To: r-devel@stat.math.ethz.ch CC: R-bugs@biostat.ku.dk Subject: [Rd] ks.test gets stuck (PR#2571) Full_Name: Michael Lachmann Version: 1.6.1 OS: linux Submission from: (NULL) (194.95.185.57) ks.test enters an endless loop with repeated data. (The test is not designed for such data, but it shouldn't get stuck...) example: ks.test(rep(1,3),rep(1,1)) never stops. --__--__-- Message: 2 From: Duncan Murdoch <murdoc...
2010 Oct 15
0
R 2.12.0 is released
...the package or one of its dependencies fails. ? aperm() now allows argument perm to be a character vector when the array has named dimnames (as the results of table() calls do). Similarly, array() allows MARGIN to be a character vector. (Based on suggestions of Michael Lachmann.) ? Package utils now exports and documents functions aspell_package_Rd_files() and aspell_package_vignettes() for spell checking package Rd files and vignettes using Aspell, Ispell or Hunspell. ? Package news can now be given in Rd format, and news() prefers these...
2010 Oct 15
0
R 2.12.0 is released
...the package or one of its dependencies fails. ? aperm() now allows argument perm to be a character vector when the array has named dimnames (as the results of table() calls do). Similarly, array() allows MARGIN to be a character vector. (Based on suggestions of Michael Lachmann.) ? Package utils now exports and documents functions aspell_package_Rd_files() and aspell_package_vignettes() for spell checking package Rd files and vignettes using Aspell, Ispell or Hunspell. ? Package news can now be given in Rd format, and news() prefers these...
2009 Aug 07
0
how to limit output to console beyond options(max.print) ?
I have code that generates a structure that includes in it 30 data frames of size 57*1004. It isn't so important why I needed shape of data frame, maybe I didn't.... I have options(max.print) set to a low number but it seems that this does not have much effect - printing my structure still takes hours, as does str()-ing it. here is short code that exhibits and doesn't exhibit the
2010 Sep 07
1
Is an R sub-session somehow possible?
I wrote the interface between R and TeXmacs. Recently, I added tab completion. However, there is one slight problem. In order to enable easy interaction with R, I (I.e. my program) interact with the command-line interface. This means that the user can invoke demo(), and then R will interact with the user and ask to press enter. It also means that the user can enter a<-c(3,4 and then R will
2010 Sep 07
1
what is the best way for an external interface to interact with graphics, libraries
Another message about the R to TeXmacs interface. 1. Graphics The TeXmacs interface allows the user to directly insert graphics into the session. Since I am not very familiar with programming for R, I implemented the interaction with graphics in a very primitive way. It was two modes of working: with X11, and without (for example when working remotely through ssh without forwarding X11). In