similar to: followup: lookup function for density(...) objects

Displaying 20 results from an estimated 1000 matches similar to: "followup: lookup function for density(...) objects"

2007 Nov 20
1
Vectorization/Speed Problem
Hi, I cannot find a 'vectorized' solution to this 'for loop' kind of problem. Do you see a vectorized, fast-running solution? Objective: Take the value of X at each timepoint and calculate the corresponding value of Y. Leading 0's and all 1's for X are assigned to Y; otherwise Y is incremented by the number of 0's adjacent to the last 1. The frequency and
2006 Sep 11
2
faster way?
Hi, Is there a faster way to do this? It takes forever, even on a moderately sized dataset. n <- dim(dsn)[1] dsn2 <- dsn[order(-dsn$xhat),] dsn2[1, "cumx"] <- dsn2[1, "xhat"] for (i in 2:n) { dsn2[i, "cumx"] <- dsn2[i - 1, "cumx"] + dsn2[i, "xhat"] } [[alternative HTML version deleted]]
2001 May 10
3
lookup function for density(...) objects
Hi folks: Is there a lookup function that returns the variate given the cumulative probability for an object returned by the density(...) function? > mydata _ as.vector(mymatrix) > mydata.density _ density(mydata) > mydata.p80 _ lookup(mydata.density, p=0.8) # is there any function to accomplish this task? Thanks. Rajiv. -------- Rajiv Prasad, Postdoctoral Research Associate,
2008 Oct 02
1
Unable to Login to Dovecot.
I am unable to login to dovecot . I have edited dovecot.conf as per the Basic Configuration.txt in the wiki.I am using Suse 10.2 on I586 and OS is ?Linux 2.6.18.2-34-default i686. Any help will be appreciated. Lisiting of Dovecot.conf Saisuse:~ # dovecot -n # 1.1.3: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/info.dovecot disable_plaintext_auth: no
2004 Oct 16
3
Problem Compiling R-2.0.0 on Linux Alpha
Hi folks: I'm trying to compile R-2.0.0 on my Alpha (164SX; alphapca56-unknown-linux-gnu) running RedHat Linux 7.2 with gcc3.4.1. Here is where the compile terminates: .... .... building package 'tcltk' mkdir -p -- ../../../library/tcltk/R mkdir -p -- ../../../library/tcltk/demo mkdir -p -- ../../../library/tcltk/exec mkdir -p -- ../../../library/tcltk/man make[4]: Entering directory
2004 Oct 16
3
Problem Compiling R-2.0.0 on Linux Alpha
Hi folks: I'm trying to compile R-2.0.0 on my Alpha (164SX; alphapca56-unknown-linux-gnu) running RedHat Linux 7.2 with gcc3.4.1. Here is where the compile terminates: .... .... building package 'tcltk' mkdir -p -- ../../../library/tcltk/R mkdir -p -- ../../../library/tcltk/demo mkdir -p -- ../../../library/tcltk/exec mkdir -p -- ../../../library/tcltk/man make[4]: Entering directory
2003 Jan 29
1
dyn.load warning message in R1.6.2 on Windows XP
Hi folks: I used to load a DLL fine up until R 1.5.1. The same DLL dyn.loaded under R 1.6.2 prints the following warning message: > dyn.load("C:/Rajiv/Bin/rpdate.dll") Warning message: DLL attempted to change FPU control word from 8001f to 9001f > Any indication as to what the warning means, and whether I should be concerned about it? The DLL is made from a pure C code,
2004 Oct 18
0
Re: [R] Problem Compiling R-2.0.0 on Linux Alpha
Thanks, Prof. Ripley. I downloaded the new admin.R and used that in place of one in R-2.0.0 build directory. The compile went fine. So, for the record, R-2.0.0 + Prof. Ripley's fixed admin.R compiles fine on "alphapca56-unknown-linux-gnu". ---- [rajiv@localhost rajiv]$ R R : Copyright 2004, The R Foundation for Statistical Computing Version 2.0.0 (2004-10-04), ISBN
2004 Oct 17
2
Re: [R] Problem Compiling R-2.0.0 on Linux Alpha
Thanks, Peter, and Prof. Ripley. My efforts last night was mostly futile except that it told me about the embedded newline in Built field. Prof. Ripley: how do I get your fixes? Can I just download R-2.0.0-patched? Rajiv -------- Rajiv Prasad Scientist, Hydrology Group Pacific Northwest National Laboratory, P.O. Box 999, MSIN K9-33 Richland, WA 99352 Voice: (509) 375-2096 Fax: (509) 372-6089
2001 Nov 28
2
shell()/system() question
Hi folks: How do I get shell() or system() to run external programs in a particular directory (different from the current R working directory)? > version _ platform i386-pc-mingw32 arch x86 os Win32 system x86, Win32 status major 1 minor 3.0 year 2001 month 06
2009 Jul 20
0
Re: xm list guest domain state shows blank status
Hi Rajiv, On Mon, Jul 20, 2009 at 4:01 PM, Rajiv Rajaian <rajiv.grid@gmail.com> wrote: > > Hi  deshantm > > This is Rajiv, from Anna university India. > sorry for disturbing you.. > > I ve installed xen-3.2.3-0xs  in Red Hat Enterprise Linux Server release 5.. > & I ve successfully created guest domain with Fedora 4  image file > While booting the guest domain
2008 Sep 17
1
backup file to win98 system
Hi...rsync working fine for my fedora 5 box to fedora 9 box. Now i want to take back of my folder /home/rajiv to a windows 98 box...Shared a folder in win98 system for full access but do not know how to take backup...tried with the following but got error message [root@myserver ~]# rsync -aPrv /data/stock/ //192.168.1.75/dir sending incremental file list rsync: mkdir
2002 Mar 05
3
reading 2-byte integers using readBin and connections
Hi folks: This may be a stupid question, but I cannot seem to find a way to tell readBin that I want to read 2-byte integers from the connection. The input file is 150,720 bytes long containing 75,360 short (2-byte) integers. But specifying "integer" or "int" for what in readBin only returns me a vector of length 37680, leading me to believe that sizeof(integer) or
2001 Nov 28
1
fill patterns
Hi folks: Any idea when the density and angle arguments to polygon() are to be implemented? Or is there another way to achieve hatching fill patterns? TIA. Rajiv. -------- Rajiv Prasad Postdoctoral Research Associate, Hydrology Group Pacific Northwest National Laboratory, P.O. Box 999, MSIN K9-33 Richland, WA 99352 Voice: (509) 375-2096 Fax: (509) 372-6089 Email: rajiv.prasad at pnl.gov
2001 Mar 28
1
Help: Using R from C
Hi folks: I am just beginning to try and use R from my own C programs. Platform is Windows2000, compiler Visual C++ 6.0. I built the import library R.lib from R.dll using the VC LIB.exe program. Here is a simple code I am trying to compile and run (no C++, VC++ is instructed to treat it strictly as C): #include "R.h" #include "Rinternals.h" int main(void) { int i; char
2002 Aug 26
5
updating n within for(i in 1:n) loop
Hi folks: I think I'm having problems with figuring this one out: test1 <- function() { n <- 2 for(i in 1:n) { cat(paste("i =", i, "\n")); flush.console() n <- 5 # version 1 #n <<- 5 # version 2 #assign("n", 5, envir = environment(test1)) # version 3 } } I need the for(.) loop to run (say) n=5 times within the
2008 Sep 20
3
without passwd
Hi, I have two Fedora box and rsync running on both systems. One system ip is 192.168.1.110 and the other is 192.168.1.71. I run manually for the following commands in both systems. my problem is whenever run it asking the user passwd and i cannot run the same automatically using crontab. My question is how to avoid the passwd option... rsync -aPrv rsync://192.168.1.110/detailing/
2002 May 01
3
upgrading to 1.5.0/uninstalling 1.4.1 on Linux
Hi folks: I have a feeling this must be a FAQ, but I did not find the answer in R Installation and Administration manual. Please point me to the right place to look for answer to this question if it's already answered. I am running 1.4.1 on an Alpha PCA56 (aka 164SX) running Redhat Linux 7.1 (kernel 2.4.19-pre4). I built 1.4.1 from sources and it is installed in /usr/local (the
2006 Jul 12
1
how to install matlab using Wine in Debian (Knoppix) or Fedora?
Hello Frank, I am a reserch student at the Indian Institute of Technology in Chennai, India. I need to work in Matlab Release 12 or Release 14 for my research purpose. The OS I like and use is Linux, (Debian, Fedora), is it possible to install Matlab 6.5 or 7.x using wine? I saw your website www.frankscorner.org and saw some instructions. Can you please give me a step by step instruction step for
2009 Jul 20
1
xm list of Xen Dom U shows blank state
Hi I ve installed xen-3.2.3-0xs in Red Hat Enterprise Linux Server release 5.. & I ve successfully created guest domain with Fedora 4 image file While booting the guest domain first it shows the b---- state in xm list command and when the dom U gets booted up it turns to blank state.. Is there anything else to be configured to solve this issue?? [root@xencluster ~]# xm list Name