Displaying 20 results from an estimated 500 matches similar to: "How to save R "clean" sessions in BATCH mode?"
2008 Mar 02
1
an efficient pairwise matrix cell's comparison function
To all,
I am undergoing an analysis involving big matrices of about 30000x200 which
I have to handle in a more efficient way. So I would like some advice to
build such efficient function to deliver the following result:
- starting with 2 matrices of the same dimension (eg. A and B)
0 0 3 5 6 0 0 5
A= 0 0 6 4 B= 0 4 3 5
2009 Apr 03
2
Basic doubts on the use of several script files in R batch mode
I already searched for information regarding the batch file operations
within R. But I could not locate the information I need.
Basically I have a doubt regarding the procedures on the batch use of
several script files (*.R).
How can I do this?
How can I define the order of files?
My intention is to programme openings, math operations and savings of
*.Rdata sessions, but in a sequential
2008 Nov 06
2
comparing matrices using max or min
Dear all,
I have 3 matrices with the same dimension, A,B,C and I would like to produce
a matrix D where in each position would retrieve the max(or min) value along
A,B,C taken from the same position.
I guess that apply functions should fit, but for matrices objects I am not
getting it.
thanks in advance,
Diogo André Alagador
[[alternative HTML version deleted]]
2008 Aug 21
1
[dist]how to analise a large matrix?
Hi all,
I have a matrix of about 100.000?x 4?that I need?to classify using
euclidean metric. For that I am using dist?or daisy functions, but I
am afraid that the message: Error in vector("double", length) : vector
size specified is too large, means too much lines.
Can anyone suggest me how should I analyse this matrix?
Thanks in advance,
Diogo Andr? Alagador
MNCN,CSIC, Madrid, Spain
2007 Oct 22
3
median value dataframe coming from multiple dataframes
Hi all,
I am not a skillful R programmer and has I am handling with large dataframes (about 30000 x 300) I am in need of an efficient function.
I have 4 dataframes with the same dimension. I need to generate other dataframe with the some dimension than the others where in each position it has the median value of the 4 values in the same position coming from the 4 dataframes.
Grateful by your
2008 Oct 31
4
[ifelse] how to maintain a value from original matrix without probs?
Dear all,
I have a matrix with positive and negative values.
>From this I would like to produce 2 matrices:
1st - retaining positives and putting NA in other positions
2nd - retaining negatives and putting NA in other positions
and then apply rowMeans for both.
I am trying to use the function ifelse in the exemplified form:
ifelse(A>0,A,NA)
but by putting A as a 2nd parameter it
2008 May 02
3
data transformation
Dear all,
how can I, with R, transform a presence-absence (0/1) matrix of species
occurrences into a presence-only table (3 columns) with the names of the
species (1st column), the lat information of the sites (2nd column) and
the lon information of the sites (3rd column), as given in the below
example?
Thanks a lot for your help!
Christian
my dataframe:
site lat lon spec1 spec2 spec3 spec4
2008 Mar 27
2
colMeans in a data.frame with numeric and character data
Hi all,
I would like to know if it is posible by, someway, to get colMeans from
a data.frame with numeric as well as character data, dispersed all over
the object. Note that I would like to get colMeans neglecting character
data.
I am really in need of some function proceeding in that way…
All the best
Diogo André Alagador
[[alternative HTML version deleted]]
2007 Jul 20
3
R CMD SHLIB problem [make: *** No rule to make target ]
Hy all,
I apologize for my ingenuity in regard to interfaces in R, but I do need it for my work. In that respect I took a simple and small example from the net (the "hello world", one) to interface R with C.
I have a Windows XP OS using R.2.5.0 and in that regard I have installed the Perl and RTools files to my PC. I also wrote a proper path file, as suggested.
The C program is:
2007 Nov 06
2
wilcox test on two data frames
Hi all,
Basically I have 2 data frames with equal dimension and I want to apply the wilcox.test to compare columns in the same position (i.e. 1st of df.A with 1st of df.B, 2nd of df.A with 2nd of df.B,...).
Anyone give me an hint on this, as I think it is nicer to avoid loops, specially for huge dataframes (30000 x 200)
Thanks in advance,
Diogo André Alagador
Portugal
[[alternative HTML
2007 Jul 20
1
Column-mean-values for targeted rows
Hi all,
I'm handling massive data.frames and matrices in R (30000 x 400).
In the 1st column, say, I have 0s and 1s indicating rows that matter; other columns have probability values.
One simple task I would like to do would be to get the column mean values for signaled rows (the ones with 1)
As a very fresh "programmer" I have build a simple function in R which should not be very
2008 Jan 30
2
data.frame transformation
Dear all,
maybe somebody can provide some help for this problem:
Example:
I've got the following dataframe "data":
grid.id<-c(1:4)
lat<-c(10,12,13,15)
species1<-c(0,0,0,1)
species2<-c(1,1,0,0)
species3<-c(1,1,1,1)
data<-data.frame(cbind(grid.id,lat,species1,species2,species3))
How can I, out of "data" make a new dataframe, where the cells of value
2008 Jul 22
1
data transformation
Dear all,
how can I, with R, transform a presence-only table (with the names of
the species (1st column), the lat information of the sites (2nd column)
and the lon information of the sites (3rd column)) into a
presence-absence (0/1) matrix of species occurrences across sites, as
given in the below example?
Thanks a lot for your help!
Christian
My initial table:
species lat lon
sp1 10 10
2011 Dec 12
0
Rsolnp package: warning messages
Dear,
I am using the solnp command (package Rsolnp) for a problem with
equality and inequality constraints.
I am not getting convergence for my problem but apart that I get 1
warning per iteration saying: ?In cbind(temp, funv) : number of rows
of result is not a multiple of vector length (arg 1)?.
I checked for equality and inequality functions and they seem fine to
me. Where this
2000 Mar 29
2
BAD performance with SAMB on aix
Hello,
I have 8 Samba servers with 300 clients here running on Sun and Linux
machines with GREAT performance. Now in one departement i installed
samba 2.0.6 on one 40K$ IBM F50 with AIX 4.3.2, 2xCPU, 256MB RAM,
100FDX, extern RAID 5 Tower . Performance is really very, very BAD. I
tried already everything, but this IBM box with samba is just very SLOW.
Browsing through directories, logging, copying
2023 Jan 29
2
[REGRESSION] GM20B probe fails after commit 2541626cfb79
On Fri, 27 Jan 2023 at 20:42, Diogo Ivo <diogo.ivo at tecnico.ulisboa.pt> wrote:
>
> On Fri, Jan 27, 2023 at 04:00:59PM +1000, Ben Skeggs wrote:
> > On Fri, 20 Jan 2023 at 21:37, Diogo Ivo <diogo.ivo at tecnico.ulisboa.pt> wrote:
> > >
> > > On Wed, Jan 18, 2023 at 11:28:49AM +1000, Ben Skeggs wrote:
> > > > On Mon, 16 Jan 2023 at 22:27, Diogo
2012 Dec 05
8
Error: Could not request certificate: Connection refused - connect(2)
Hi all,
I am new at puppet and Im using the puppet learning tutorial. I execute
until Basic agent/master puppet. Everything worked ok but after 2 or 3
days, running the command "puppet agent --test", start throw the error in
subject. That left me with the following questions:
how to puppet agent connect to master without service started on master?
If this connection is possible (
2024 Nov 04
1
[REGRESSION] GM20B pmu timeout
Hello,
On Tue Oct 15, 2024 at 7:13 PM WEST, Linux regression tracking (Thorsten Leemhuis) wrote:
> Hi, Thorsten here, the Linux kernel's regression tracker.
>
> On 10.10.24 15:32, Diogo Ivo wrote:
> >
> > Somewhere between 6.11-rc4 and 6.11-rc5 the following error message is displayed
> > when trying to initialize a nvc0_screen on the Tegra X1's GM20B:
>
2002 Aug 02
1
AIX as PDC: troubles with length of usernames.
Hi, I want to migrate our NT domain to SAMBA over a RS/6000 F50
machine with AIX 4.3.3. ?Are there successful attempts out there on AIX ?
Currently I have some problems because the machine accounts (AIX has
a hard limit of eight characters in the usernames and the final '$'
character
break this rule).
Thanks in advance for any help.
Regards,
--
Mauricio Strello C.
Systems Engineer
IBM de
2009 May 26
3
FXS
What is the easiest way to connect my "black phone" to a PC running
asterisk?
I don't need multiple extensions, I've got just 1 phone. Is there any USB
FXS adapter?
Thanks
--
Diogo Saad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090526/77fcb91b/attachment.htm