Displaying 20 results from an estimated 4000 matches similar to: "Memory warning (Reached total allocation of ...) - but no error"
2009 Oct 13
4
Creating a list of empty lists
Well here is one more brain-teaser related to assigning stuff into a
list of list. What if I need to create a new list of empty lists? I have
actually got a solution to this problem:
l = list(list())
for ( i in sequence(length-1) )
{
l = list(unlist(l,recursive=FALSE), list())
}
But it is not very neat to do this in a loop. Are there any cuter ways
to do this?
2009 Aug 19
4
Basic question: Reading in multiple choice question responses to a single column in data frame
I'm using read.delim to successfully read in tab delimited data, but some
columns' values are comma seperated, reflecting the fact that user chose a
few answers on a multi-select question. I understand that each answer is
its own category and so could be represented as a seperate column in the
data set, but I'd like the option of reading in the data column, and
converting it to a
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
Interrogating some (of my own) code in another package.
>norm.meth <- getMethod("normalize", "MatrixLike")
>message("str(norm.meth)")
>str(norm.meth)
>message("show(norm.meth at .Data)")
>show(norm.meth at .Data)
Last show() displays this:
function (object, ...)
{
.local <- function (object, method = c("median",
2006 May 18
1
Recommended style with calculator and persistent data
I have some calculations that require persistent state. For example,
they retain most of the data across calls with different parameters.
They retain parameters across calls with different subsets of the cases
(this is for distributed computation). They retain early analysis of
the problem to speed later computations.
I've created an S4 object, and the stylized code looks like this
calc
2015 Jan 28
2
[Q] Get formal arguments of my implemented S4 method
I'm attempting to reflect the information for use with corresponding
fields in GUI (in a different package), to provide default values,
argname as key for UI label lookups, etc.
So I want something much more like the formals of the implementation:
{
"object",
"method": c("median", "vs", "tukey"),
2007 Dec 03
2
Why is the program too slow?
Hi,everyone.
I use the following program calculates Fisher's alpha from counts of individuals and species. The program is wrote by Prof. Kyle Harm.
However, when I run the program, it can work very quickly sometimes, but it can not work very well sometimes. It depends on the counts of individuals and species.
For example,
> calc.alpha(1000,70)
[1] 17.14375
> calc.alpha(10000,70)
[1]
2006 Jan 30
2
TI83 plus Texas Instrument Calculator, Serial cable and USB cable
Hi all
I installed *wine 9.6 on fedora4, IE6* , and *APPs* for *CALC TI83
plus *
i tried to use the *USB *cable to connect to the *CALC* but did`t work
then i used *serial cable*
after i make *? ln -s /dev/ttyS0 ~/dosdevices/com1? *then i run the "TI
Connect APPs" to
coonect to the *CALC *it finds the *COM1* when it tried connect to the*
CALC* but connection
filed.
any one
2008 Sep 25
1
Confusion over syntax in a package
Hello,
I am new to R and I am attempting to use the ProbForecastGOP package
for some research I am conducting.
The package works fine when I call the functions from the command line
as the examples instruct.
However, I am attempting to step through some of the functions so that
I can obtain a better idea of what is going on. I have come to the
following command:
2015 Jan 29
3
[Q] Get formal arguments of my implemented S4 method
On Jan 28, 2015, at 6:37 PM, Michael Lawrence <lawrence.michael at gene.com> wrote:
> At this point I would just due:
>
> formals(body(method)[[2L]])
>
> At some point we need to figure out what to do with this .local() confusion.
Agreed, definitely. The current hack is to avoid re-matching arguments on method dispatch, so a fix would need to be fairly deep in the
2007 Jun 06
3
Unrecognized character \xED at perl-Date-Calc-5.4-1.2.2.1.i386.rpm line 1
I've just install centos 5.0 on new PC. However it gives this error while
installing per-Date-Calc:
[root at piranha tmp]# perl -ivh perl-Date-Calc-5.4-1.2.2.1.i386.rpm
Unrecognized character \xED at perl-Date-Calc-5.4-1.2.2.1.i386.rpm line 1.
what could be the problem?
--beast
2009 Apr 08
1
Genstat into R - Randomisation test
Hello everybody,
I have a question. I would like to get a correlation between
constitutive and induced plant defence which I messured on 30 plant
species. So I have table with Species, Induced defence (ID), and
constitutive defence (CD). Since Induced and constitutive defence are
not independant (so called spurious correlation) I should do a
randomisation test. I have a syntax of my
2009 Dec 18
1
The RSQLite version of dbGetQuery drops colums
Hi all,
I just noticed (the hard way of course) that when a query returns 0
rows, the columns in the resulting data.frame get dropped as well. See
the following example code (where conn is an active connection to an
SQLite db):
> dbGetQuery(conn, "select 1 as hey, 2 as ho where 1")
hey ho
1 1 2
> dbGetQuery(conn, "select 1 as hey, 2 as ho where 0")
data frame
2007 Apr 24
1
inner loop problem!?
Hi,
i have 656 attributes ind INTERVALL_VAR & 119 in GROUP
and this morning i'm little confused why the inner loop hang if it
arrive 656th column.
My Task is a t-test and correlation with all columns in INTERVALL_VAR
for all attributes in GROUP.
many thanks & regards,
christian
for( k in
1:length(GROUP)){
2005 Jul 13
1
Fieller's Conf Limits and EC50's
Folks
I have modified an existing function to calculate 'ec/ld/lc' 50 values
and their associated Fieller's confidence limits. It is based on
EC50.calc (writtien by John Bailer) - but also borrows from the dose.p
(MASS) function. My goal was to make the original EC50.calc function
flexible with respect to 1) probability at which to calculate the
expected dose, and 2) the link
2006 Jun 23
1
looping through a data frame
Hi- I am having trouble with the syntax of looping through the rows
and columns of a data frame.
I have a table with 17 observations for 84 lines at n=5-10 per line. So
the table is ~700x17.
I want to pull out the median and stdev for each line and put it in a
dataframe with rowname = linename.
So I have tried the following....
#read in the table
input.table <- read.table(file =
2010 Jun 17
1
[OT] Oo-calc & StAtistics
The thread "R licensing query" currently running has raised
the classic critcisms of using Excel for statistics.
I was wondering: Has anyone applied the same or similar set
of tests to OpenOffice "calc"?
Or would the Executive Summary be: "Calc is just like Excel"?
(Not that I'm a spreadsheet user, if I can avoid it; but I
sometimes get asked about such
2003 Oct 09
1
R-OpenOffice.org Calc
I have been very satisfied with R-Excel interface (DCOM). Few months ago
I have changed my OS to Linux-Mandrake, and now I am using
OpenOffice.org Calc as spreadsheet. I would like to know does exist some
R-OpenOffice.org interface or how is possible to use R-functions in
OpenOffice.org Calc?
Thanks a lot!
2004 May 10
3
sqlSave with underscores in table fieldname
Hi group,
I try to write a frame to a table (RODBC). I use
colnames(temp6) <- c("ind_id","ser_id","period_id","year","calc","mean")
sqlSave(channel, temp6, tablename = "series_indices_test",append= TRUE, rownames=FALSE, verbose = FALSE, test = FALSE, nastring = -999999, fast = FALSE)
This is giving me an error:
Error in
2001 Mar 06
2
wine+window2000
When I tried to run calc.exe (Window 2000 version) under wine and I got
the following error:
err:module:fixup_imports Module (file) MSVCRT.dll needed by
Y:\winapps\calc.exe not found
Any idea????
2010 Nov 18
1
About R and RKward
Hi all,
Has any folk tested or been using RKward? Please shed me some light whether it
takes data from the spreadsheet, analyzes the data and puts the data back to the
spreadsheet, similar to RExcel and "R and Calc". Or RKward is only an editor of
R, working on front-end?
I have tested RExcel but it works on Windows. I need a Linux version of similar
package. "R and