search for: gregor

Displaying 20 results from an estimated 519 matches for "gregor".

Did you mean: gregory
2006 Mar 22
0
[Fwd: Re: levels for list and data.frame]
I unintentionally missed to cc to r-devel. -------- Original Message -------- Subject: Re: [Rd] levels for list and data.frame Date: Tue, 21 Mar 2006 20:50:21 +0100 From: Gregor Gorjanc <gregor.gorjanc at gmail.com> Reply-To: gregor.gorjanc at gmail.com To: Martin Maechler <maechler at stat.math.ethz.ch> References: <441F2C49.8080703 at gmail.com> <17439.50351.172900.987055 at stat.math.ethz.ch> Martin Maechler wrote: > Hi Gregor, > > bef...
2002 Oct 05
2
Question on "base directory"
Hi, I've read the manpage, but I got a simple question on the expression "base directory" used in the "exclude patterns"-section. When I synchronize ie: rsync -avzu /home/gregor/ notebook:/home/gregor/ and want to use an exclude-pattern: --exclude "/foo", what is the base directory? The manpage's explanation is following: --exclude "/foo" would exclude a file in the base directory called foo Is the so called "base directory": 1) "...
2006 Mar 20
2
levels for list and data.frame
...mp <- tmp[!tmp1] + } + return(tmp) +} + +levels.data.frame <- function(x, ...) +{ + return(levels.list(x, ...)) +} + nlevels <- function(x) length(levels(x)) "levels<-" <- function(x, value) UseMethod("levels<-") -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domz...
2005 Mar 25
4
Gmail invitation
Hello R users! I just found out that I have 49 invitations for Gmail (gmail.google.com). I have been using it now for a while and is really nice. Don't forget 1 GB for free. I will invite those who respond to this mail by FIFO. -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 8...
2005 Feb 07
2
Programming/scripting with "expressions - variables"
...urse a silly one but shows what I don't know how to do in R. %macro test(data, colname, colvalue); data &data; ... &colname="&colvalue"; other_&colname="other_&colvalue"; run; %mend; And if I run it with this call: %test(Gregor, Gorjanc, 25); I get a table with name 'Gregor' and columns 'Gorjanc', and 'other_Gorjanc' with values: Gorjanc other_Gorjanc "25" "other_25" So can one show me the way to do the same thing in R? Thanks! -- Lep pozdrav / With regards, Gregor...
2003 Feb 18
2
Include files though directory excluded
Hi, I got a little question on the rsync-option include/exclude: I excluded all hidden files in my home-directory but I want two files to be included. I used following command: gregor@notebook:~> rsync -avzuPn -e ssh --exclude=.* --exclude=* --include=.kderc --include=.gaimrc /home/gregor/ 192.168.0.1:/home/gregor/ building file list ... 1 file to consider wrote 69 bytes read 20 bytes 178.00 bytes/sec total size is 0 speedup is 0.00 gregor@notebook:~> Why this transfe...
2006 Jul 02
4
Test for argument in ...
...if arg1 was given in foo1. Is it possible to test whether some argument was passed in "..." i.e. something like foo1 <- function(x, ...) { if(testForArgumentInThreeDots(arg1)) arg1 <- "some value" foo2(x, arg1=arg1, ...) } Thanks! -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domz...
2007 May 19
4
GPG key for Ubuntu packages
Hi! Is anyone experiencing the following: $ gpg --keyserver subkeys.pgp.net --recv-key E2A11821 gpg: requesting key E2A11821 from hkp server subkeys.pgp.net gpg: keyserver timed out gpg: keyserver receive failed: keyserver error Regards, Gregor
2005 Feb 22
6
Run Sweave and LaTeX directly from command line
...llo! Those of you, who use Sweave a lot, will probably find my shell script usable. You can get it at: http://www.bfro.uni-lj.si/MR/ggorjan/programs/shell/Sweave.sh No warranty, however don't hesitate to contact me if you find an error or have a patch! -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2005 Apr 24
1
R CMD check doesn't stop with checking examples
...ne if I compile it as a shared library and load it into R via dyn.load(). However, when I launch R CMD check it doesn't stop with checking examples. It's just doing and doing ... I pasted the whole output from R CMD check. Does anyone have any suggestions? I'm still using R 2.0.1. C:\Gregor\devel\GeneticsPed>Rcmd check GeneticsPed * checking for working latex ... OK * using log directory 'C:/Gregor/devel/GeneticsPed/GeneticsPed.Rcheck' * checking for file 'GeneticsPed/DESCRIPTION' ... OK * checking if this is a source package ... OK installing R.css in C:/Gregor/de...
2002 Aug 27
4
Strange MS-Access Problems with Samba 2.2.1a
...nk the problem is Samba cause in the database file you can find some log entries from samba. I got some tips from a german ng but I think it is better to publish it here cause might be a bug in samba 2.2.1a. I use samba 2.2.1a on Suse 7.3 and MS Office 2000 with service pack 2 on WIN98 SE greetings Gregor Parts of the destroyed database file: --snip-- @^A^@^G^D^@^D^@^@^@^@^@^F^@??^L^@ ^@^A^@^G^D^@^C^@^@^@^@^@^F^@??^L^@ ^@^A^@^G^D^@^B^@^@^@^@^@^F^@??^L^@ ^@^A^@^G[2002/08/15 10:18:43, 2] smbd/open.c:open_file(216) GREGOR opened file Access-Datenbank/db1.mdb read=Yes write=No (numopen=2) [2002/08/15...
2004 Dec 31
4
R-intro
...t;) suggestion mm <- data(morley) rm(fm, fm0) suggestion rm(fm, fm0, mm) objects(); rm(x, y, f, fa) suggestion objects(); rm(x, y, f, fa, oldpar) It might also be usefull to use # for comments, since it is easier to copy&paste to R terminal from manual. -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2007 Sep 19
5
How to test if R is running on a Mac
Hi! Is there any way to test if R is running on a Mac? I usually use value of .Platform$OS.type for windows or unix, but Mac falls in the latter group. Thanks, Gregor
2005 Feb 23
4
Sweave and \input or \include LaTeX commands
...ommands. So, is it aware of such a possible hierarchy in documents. I would test that, but I don't have such a report available at the moment. I thought of that when I was writting shell script for Sweave from command line and I have solved that part there. -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2005 Jan 05
5
Converting integers to chars i.e 1 to "01"
...imple function (see below), but I do not know how this limit stuff can be imporved to work really well with default. Any suggestions? int2char <- function(x, limit = max(x)) { # Description: # Converts integer to character such that numbers bellow limit get 0 in # front # Gregor GORJANC, 2005-01-05 # Arguments: # x: vector of numbers # limit: limit up to which numbers should get 0 in front, default # max(x) # Examples: # a <- seq(0, 20, 1) # int2char(a) # this does not work OK # int2char(a, limit = 10) # this does work OK...
2008 Sep 26
2
ANOVA between & within variance
hi, is there an option to calculate the 'within' & 'between' group variances for a simple ANOVA (aov) model (2 groups, 1 trait, normally distr.) ? or do I have to calculate them from the Sum Sq ? thanks for your time and greetings, gregor -- Gregor Rolshausen PhD Student; University of Freiburg, Germany e-mail: gregor.rolshausen at biologie.uni-freiburg.de tel. : ++49 761 2032559
2005 May 08
2
Extract just some fields from XML
...could get anything usable from it. Here is something not very usable ;) PubDate <- function(x, ...) { print(x) } xmlEventParse(URL, isURL = TRUE, handlers=list(PubDate=PubDate), addContext = FALSE) Thanks in advance! Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 8...
2004 Nov 12
4
How to get mode (the most frequent value in distribution)?
...d other basic thing but not mode function. Can anyone help? I know there my might be problems with multiple modes, but still I think that there should be a mode function in R. Please send mail to R-help list and me, so I can get response faster. Thank you! -- Lep pozdrav / With regards, Gregor GORJANC --------------------------------------------------------------- University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale...
2006 Feb 10
8
Fitdistr and MLE for parameter lambda of Poisson distribution
...n(x) sds <- sqrt(estimate/n) Is this MLE? With my poor math/stat knowledge I thought that MLE for Poisson parameter is (in mixture of LaTeX code) l(\lambda|x) \propto \sum^n_{i=1}(-\lambda + x_iln(\lambda)). Is this really equal to (\sum^n_{i=1} x_i) / n -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Dom...
2007 Sep 27
14
Camping and ruby2ruby
...ng arguments raises the error (div.class_name, div(:rel => "options"), ...). I don''t know where the :href attribute comes from and I don''t know, why it only appears within camping and not in markaby itself. Any help would be appreciated. Thanks in advance. Cheers, Gregor Note: I''m using the latest release of camping (1.5.180), markaby (0.5) and ruby2ruby (1.1.7)