Displaying 20 results from an estimated 8000 matches similar to: "Small changes to big objects (2): Local Reference Classes"
2013 Jan 03
3
Small changes to big objects (1)
Martin Morgan commented in email to me that a change to any slot of an
object that has other, large slot(s) does substantial computation,
presumably from copying the whole object. Is there anything to be done?
There are in fact two possible changes, one automatic but only partial,
the other requiring some action on the programmer's part. Herewith the
first; I'll discuss the second
2009 Jun 03
1
Would like to add this to example for plotmath. Can you help?
Greetings:
I would like comments on this example and after fixing it up, I need
help from someone who has access to insert this in R's help page for
plotmath.
I uploaded a drawing
http://pj.freefaculty.org/R/Normal-2009.pdf
that is created by the following code
http://pj.freefaculty.org/R/Normal1_2009_plotmathExample.R
This will be a good addition to the plotmath help page/example.
2008 Apr 02
1
Trouble combining plotmath, bquote, expressions
I'm using R-2.6.2 on Fedora Linux 9.
I've been experimenting with plotmath.
I wish it were easier to combine expressions in plotmath with values
from the R program itself. There are two parameters in the following
example, the mean "mymean" and standard deviation "mystd". I am able
to use bquote to write elements into the graph title like
mu = mymean
and R will
2010 Jan 27
1
control of scat1d tick color in plot.Predict?
Hi All,
I have a quick question about using plot.Predict now that the rms package
uses lattice. I'd like to add tick marks along the regression line, which
is given by data=llist(variablename) in the plot call. The ticks show up
fine, but I'd like to alter the color. I know the ticks are produced by
scat1d, but after spending a fair bit of time going through documentation,
it still
2005 Jun 16
1
AIC in glm.fit with intercept
Dear R users,
glm.fit() gave me the same AIC's regardless of TRUE or FALSE intercept option.
> myX <- as.matrix(1:10)
> myY <- 3+5*myX
> foo <- glm.fit(x=myX, y=myY, family = gaussian(link = "identity"), intercept=TRUE)
> foo$aic
[1] 38.94657
> foo <- glm.fit(x=myX, y=myY, family = gaussian(link = "identity"), intercept=FALSE)
> foo$aic
[1]
1999 Mar 24
1
Amanda and Samba 2.0.3
Hi Folks,
I want to use samba and amanda to backup NT/win file system. I downloaded
the latest version of Samba and trying to install on bsdi4.0 and it
complains that the OS is a "trapdoor" OS and will not work propperly. I
installed it anyway and I can connect to NT no problem but when I connect
it back to the unix box, it complains about "Bad password - name/password
in a Tree
2013 Mar 05
1
memory leak in 3.3.1 rebalance?
I started rebalancing my 25x2 distributed-replicate volume two days ago.
Since then, the memory usage of the rebalance processes has been
steadily climbing by 1-2 megabytes per minute. Following
http://gluster.org/community/documentation/index.php/High_Memory_Usage,
I tried "echo 2 > /proc/sys/vm/drop_caches". This had no effect on the
processes' memory usage. Some of the
2011 Aug 18
1
Where are the ticks on grid.xaxis?
Hi R list,
I like the default ticks that are set up using grid.xaxis() or grid.yaxis()
with no arguments. Finding good values for the 'at' argument is usually not
a trivial task; the default behavior of these functions seems to work well.
The problem with this strategy is that I cannot figure out how to "recover"
the positions of these ticks when you do NOT specify the
2010 Jul 06
1
plotmath vector problem; full program enclosed
Here's another example of my plotmath whipping boy, the Normal distribution.
A colleague asks for a Normal plotted above a series of axes that
represent various other distributions (T, etc).
I want to use vectors of equations in plotmath to do this, but have
run into trouble. Now I've isolated the problem down to a relatively
small piece of working example code (below). If you would
2012 Nov 30
2
"layout is NULL", "Failed to get node-uuid for [...] and other errors during rebalancing in 3.3.1
I started rebalancing my volume after updating from 3.2.7 to 3.3.1.
After a few hours, I noticed a large number of failures in the rebalance
status:
> Node Rebalanced-files size scanned failures
> status
> --------- ----------- ----------- ----------- -----------
> ------------
> localhost 0 0Bytes 4288805
2013 Nov 25
0
Re: supermin-helper: ext2: parent directory not found: /mnt/bigdata/var: File not found by ext2_lookup
On Mon, Nov 25, 2013 at 05:32:23PM +0100, Gonzalo Aguilar Delgado wrote:
> Hello,
>
> I've found a problem running libguestfs on my system.
>
> The system has /var mounted with a symbolic link to /mnt/bigdata/var
>
>
>
> root@red1:/var/log/nova# ls -ld /mnt/bigdata/var
> drwxrwxr-x 15 root users 4096 jul 7 17:55 /mnt/bigdata/var
> root@red1:/var/log/nova#
1999 Oct 05
0
Solution to accessing shares w/ 2.0.5a and openBSD 2.5 (bug in OpenBSD calls or configure script?)
I recently installed an OpenBSD 2.5 box and compiled the 2.0.5a version of
Samba. I set the security to security=user and turned on encryption so that I
can access my home directory from my NT workstation (this is how I set up all my
other machines and only the OpenBSD caused a problem). I was getting an error
when I tried to connect to the machine - my logs showed an error of unable to
set the
2012 May 13
1
R package dependency issues when namespace is not attached
I have always assumed that having a package in the 'Depends' field
would automatically also?import?the namespace. However, it seems that
in R 2.15, dependencies do not become available until the package is
actually?attached?to the searchpath. Is this intended behavior?
The problem appears as follows: Suppose there is a package 'Child'
which?Depends, but does not explicitly
2008 Apr 08
2
plotmath "overstrikes" in output on a Linux system
I've been testing plotmath. But I'm getting some funny output one one
computer. The problem is that characters are 'jumbled' and overstrike
when symbols are introduced.
Sample code:
mu <- 440.0
sigma <- 12.5
myx <- seq( mu - 4*sigma, mu+ 4*sigma, length.out=500)
myDensity <- dnorm(myx,mean=mu,sd=sigma)
# Here's one way to retrieve the values of mu and sigma and
2010 Jan 07
1
A question about the ff package
Hi,
I am using version 2.1-1 of the ff package.
I have a data set with 80 million rows and I need to create a new ffdf
object, subseting by values in one of the original ffdf's columns. Here is
my code:
bigData <- read.table.ffdf(file="/data/demodata/data/smallData.txt",
next.rows=1e5, head=TRUE, sep="|")
dim(bigData)
N <- nrow(bigData);N
select <- ff(
2016 Dec 31
2
Java para bigdata
Si,
Bueno en realidad, estamos en un curso de bigdata y estan haciendo mucha scosas con Java, pero yo intento pasarlo a Python tood, ya uqe me parece un lenguaje mucho mas simple y más parecido a R
Y si, lo que quiero principalmente es aplicar machine learning sobre conjuntos de datos enormes.
Alguna recomendación?
________________________________
De: Carlos Ortega <cof en
2009 Dec 03
1
S4 Classes, nested objects and references
Hi all,
I'm currently programming my first complete package in S4. (thanks to
Christophe Genolini for the nice introduction he wrote). I have an
object "Data" with a number of slots. One of those slots is "meteo".
Now "Meteo" is on itself a class with again a number of slots (like
rainfall, temperature,..., you get the picture).
I defined the slot
2009 Feb 19
1
Getting the difference between two data frames
Dear R users,
I have the following data:
x <- data.frame( myX = c(1,2,3,4,5,6,7,8,9) )
y <- data.frame( myX = c(1,2,3,4,5,6,7) )
How can I get the difference between data frame x and y? In this case,
I want to get values 8 and 9
I know in SQL we can use minus operator, but I have no idea how to do so in R.
I tried all.equal, diff, and identical, but they don't give me the
actual data
2005 Jul 05
1
Kind of 2 dim histogram - levelplot
Dear R-List,
I've written some code to put measurement values at a position x and y
in bins (xb and yb). It works, but I wonder if there isn't a function
that would do what I do by hand in "# fill data in bins"?
Here is the code:
# data
x <- c( 1.1, 1.5, 2.3, 2.5, 2.6, 2.9, 3.3, 3.5 )
y <- c( 6.3, 6.2, 5.9, 5.3, 5.4, 4.2, 4.8, 4.6 )
val <- c( 50, 58, 32, 14, 12,
2009 Apr 03
1
bigglm "update" with ff
Hi, since bigglm doesn't have update, I was wondering how to achieve
something like (similar to the example in ff package manual using biglm):
first <- TRUE
ffrowapply ({
if (first) {
first <- FALSE
fit <- bigglm(eqn, as.data.frame(bigdata[i1:i2,,drop=FALSE]), chunksize =
10000, family = binomial())
} else {
fit <- update(fit,