Displaying 20 results from an estimated 1000 matches similar to: "referring to calls in functions"
2008 Dec 18
2
understanding lexical scope
I am trying to understand the concept of lexical scope in "An Introduction
to R" by the R Core development team.
I'd appreciate it if someone would explain why the following example does
not work:
q <- function(y) {x + y}; w <- function(x){q(x)}; w(2);
According to the discussion of Scope on page 46, it seems to me that R
will interpret the free variable x in q as the
2009 Feb 02
1
executing R batch files
The following command, issued from the DOS command prompt (running Windows
XP), produces the intended result of a .csv file created by program.R:
?c:\program files\R\R-2.8.0\bin\Rterm.exe? --save < "c:\TEMP\program.R"
However, when I create a file called Rbatch.bat that contains exactly the
line above, and try to execute it (by double clicking or via the Shell
command
in an Excel
2009 Feb 11
1
Hollander's test of bivariate symmetry
Does anyone know if any R package has a function that will conduct
Hollander's test of bivariate symmetry?
(Hollander, Biometrika, 1971)
Either the exact test or an asymptotic version would be sufficient for my
purposes.
Thanks.
Joe Boyer
Statistical Sciences
Renaissance Bldg 510, 3233-D
Mail Stop RN0320
8-275-3661
cell: (610) 209-8531
[[alternative HTML version deleted]]
2008 Dec 18
1
understanding recursive functions
I'm trying to understand the use of recursive functions described on page
45 of An Introduction to R by the R core development team.
A function is a list of expressions, which all get executed with only the
last being assigned to a global variable, right?
So if a function refers recursively to itself, it should simply start with
the first
expression and go from there. At least that is my
2009 Jan 25
1
[Fwd: Re: evaluation question]
dear list,
below is an edited version of my response to an r user asking me for
explaining some issues related to r's evaluation rules. i find the
problem interesting enough to be forwarded to the list, hopefully for
comments from whoever may want to extend or correct my explanations.
(i'd like to add that much as i'm happy to receive and answer offline
mails, questions related to r
2009 Feb 06
0
RExcel waiting for OLE action
When I run a macro that uses RExcel, I get a dialog box that says
"Microsoft Excel is waiting for another application to complete an OLE
action."
There is no error in the RExcel commands in the macro, of that I am sure.
The box appears to be related to the inclusion of RunRFile commands.
The macro will run through the second RunRFile command, but will not
execute the
2011 Mar 21
1
2.0.11 segfault while can't access submission_host
15-lda.conf:
submission_host = 192.168.m.n:587
2011-03-21T14:43:49+01:00 prac/p-prac dovecot: [ID 583609 mail.debug]
lmtp(12354, user at us.edu.pl): Debug: mcQ1NitVh01CMAAAuqlTtQ: sieve:
executing script from /mails/sieve/user at us.edu.pl.svbin
2011-03-21T14:43:49+01:00 prac/p-prac dovecot: [ID 583609 mail.error]
lmtp(12354, user at us.edu.pl): Error: smtp(192.168.m.n:587): RCPT TO
failed:
2009 Sep 01
3
assertion failed while using sieve
Hi,
there is a line in TODO: "- sieve-cmu.c crash: i_assert(buf->used - 1 ==
part->body_size.physical_size); ". Yes, we've really seen this crash.
Therefore we upgraded to dovecot-1.2.3 with dovecot-1.2-sieve-0.1.11 in
order to use sieve plugin (i.e. not cmu-sieve). We use Solaris 10 on Sun
servers, we don't use NFS.
However, unfortunately, dovecot with sieve crashes
2011 Jan 19
2
how to get old packages to work on R 2.12.1
I just installed R 2.12.1, and when I went to run a few old programs with it, nothing worked.
I got a ton of error messages saying such and such package was built before R 2.10.0 and needed to be reinstalled.
These were not just warning messages, but error messages that prevent the programs from running when
they were running just fine with R 2.10.1
For some of those packages, such as deSolve, I
2009 Sep 15
3
dCAP Exam
Hi folks,
Is there anywhere I can possibly get a model of the exam itself, maybe
possible scenarios for the prac, etc?
To people who have done the exam....any helpful hints ?
Thanks,
2011 Feb 04
1
dataframes from a function
Hi,
I'm trying to create a function to return three dataframes for later use in
a graphic so I want the return from the function to give me dataframes and
with unique names relating to the variable they are based on.
For example.....
sub<-c("6-1a","6-1a","6-1a","9-2b","9-2b","9-2b","7c","7c","7c")
2006 Apr 08
3
[Totally OT] CSS Best Prac. Rails Apps
I''ve used Verdana heavily in many of my sites. My graphics designer likes it
and so do my clients. There is a well-reasoned discussion that goes
something like:
- Verdana is bigger than any other font in default size
- If a user doesn''t have Verdana, what they see may be way smaller than
designed
- Ergo, don''t use Verdana
What is everyone else doing? 80+% of my site
2017 Aug 11
2
Package sqldf in R and dates manipulation
Dear all,
I recently read the book " R data preperation and manipulation using sqldf package" by Djoni Darmawikarta
However, I have a problem with manipulation of dates using this package, I do not get the expected results. Do I need to install some packages to be able to subset the data by dates in sqldf?
I am not getting Djoni Darmawikarta email address.
Please see the practice
2017 Aug 11
0
Package sqldf in R and dates manipulation
See FAQ #4 on the sqldf github home page.
On Fri, Aug 11, 2017 at 9:21 AM, Mangalani Peter Makananisa
<pmakananisa at sars.gov.za> wrote:
> Dear all,
>
> I recently read the book " R data preperation and manipulation using sqldf package" by Djoni Darmawikarta
> However, I have a problem with manipulation of dates using this package, I do not get the expected results.
2011 May 20
2
Variability plot in R
Is there a package in R that can do a variability plot?
A variability plot is a kind of categorized dot plot. (If there is a lot of data in each category, box plots are used rather than dot plots.)
Usually, the categories are factor level combinations. All the dot plots appear in the same window; below the x-axis a hierarchy of factors
shows which dot plot corresponds to which factor-level
2004 Aug 06
3
ices cvs crashing
Well, hi folks: I am still having this problem with ices crashing
regularly. I have upgraded to todays cvs for ices and icecast hoping
that would take care of it but no such luck. I am not sure just what
is going on. It seems to happen fairly often which is not exactly
making my listeners happy. I will include the relevant portion of the
ices.log below. I would appreciate any suggestions
2019 Feb 04
2
Ayuda con calculo de variables / transponer R
Buenas tardes, tengo dudas con el siguiente ejercicio que me han propuesto
en un curso, no se si alguien podria indicarme como abordarlo, soy nueva en
R y agradezco mucho su ayuda
Identi car cuales son las variables que están contenidas en
el data.frame. A continuación, transformar ese data.frame para que
cada columna represente cada una de las variables. Usar los nombres
Date, District y N.
2012 Nov 09
3
Installing Java 7 on a system with Java 6
My system is 5.6, with upgrades. I installed Java 6 from the Centos
repository. It doesn't seem to have Java 7. I need the development
package. How can I install Java 7 development safely? I imagine I will
first have to uninstall Java 6.
Thanks,
John
--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing
2011 Jul 07
4
Changing Host Name
Thanks to all of you who are answering my dumb questions about my new
CentOS instgallation.
I modified /etc/hosts, as the hostname man page seemed to suggest, and
rebooted. The hostname is still localhost. I want to change it to
jjb-centos. I also want to change the domain name to abilitiessoft.com
Thanks,
John
--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
2008 Oct 07
1
FW: Reading Data
Rahul Agarwal
Analyst
Equities Quantitative Research
UBS_ISC, Hyderabad
On Net: 19 533 6363
hi let me explain you the problem
we have a database which is in this format
Stocks 30-Jan-08 28-Feb-08 31-Mar-08 30-Apr-08
a 1.00 3.00 7.00 3.00
b 2.00 4.00 4.00 7.00
c 3.00 8.00 655.00 3.00
d 4.00 23.00 4.00 5.00
e 5.00 78.00 6.00 5.00
and we have a query