search for: otoomet

Displaying 20 results from an estimated 35 matches for "otoomet".

Did you mean: toomet
2004 Jun 08
3
make fails with utf-8 locale, RH9 (PR#6958)
Hi, I have an RH9 box (gcc (GCC) 3.2.2, perl 5.8.0, make 3.79.1). My locale is LANG="et_EE.UTF-8" I do: $ ./configure --prefix=/usr/local ... $ make ... make[4]: Entering directory `/home/otoomet/a/R-1.9.0/src/library/stats4' dumping R code in package 'stats4' Error in structure(c(unlist(lapply(list(...), unclass))), class = c("POSIXt", : couldn't find function "unlist" Execution halted ... make stops with similar error messages later. when I...
2015 Feb 08
3
Which function can change RNG state?
Today I struggled for hours to understand some unexpected package test results. It turned out that this is because package "parallel", buried deep in my dependencies, calls runif() during it's initialization and in this way changes the random number sequence. This seems to be a part of a more general question--which kind of functions can we trust if we want to preserve random
2003 Jun 06
3
writing comments within a function
Hi R lovers! I would like to know how you can write comments inside the code of a function is it latex style % ? or any other language style? thanks a lot ************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute
2002 Oct 29
1
pretty not pretty
...-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 5.1 year 2002 month 06 day 17 language R -- Ott Toomet otoomet at econ.au.dk --------------------------------------------------------- (o_ (*_ (O_ (o< -! (o<)< //\ //\ //\ //\ //\ V_/_ V_/_ V_/_ V_/_ V_/_ standard drunken shocked noisy penguin p...
2003 Aug 26
3
plot empirical pdf
Hi, are there any function to plot the empirical probability distribution function? I just don't want to reinvent the wheel... Best wishes, Ott -- Ott Toomet PhD Student Dept. of Economics ?rhus University Building 322 Universitetsparken 8000 ?rhus C Denmark otoomet (a) econ au dk ph: (+45) 89 42 20 27 ------------------------------------------- (o_ (*_ (O_ (o< -! //\ //\ //\ //\ V_/_ V_/_ V_/_ V_/_ standard drunken shocked noisy penguin penguin...
2002 Oct 29
1
pretty not pretty
...-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 5.1 year 2002 month 06 day 17 language R -- Ott Toomet otoomet at econ.au.dk --------------------------------------------------------- (o_ (*_ (O_ (o< -! (o<)< //\ //\ //\ //\ //\ V_/_ V_/_ V_/_ V_/_ V_/_ standard drunken shocked noisy penguin p...
2003 Feb 21
1
question about XML (package)
...er a tiny test.xml file: <?xml version="1.0"?> <fields> <v1>1 </v1> <v2> 2 </v2> <v3> 3</v3> </fields> i.e. I have three fields v1, v2 and v3 which differ only by spacing. Now when reading it as > a <- xmlTreeParse("/home/otoomet/tyyq/Taani-piir/andmed/test.xml") > a$doc$children$fields <fields> <v1> </v1> <v2> 2 </v2> <v3> 3 </v3> </fields> you can see that field v1 is empty. Is it my misinterpretation, or a problem with the library? Thanks in adv...
2023 Aug 06
1
hist(..., log="y")
hist() is designed so that the total area sums to 1. You should build you desired behavior using a barchart. ? David Sent from my iPhone > On Aug 5, 2023, at 11:50 PM, Ott Toomet <otoomet at gmail.com> wrote: > > ?Sorry if this topic has been discussed earlier. > > Currently, hist(..., log="y") fails with > >> hist(rexp(1000, 1), log="y") > Warning messages: > 1: In plot.window(xlim, ylim, "", ...) : > nonfinite axis...
2005 Aug 31
5
"best" c++ matrix library?
Hi folks, I am planning to write some more time-consuming matrix manipulations in c++. What is the experience with the existing c++ matrix libraries? Do you have some recommendations? Are some libraries more compatible with R than the others? All suggestions welcome! Best, Ott
2015 Feb 08
0
Which function can change RNG state?
On 7 February 2015 at 19:52, otoomet wrote: | random numbers. For instance, can I be sure that | set.seed(0); print(runif(1)); print(rnorm(1)) | will always print the same numbers, also in the future version of R? There Yes, pretty much. I've been lurking here over fifteen years, and while I am getting old and forgetful I can...
2015 Aug 21
1
sequence divided by data.frame
Can anyone explain me the following behavior: > 1:2/1 [1] 1 2 -- makes sense > 1:2/matrix(1,1,1) [1] 1 2 -- makes sense > 1:2/data.frame(a=1) a 1 1 -- why is this different? Best, Ott -- Ott Toomet Visiting Researcher School of Information Mary Gates Hall, Suite 095 University of Washington Seattle, WA 98195 [[alternative HTML version deleted]]
2002 Dec 09
2
Sth better than cycle?
Hi, I want to calculate expected likelihood over a 2D discrete distribution, something like \sum_k \sum_l p_{kl} L(v_k, v_l) It is trivial to write a cycle like for(k in 1:K) for(l in 1:L) sum <- sum + p[k,l]*L(v[k], v[l]) But is there a more clever way for R? Best wishes, Ott
2003 Mar 21
1
barplot legend size
...major 1 minor 5.1 year 2002 month 06 day 17 language R -- Ott Toomet PhD Student Dept. of Economics ?rhus University Building 322 Universitetsparken 8000 ?rhus C Denmark otoomet at econ.au.dk ph: (+45) 89 42 20 27 ------------------------------------------- (o_ (*_ (O_ (o< -! //\ //\ //\ //\ V_/_ V_/_ V_/_ V_/_ standard drunken shocked noisy penguin penguin...
2002 Aug 28
1
dev.print + impossible filename -> break (PR#1959)
Full_Name: Ott Toomet Version: 1.5.1 OS: Linux (RH 7.1) Submission from: (NULL) (192.38.43.138) Hi, Try to give an impossible file name (command to pipe through) for dev.print: > plot(1:4) > dev.print(file="|llllll") I got the response sh: llllll: command not found Process R broken pipe at Wed Aug 28 14:42:27 2002 After which R was killed (or at least vanished from the
2005 Aug 25
1
how to close connections?
...atus major 2 minor 1.1 year 2005 month 06 day 20 language R -- Ott Toomet, PhD Research Fellow Dept. of Economics Tartu University Narva 4 - A123 Tartu 51009 Estonia otoomet (a) ut ee ph: (+372) 7 37 6374 fax: (+372) 7 37 6312 ------------------------------------------- (o_ (*_ (O_ (o< -! //\ //\ //\ //\ V_/_ V_/_ V_/_ V_/_ standard drunken shocked noisy pe...
2006 Jul 02
1
workaround for numeric problems
Dear R-people, I have to compute C - -(pnorm(B)*dnorm(B)*B + dnorm(B)^2)/pnorm(B)^2 This expression seems to be converging to -1 if B approaches to -Inf (although I am unable to prove it). R has no problems until B equals around -28 or less, where both numerator and denominator go to 0 and you get NaN. A simple workaround I did was C <- ifelse(B > -25, -(pnorm(B)*dnorm(B)*B
2002 Nov 20
1
un-install R 1.6 built from source
I have installed R 1.6 for Linux from source, but unfortunately, I didn't check if the Xwindow headers were available, so I have installed it without Xwindows capabilities. Thus, I want to uninstall it and install it again properly with the required features, but I don't know how to uninstall R when built from source. I would appreciate any help on this. Thanks very much in advance!
2016 Sep 22
1
as.character.factor and S4 object containing factor
Do I mess up something or is this a bug? If I define an S4 object that contains "factor", all the tests indicate that it is a factor but as.character.factor() complains of it being a non-factor... > setClass("Foo", contains="factor") > a <- new("Foo", factor(1:3)) > a Object of class "Foo" [1] 1 2 3 Levels: 1 2 3 > class(a) [1]
2023 Aug 06
2
hist(..., log="y")
Sorry if this topic has been discussed earlier. Currently, hist(..., log="y") fails with > hist(rexp(1000, 1), log="y") Warning messages: 1: In plot.window(xlim, ylim, "", ...) : nonfinite axis=2 limits [GScale(-inf,2.59218,..); log=TRUE] -- corrected now 2: In title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : "log" is not a graphical
2003 Jul 23
2
trouble with maps
Has anyone else seen this behavior from the "maps" package? map('state', fill=TRUE) results in a lively mix of overlapping polygons inside a map of the US, but they have no obvious relationship to state boundaries. (See attached jpeg.) -------------- next part -------------- I reinstalled the maps and mapdata packages from ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map/