[R] a small bug in spatstat::rmh

2004-07-07 Thread Evgueni Parilov
Time to time, rmh.default fails to simulate a "lookup"-type process on a statement: if(all.equal(diff(r),rep(deltar,nlook-1))) { equisp <- 1 par <- c(beta,nlook,equisp,deltar,rmax,h) } else { equisp <- 0 par <- c(beta,nlook,equisp,deltar,rmax,h,r) } According to

Re: [R] load function to R GUI

2004-06-15 Thread Evgueni Parilov
ome of them may not! Especially, if you are novice for R, like in my case. In future, I will try to check for answer 10 times before posting it to this group. Thanks again, Evgueni Uwe Ligges wrote: Evgueni Parilov wrote: Yep, shame on me. But on the other hand, this is a good example of a vagu

Re: [R] load function to R GUI

2004-06-15 Thread Evgueni Parilov
nu item on the `File' menu is called `Source R code' and calls source(). Did you look through the menus? If not, it would be worth familiarizing yourself with them. On Mon, 14 Jun 2004, Evgueni Parilov wrote: Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin Wang wrote:

Re: [R] load function to R GUI

2004-06-14 Thread Evgueni Parilov
Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin Wang wrote: Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them

[R] load function to R GUI

2004-06-14 Thread Evgueni Parilov
Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them in R GUI under Windows. The only way I know is to create and edit a function inside GUI. But what if I want to edit it in Emacs (do not want to use ESS)