Displaying 20 results from an estimated 90 matches similar to: "not plotting when non-existent"
2008 Aug 01
1
importing explicitly declared missing values in read.spss (foreign)
There is a problem when importing an spss-file containing explicitly declared
missing values in R using the read.spss function from the foreign package.
I'm not sure these problems are the same in every version of spss, I am
using the latest version 16.0.2.
I included http://www.nabble.com/file/p18776776/missingdata.sav
missingdata.sav and
2011 Mar 25
1
Appending data to a data.frame and writing a csv
Dear R helpers
exposure <- data.frame(id = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20),
ead = c(9483.686,50000,6843.4968,10509.37125,21297.8905,50000,706152.8354, 62670.5625, 687.801995,50641.4875,59227.125,43818.5778,52887.72534,601788.7937, 56813.14859,4012356.056,1419501.179,210853.4743,749961,6599.0862),
pd =
2011 Aug 15
2
A small nag
Hi,
I am not sure how to fix the following error.
LGD <- c(11.6, 12.3, 15.8, 33.1, 43.5, 51.3,
67.3, 84.9)
cor (x=(file [1:47231,3:10]), y= rep (LGD, 47231), method = "pearson")
Error in cor(x = (file[1:47231, 3:10]), y = rep(LGD, 47231), method =
"pearson") :
incompatible dimensions
> sessionInfo()
R version 2.13.0 (2011-04-13)
2012 Jul 04
3
How to use Sys.time() while writing a csv file name
Dear R helpers,
I am using Beta distribution to generate the random no.s (recovery rates in my example). However, each time I need to save these random no.s in a csv format. To distinguish different csv files, one way I thought was use of Sys.time in the file name. My code is as follows -
# My code
rr = rbeta(25, 6.14, 8.12)
lgd = 1 - mean(rr)
write.csv(data.frame(recovery_rates = rr), file =
2012 Jul 18
4
The best solver for non-smooth functions?
# Hi all,
# consider the following code (please, run it:
# it's fully working and requires just few minutes
# to finish):
require(CreditMetrics)
require(clusterGeneration)
install.packages("Rdonlp2", repos= c("http://R-Forge.R-project.org",
getOption("repos")))
install.packages("Rsolnp2", repos= c("http://R-Forge.R-project.org",
2004 Nov 09
3
remove missing values from matrix or data frame
Is there any way besides looping to remove complete rows from a matrix
or data frame where there is at least one NA in any of the columns?
For example
> a
[,1] [,2]
[1,] 0 2.6875
[2,] 8.366667 6.625
[3,] 15.6 4.375
[4,] 23.4 6.25
[5,] 29 5.09375
[6,] 18 NA
[7,] 0 4.15625
[8,] 9.366667 6.25
[9,] 14.73333 5.875
[10,]
2010 Jan 21
1
Cannot join domain
Hello, I just configured a computer on my local network to work as a PDC
with Samba, although I'm not able to join the Domain from the windows
computer I want to add. I though it was that the server was unreachable, but
I can ping the server from the computer and viceversa. If someone please can
help me, I'll appreciate it.
The smb.conf file is here:
-------------------
[global]
2007 Sep 24
0
Need help to create a monotone missing data pattern
Hi
I've simulated multivariate longitudinal. The data is a mixture of conitnous
and categorical data. I've stored it in matrix form with the time dependent
variables as colons. Now I want to create a monote missing data pattern
starting of with MCAR-missingnes and different proportions of
missingdata and then refine the function to handle MAR and NMAR. Is there
anybody that could help or
2012 May 04
2
Can't import this 4GB DATASET
Dear Experienced R Practitioners,
I have 4GB .txt data called "dataset.txt" and have attempted to use *ff,
bigmemory, filehash and sqldf *packages to import it, but have had no
success. The readLines output of this data is:
readLines("dataset.txt",n=20)
[1] " "
2014 Oct 22
4
config file locations
Hi Gene,
On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote:
>> configure: error: libgd not found, required for CGI build
>>
>> And gdlib does not appear to be available from the repo's.
>
Sorry, I must have missed that message.
This is still with Ubuntu 10.04, right?
http://packages.ubuntu.com/source/lucid/nut lists the build dependencies,
2007 Dec 16
1
./configure perfparse -> "configure: error: required library libgd unusable"
I recently had a problem with the configure script from perfparse running
properly so that I could 'make install' it to work with Nagios 2.10 on
latest CentOS 4.x + RPMForge (see
http://readlist.com/lists/centos.org/centos/5/28966.html). Thinking it was a
problem that was a result of "yum remove gd", I formatted the box and
reinstalled everything.
Now, oddly, I still have the
2011 Apr 06
1
executing from .R source file in the src package
Can I run R code straight from R src (.R) file instead of .rdb/.rdx? I of
course tried simply unzipping tar.gz in the R_LIBS directory but R complains
with "not a valid installed package".
Real issue: I am very new to R and all, so this could be something basic.
I'm trying to use ess-tracebug (Emacs front-end to trace/browser et al).
It works great when I trace functions in .R
2010 Sep 01
2
Makefile bug in nut-2.4.3
I'm just in the process of upgrading from nut-2.4.1 to 2.4.3 on a
dual-Xeon box running Solaris 10 amd64 (i686-pc-solaris2.10). I
configured as follows:
./configure --prefix=/opt/nut --with-gnu-ld --with-serial --without-usb
--with-cgi --with-gd-includes=-I/usr/local/include
--with-gd-libs="-L/usr/local/lib -R/usr/local/lib -lgd" --with-user=nut
--with-group=nut
2009 Dec 18
6
BuildBots - config.log from compile
Charles,
I was looking into why CGI isn't build on the Ubuntu box. Although
everything seems to be available, it is currently showing
checking for gd version via gdlib-config... 2.0.35
checking for gd include flags... -I/usr/include
checking for gd library flags... -L/usr/lib -Wl,-Bsymbolic-functions
-ljpeg -lfreetype -lpng12 -lz -lm
checking for gd.h... yes
checking for gdfontmb.h...
2014 Oct 20
2
config file locations
On Sunday 19 October 2014 22:03:23 Charles Lepple did opine
And Gene did reply:
> Hi Gene,
>
> On Oct 18, 2014, at 7:35 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> > Greetings;
> >
> > I found pdf user manual which explains a few things that might help.
> >
> > However, for a ubuntu flavor, the various .conf etc files seem to be
> > in
2007 Nov 30
2
unstable libdg error when ./configure Perfparse on Nagios 2.x / CentOS 4.x
I'm trying to ./compile Perfparse on my Nagios CentOS 4.x box, but am
having this error. (And am hoping someone here might point me in the
right direction)
"configure: error: required library libgd unusable."
Here is a history of my problems:
First, it ./configure 'd ok, but I couldn't "make && make install" due
to an error. I googled and found this FAQ
2014 Oct 22
0
config file locations
On Tuesday 21 October 2014 22:06:48 Charles Lepple did opine
And Gene did reply:
> Hi Gene,
>
> On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> >> configure: error: libgd not found, required for CGI build
> >>
> >> And gdlib does not appear to be available from the repo's.
>
> Sorry, I must have missed that message.
2014 Oct 22
1
config file locations
On Oct 21, 2014, at 11:37 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> Hummm, that got me past that barricade, but then it needed asciidoc, which
> pulled in everything else it was fussing about. The everything else was
> close to all of tex and latex, something north of 220 megs worth. Drive
> space I have, but thats a heck of big hunk of dependency.
You mean that
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
2014 Oct 20
0
config file locations
Hi Gene,
On Oct 18, 2014, at 7:35 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> Greetings;
>
> I found pdf user manual which explains a few things that might help.
>
> However, for a ubuntu flavor, the various .conf etc files seem to be in
> /etc/nut.
We have an open ticket about that[*]; basically, the official NUT documentation needs to be a bit more explicit