Displaying 20 results from an estimated 10000 matches similar to: "Converting a S-plus file."
2008 Jun 28
2
Parallel R
Hello,
The problem I'm working now requires to operate on big matrices.
I've noticed that there are some packages that allows to run some
commands in parallel. I've tried snow and NetWorkSpaces, without much
success (they are far more slower that the normal functions)
My problem is very simple, it doesn't require any communication
between parallel tasks; only that it divides
2005 Mar 03
7
Another question about the tutorial
Hello
After upgrading to ruby 1.8.2, finally got rails to install properly.
Now, following the tutorial, I found a couple of things:
First, apparently rails tries to establish local mysql connections using
"/tmp/mysql.sock"
which mandrake does not use. In mandrake 10.1, this file is located at
"/var/lib/mysql/mysql.sock".
The solution is to create a simlink
2005 Mar 02
2
Problems installing gems using rails
Hello
I''m trying to use rubyonrails, but had some troubles:
First, there was an issue with gems (it did not finished the installation):
# gem install rails
Config file /root/.gemrc does not exist
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for:
2008 Jun 24
1
Equivalent of Mathematica's Apply
Hello,
Is there some equivalent function in R of Mathematica's "Apply"
i.e.
Apply[ f, g[a,b]] ==> f[a,b]
In concret, I have a matrix of indexes:
> ind = cbind(1:5, 1:5+5)
> ind
[,1] [,2]
[1,] 1 6
[2,] 2 7
[3,] 3 8
[4,] 4 9
[5,] 5 10
and I'd like to extract sequences 1:6, 2:7, 3:8, ..., 5:10 from a vector x.
What would be the
2005 Nov 22
1
read.csv in R 1.7.1 for MacOS
Hello
I'm stuck with some notebooks having MacOS 10.2.8.
After trying R-2.2.0 (which won't run), I had to settle with R 1.7.1,
which runs fine.
The problem is this:
I have a csv file in a web server, which I'd wish to be able to load with
d <- read.csv("http://server/path/cuestionario.csv")
Unfortunately it doesn't work in R 1.7.1 / Mac, although the help page
2005 Nov 11
1
undefined symbol in grDevices.so
Hello
I'm trying to use rpy with latest R (2.2.0), but unfortunately it
seems there is some kind of undefined symbol in grDevices.so
(utf8locale)
Within python, this message appears:
>>> import rpy
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
'/usr/local/lib/R/library/grDevices/libs/grDevices.so':
2007 Feb 27
4
ordered matrix question
Hi all,
Is there an easy way to generate an object wich will be the same matrix, but
ordered by de cfp value?
The data frame consists of numeric columns:
"Block" "X" "Y" "cfp" "yfp" "ID"
0 524 244 213.41795 7.18482109 1
0 556 270 65.383904 9.568372661 2
0 528 316 40.789474
2007 Jul 05
3
help with vector construction
Hi all,
I want to make a vector with the third column of a matrix, but only for the
2+3n rows of the matrix, with n being an entire number from 0 to a million.
How can I do that in an easy way?
Thanks in advance,
Juan Pablo
[[alternative HTML version deleted]]
2010 Sep 01
2
Error: Domain ''winXP'' does not exist.
Hi,
I''m tying to load a full HVM enviroment with windows XP to test my
first xen VM.
This is my config file http://dpaste.org/pbJd/
<http://dpaste.org/pbJd/>when i run the command : xm create winxp.cfg i got
Error: Domain ''winXP'' does not exist.
Somebody can help me with this? i did read docs about config files,
everyting seems to be in place
thanks
--
2007 Nov 22
4
more outrageous plotting
Dear Contributors:
I have the next matrix:
"X" "Y" "Z"
1 2 526
2 5 723
3 10 110
4 7 1110
5 9 34
6 8 778
7 1 614
8 4 876
9 6 249
10 3 14
I want to order the matrix from bigest Z (1110) to lower Z (14).
Then I want to asign a color scale vector from blue ( bigest Z) to
orange
2009 Jan 26
3
GPLPV
Hello list;
I´ve updated my windows 2k3 GPLPV drivers from 0.9.9 to 0.9.12-pre13.
But now, i have two xen block devices; (of course, one of them is not
working and is marked with the yellow exclamation).
How can i fix it, or how can i uninstall the GPLPV drivers in order to make
a clean install?
Thanks
Juan Pablo
_______________________________________________
Xen-users mailing list
2010 Sep 02
2
How to change default interface from eth0 to eth3?
I got this message when i''m trying to create the VM.
Error: Device 0 (vif) could not be connected. Could not find bridge device
xenbr0
Is there a way to change de interface from eth0 to eth3?
thanks
--
*-----*
*Juan Pablo Lopez Bergero*
*Cell: 15-3957-3455*
*
*
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2002 Feb 25
4
replace NAs
Dear R community:
it is possible to replace NA?s in a data frame with zeroes?
what should I do?
Thanks in advance
Juan Pablo
_________________________________________________________________
MSN Photos es la manera m?s sencilla de compartir e imprimir sus fotos:
http://photos.latam.msn.com/Support/WorldWide.aspx
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2009 Jan 21
1
Paravirtualized Debian (on CentOS host)
In order to create a paravirtualized guest/DomU, should i use the same
distro as the host/dom0 is?
Or is it possible to install a paravirtualized Debian (as a guest / DomU)
into a CentOS (host / Dom0) ?
Juan Pablo
On Tue, Jan 20, 2009 at 8:42 AM, Ferenc Wagner <wferi@niif.hu> wrote:
> Juan Pablo Torres <juanpablotorres@gmail.com> writes:
>
> > Im trying to install a
2006 Sep 13
2
Retrieving value computed in inner function call
Dear R users,
Consider the following example function:
f = function(a,b) {
g = function(x) a*x + b
h = function(x) g(x)^2 + x^2
opt = optimize(h,lower = -1, upper = 1)
x.min = opt$minimum
h.xmin = opt$objective
g.xmin = g(x.min)
return(c(x.min, h.xmin, g.xmin))
}
In my real problem the function that plays the role of "g" is costly
to compute. Now, to
2009 Jan 19
2
Paravirtualized Debian
Hello list;
Im trying to install a paravirtualized Debian, but as an absolute newbie
i´m, i don´t know what to put when the wizard asks me to give an "Install
Media URL".
Thanks in advance;
Juan Pablo
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2009 Oct 27
3
A free space trouble in a ocfs2 partition
Hi,
i have a trouble with a ocfs2 partition.
The "df -kh" command reports 63 GB of free space but only can use about
5 GB of this free space !!
Then, the ocfs2 partition is wasting 58 GB of free space !!?
df -kh
S.ficheros Tama?o Usado Disp Uso% Montado en
/dev/sda1 300G 238G 63G 80% /home/mail
This are the mount options of the partition:
mount
/dev/sda1 on
2008 Jan 24
4
two histograms in the same graph
Dear Contributors:
I have two vectors x and z, and I want to display the histograms of both
vectors in the same graph, x in red bars, z in blue bars.
If you have any clue on how to do that, I will be very glad to hear it!!!!!!
Thanks in advance again,
Juan Pablo Fededa
[[alternative HTML version deleted]]
2009 Feb 22
2
filtering a simple matrix
Hi all,
I have the next matrix:
a b c
1 2 23
2 3 42
3 0 54
4 5 23
5 0 22
6 7 21
7 1 20
8 9 19
I want to filter the rows with the values of b higher than 1 in a way that
leaves me the next matrix:
a b c
1 2 23
2 3 42
4
2008 Jan 17
1
Res: vector generation
hi Juan,
It is not so elegant, but work fine. I know that our colleagues can do it on a simple line.
z<-c(526,723,110,1110,34,778,614,249,14)
v1<-NULL
v2<-NULL
for (i in 1:(length(z)-1))
{
for (j in i:length(z))
{
v1<-rbind(v1,z[i])
v2<-rbind(v2,z[j])
}
}
df<-data.frame(cbind(v1=v1,v2=v2))
names(df)<-c("v1","v2")
df$ratio<-df$v1/df$v2
Kind regards,