Displaying 20 results from an estimated 600 matches similar to: "write data frame in a list"
2009 Nov 09
6
Find the first values in vector
Hi !
I have a vector:
vec= TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE
and I'm looking for a method which let me get only the first values equal
TRUE from this vector. It means that I want to get a vector:
vec_out = TRUE TRUE TRUE TRUE
or posictions values = TRUE: vec_out = 1,2,3,4
--
View this message in context:
2009 Aug 23
2
difficult "for"
Hi,
My english isn't brilliant and my problem is very difficult to describe but
I try ;)
My first question is: May I write loop "for" like this or similar - for (i
in sth : sth[length(sth)], k in sth_else : length(sth_else) ) - I'd like
to have two independent conditions in the same loop "for".
My secound question depend on program below. I'd like to write every
2009 Jun 01
3
Editor R
Do you know any good editor R?
--
View this message in context: http://www.nabble.com/Editor-R-tp23822342p23822342.html
Sent from the R help mailing list archive at Nabble.com.
2009 Aug 30
1
about isoMDS method
Hi,
For example:
I built a half matrix "w" using a daisy(x, metric = c("euclidean"))
http://www.nabble.com/file/p25211016/1.jpg
And next I transformed this matrix "w" using isoMDS function, for example
isoMDS(w, k=2) and as result I got:
http://www.nabble.com/file/p25211016/2.jpg
And now I have two questions:
1. If number in matrix w[2, 1] (= 0.41538462) match
2009 Sep 06
2
avoid NA in list
Hi!
I have list, for example:
...
[[22]]
[1] 27 51 69 107 119
[[23]]
[1] NA
[[24]]
[1] 54 57 62
And I would like to avoid NA value. Similar way like I may do it in vector
using na.value() function.
Do you have any idea?
--
View this message in context: http://www.nabble.com/avoid-NA-in-list-tp25321020p25321020.html
Sent from the R help mailing list archive at Nabble.com.
2007 Nov 05
1
deploy ruby on rails application by mongrel
1.download ruby-one click for windows from www.ruby-lang.org? set up.
2.run command:
gem install rails --include-dependencies (success)
3.set up mongrel:
gem install win32-service(pick the most recent one)
gem install mongrel (pick the win32 pre-built)
gem install mongrel_service
all of the above were successful.
then i creat an empty folder "d:\myapp",run the command:
2009 Aug 03
2
[LLVMdev] "masm syntax" for X86 backend
On Aug 3, 2009, at 11:23 AM, Aaron Gray wrote:
> Hi Chris,
>
> It would be good to get to try to get it as functional as possible
> at some point, before abandoning it..maye once I have one the COFF
> backend.
I'm not proposing to remove COFF support from the asmprinter, just
masm support. Using gas will continue to work fine.
> Anyway I wll report back when I have
2009 Aug 03
6
[LLVMdev] "masm syntax" for X86 backend
2009/8/3 Anton Korobeynikov <anton at korobeynikov.info>
> >> Anyway I wll report back when I have a proper overview of the area,
> >> it would be good if you could also look into the problem so contact
> >> me back if you are, also it maybe a good idea to share this with
> >> Anton and Evan.
> >
> > I already spoke to anton. The MASM
2009 Sep 06
1
Two packages and one method
Hi!
I want to use one method "combinations" from "gtools" package but in my code
I must use also "dprep" method where is method "combinations" too. Mayby I
show you result my help function:
Help on topic 'combinations' was found in the following packages:
Package Library
dprep /usr/lib64/R/library
gtools
2009 Aug 03
0
[LLVMdev] "masm syntax" for X86 backend
>> Anyway I wll report back when I have a proper overview of the area,
>> it would be good if you could also look into the problem so contact
>> me back if you are, also it maybe a good idea to share this with
>> Anton and Evan.
>
> I already spoke to anton. The MASM support is clearly broken, it
> generates .s files with typos for the directives and has other
2009 Aug 03
0
[LLVMdev] "masm syntax" for X86 backend
On Aug 3, 2009, at 12:04 PM, Aaron Gray wrote:
> 2009/8/3 Anton Korobeynikov <anton at korobeynikov.info>
> >> Anyway I wll report back when I have a proper overview of the
> area,
> >> it would be good if you could also look into the problem so contact
> >> me back if you are, also it maybe a good idea to share this with
> >> Anton and Evan.
2007 Apr 09
1
${QUEUESTATUS}
There are 6 different ${QUEUESTATUS} variable values defined in asterisk
1.2, I am attempting to make sure I have a full understanting of when
they would be set;
If someone could correct errors with these definitions ot would be
appreciated;
TIMEOUT - the max time specified in the queue command elapsed, only
checked between retries so may not be 100% accurate.
FULL - the number of callers
2009 Jun 01
2
add values inside vector
I think it's easy problem but I can't find solution.
I have a vector:
vec <- c (23.4, 3.0, 14.7, 7.7)
and I would like to add all values which are inside my vector to each
other.
as a result a want to get one value like sum all values from my vector-
sth=(23.4 + 3.0 + 14.7 + 7.7)
PS. I usually don't know how long is my vector in my function
--
View this message in
2009 May 29
4
logical vector as a matrix
I have a vector like this:
h <- c(4, 6, NA, 12)
and I create the secound logical vector like this:
g <- c(TRUE, TRUE, FALSE, TRUE)
And my problem is that I would like to get a new "m" vector as a rasult "h"
and "g"( as dot-matrix printer) but with missed "NA" value, for example:
m = (4,6,12)
Do you have any idea?
--
View this message in
2009 May 14
2
I want to avioid unnecessary value
I have a database like this:
"kol1";"kol2";"kol3" ...
"2";"5";"9"
"9";"6";"6"
"4";"6";"5"...
I looking for a kod in R which let mi aviod in column unnecessary value, for
example number "9".
So, if I have:
Kol1
2
9
4
4...
after loop in R I would like to get my
2005 Mar 25
49
atxfer
Hi list,
This wll be my first post, so I want to thank all the developers for the
great product they have created.
Now, the question,
I have installed asterisk 1.05 on debian sarge (binary package)
with an I4l modem and 4 x-lite softphone and 2 SIP hardphones (Yuxin 100)
This all works fine, exept for som echo on the ISDN channel, but I'll
replace the I4L card with an AVM-C4 card next
2009 Nov 15
1
where is a value in my list
I heve got a list:
lista=list()
a=c(2,4,5,5,6)
b=c(3,5,4,2)
c=c(1,1,1,8)
lista[[1]]=a
lista[[2]]=b
lista[[3]]=c
> lista
[[1]]
[1] 2 4 5 5 6
[[2]]
[1] 3 5 4 2
[[3]]
[1] 1 1 1 8
I would like to know where is number 5 (which line)?
For example I have got a loop:
k= vector(mode = "integer", length = 3)
for(i in 1:3)
{
for (j in 1:length(lista[[i]])){
if
2006 Aug 07
2
Getting an array of ids from form checkboxes?
Is it possible to set up a list of checkboxes so that the form
parameters are given in an array (eg {"delete_list" => [3,6,7]}) ?
At the moment I''m using
<%= check_box_tag "delete_list[#{post.id}]" %>
...which gives parameters looking like {"delete_list" => {"3" => "1",
"6" => "1",
2006 Jan 09
6
allowing users to install printers
What is the easiest way to allow normal users to install printers (which
are available through a Samba server)?
Normally, Windows 2000 and XP need to have a printer installed by the
admin first on a given workstation - only the it can be used by the user.
I want to allow the user to install own printers.
Now, when one trises to right click on a printer on a server and
"connect", he
2009 Oct 27
1
"ipredknn" - How may I find values?
Hi everybody!
I want to find a closer neighbourins observation. This is my code:
##########################
library(klaR)
library(ipred)
library(mlbench)
data(PimaIndiansDiabetes2)
dane=na.omit(PimaIndiansDiabetes2)[,c(2,5,9)]
dane[,2]=log(dane[,2])
dane[,1:2]=scale(dane[,1:2])
zbior.uczacy=sample(1:nrow(dane),nrow(dane)/2,F)