similar to: Repost: Expressions returned by GlobalEnv functions and package functions

Displaying 20 results from an estimated 200 matches similar to: "Repost: Expressions returned by GlobalEnv functions and package functions"

2012 May 31
0
Expressions returned by a Package function
Hello, I have a function 'ewrap' (see below for definition). It takes 3 expressions and returns another expression e.g. map <- ewrap({ len <- length(r$addon) rhcollect(len,1) }) becomes: expression({ NULL result <- mapply(function(.index, k, r) { { len <- length(r$addon) rhcollect(len, 1) } },
2009 Apr 08
0
rhipe v0.1
Greetings, I would like to announce the 0.1 release of RHIPE:R and Hadoop Integrated Processing Environment. The website is located at : http://www.stat.purdue.edu/~sguha/rhipe<http://www.stat.purdue.edu/%7Esguha/rhipe>. The download link is the bottom most link on left side of the page. RHIPE works on top of Hadoop, providing the R user a way to distribute commands over the Hadoop
2011 Mar 18
2
Does RHIPE support R on Windows as the user desktop environment?
Hi, Since we can?t access Google Groups here in China, so please forgive me if anyone has asked this question before. Sincerely Xiaobo Gu
2012 Jun 12
1
handle large matrix in R
Dear all, I've run into a question of handling large matrices in R. I'd like to define a 70000*70000 matrix in R on Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit), but it seems to run out of memory to handle this. Is it due to R memory limiting size or RAM of my laptop? If I use a cluster with larger RAM, will that be able to handle this large matrix in R? Thanks much! Best, Hui
2012 Jun 01
1
scaling of parameter errors in a weighted regression using nls
I noticed that nls treats weights as relative and that the absolute size of the weights w in the following script has therefore no influence on the errors of the parameters reported in the summary a<-1 b<-3 x<--100:100 y<-a*x+b yeps<-y+rnorm(length(x),sd=1) w<-rep(1,length(x)) plot(x,yeps) lines(x,y) fit<-nls(yeps~p1*x+p2,start=list(p1=a*1.5,p2=b*1.5),weights=w)
2010 Dec 09
1
One question about R
I am a beginner with R. After I installed R 2.8.0, I tried to add a package. R CMD INSTALL RHIPE.tar.gz I got following error message: cannot extract package from RHIPE.tar.gz Can anyone tell me what's the problem? -- Best Regards, Zihang Yin 919-225-1717 Computer Science Duke University
2012 Jun 12
4
How to subset a matrix?
Hi all, Lets say I have a matrix A which is m x n. I also have a mask matrix MASK which is m x n with values in T/F, where T values make a sub-matrix in regutangular shape... I applied B=A[MASK] and it didn't work as expected... Any thoughts? [[alternative HTML version deleted]]
2012 Jun 15
3
spelling correction using R
hello I want a code which can correct the spelling mistakes as well as grammatical mistakes in the sentences...that is if I am writing following sentence: I want too meet my frnd bt due to hectic shcedule I cant I want output in following way: I want to met my friend but due to hectic schedule I can't. Thanks in advance Shilpa Rai MSc IIT Bomaby -- View this message in context:
2012 Jun 12
3
R-SCRIPT Label Calling Method
Hi, here i have some code... a <-1 b <- b+1 c <- b+a/20 if c >5 { d<- 1 } else { d<- 0 } i want to repeat this code from the 2nd line [b <- b+1] without using loop. Actulay i want to use "*Label *" and call *GoTo* method like in other coding Languages. For eg:- like this, a <-1 *LabelBegin :* b <-
2012 May 31
3
Quadrat counting with spatstat
I have photographs of plots that look like so: http://r.789695.n4.nabble.com/file/n4631960/Untitled.jpg I need to divide it up so each circle has an equal area surrounding it. So into 20 equal segments, each of which contains a circle. Quadratcount is not sufficient because if I divide it up into 36 equal quadrats, some quadrats do not contain one of the circles. I'm not even sure how to
2012 Jun 28
4
Printing a variable in a loop
Dear R Users: I'm a STATA user converting to R, and I'd like to be to do the following. #Assign var_1 and var_2 a value 10->var1 20->var2 #Now I'd like to print the values of var_1 and var_2 by looping through var_1 and var_2 in such a manner: while(y<3){ print(var_y) y+1->y } In STATA, the "y" appended to " var_" is called the local variable and
2012 Nov 17
1
Install 64 bit version of package on OS X
I'm trying to install a package on OS X (Snow Leopard) using the following command, but instead of respecting the arch directive it install i386. How can this be resolved? R --arch=x86_64 CMD INSTALL .... * installing to library ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’ * installing *source* package ‘Rhipe’ ... ** libs *** arch - i386 g++ -arch i386
2015 Jan 02
1
Help in building R with minGW
Dear R users, I would need some help in building R using minGW in windows 8.1. After using the command *configure *(./configure --enable-R-shlib --with-readline=no --with-x=no), I use the command *make. *This results in the following error: [...] make[2]: Leaving directory `/home/Edoardo/r-3.1.2/src/nmath' make[2]: Entering directory `/home/Edoardo/r-3.1.2/src/unix' make[3]: Entering
2012 Jun 26
4
increase the usage of CPU and Memory
Dear All, I have been searching online for help increasing my R code more efficiently for almost a whole day, however, there is no solution to my case. So if anyone could give any clue to solve my problem, I would be very appreciate for you help. Thanks in advance. Here is my issue: My desktop is with i7-950 Quad-core CPU with 24Gb memory, and a NVIDIA GTX 480 graphic card, and I am using a
2013 Apr 26
2
Remove reciprocal data from a grouped animal social contact dataset
Hi r-help forum, I have been collecting contact data (with proximity logger collars) between a few different species of animal. All animals wear the collars, and any contact between the animals should be detected and recorded by both collars. However, this isn't always the case and more contacts may be recorded on one collar of the two. This is fine, it depends on battery life and other
2012 Oct 21
2
Questions and a blockpull issue
Coming off of xen environment; still testing with kvm, just a few questions: 1. What is the roadmap for release of qemu-kvm 1.1 and libvirt 0.10.2 for el6, cause I had to compile from upstream to get the latest stuff. 2. Should not virt-manager show the sparsed disk size instead of actual reserved size of a vm? 3. Where is the virsh bash_completion conf.d file from upstream; since el6 rpm
2013 Apr 12
2
Creating "%d/%m/%Y %H:%M:%S" format from separate date and time columns
Hi R forum, Each row of my data (below) show a new contact event between animals. In order to ultimately look at the patterns of intervals between contacts, I need to calculate a contact end time. The contact starts at the date and time shown in V4 and V5, and lasts for the duration shown IN SECONDS in V6: > data2<- read.csv(file=file.choose(), header=F, sep=" ") >
2009 Jan 24
0
R and Hadoop Integrated Processing Environment - RHIPE
Hello, We have created an interface between R and Hadoop so that the user can, after a fashion, interact with very large datasets using the Map Reduce programming model. We also use IBM's TSpaces to implement a shared memory implementation that can be accessed via R(somewhat like networkspaces). RHIPE uses Rserve to execute R code. Some of the functions implemented are: mrlapply - run
2011 May 02
1
How to pass objects from local() to GlobalEnv
Hi all, I create some objects in local(), and want to pass them to GlobalEnv. How can I do this? Thanks! xiagao1982 2011-05-02 [[alternative HTML version deleted]]
2002 May 15
0
lib.fixup, .GlobalEnv, and R1.5.0 (PR#1556)
Full_Name: Mark Bravington Version: 1.5.0 OS: Windows 2000 Submission from: (NULL) (140.79.2.3) In R1.3.1, I used the following code inside a function to set a "path" attribute to .GlobalEnv: env_ pos.to.env( 1) attr( env, 'path')_ .Path # .Path is a named char vector of length 1 .Internal( lib.fixup( env, .GlobalEnv)) # adds the attribute And this works fine. But in