Displaying 20 results from an estimated 100 matches similar to: "import data"
2010 Jun 28
1
mathematical expression in varnames of lattice parallel plot
How can I insert mathematical expressions for variable names in a
lattice parallel plot? I tried to implement mathematical expressions in
varnames, however, without success.
For example, neither
parallel(~iris[1:4] | Species, iris,
varnames=c("P[Width]", "Petal[length]", "alpha[Width]", "Sepal[Length]"))
nor
parallel(~iris[1:4] | Species,
2011 Dec 07
2
yum with a proxy
Hello,
While yum is configured to use a proxy, like this :
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
proxy=http://proxy.lasb:3128
it still make some attempts to connect
2009 Sep 15
2
Building R package with .c sub-routine files
Lets say I have two source files file1.c and file2.c
The latter just contains sub-routines to be used by the first. i.e. in file1.c I
have the line
#include "file2.c"
Let's say "R CMD SHLIB file1.c" runs perfectly and I want to include the code in
a package, "R CMD build" also runs fine but R CMD check" gives
* checking whether package
2009 Sep 04
2
enabling core dumps
"Writing R Extensions" says
{quotes}
If you have a crash which gives a core dump you can use something like
gdb /path/to/R/bin/exec/R core.12345
to examine the core dump. If core dumps are disabled...
{unquotes}
sadly it doesn't go on to say how to enable if core dumps are disabled.
I understand that in bash I need to do
$ ulimit -c unlimited
but this doesn't seem to
2012 Sep 12
2
valgrind crashing
I am trying to do a classic
R -d valgrind --vanilla < mypkg-Ex.R
as described in
http://cs.swan.ac.uk/~csoliver/ok-sat-library/internet_html/doc/doc/R/2.9.1/doc/manual/R-exts.html#Using-valgrind
The problem is valgrind crashes imediately.
I am using Ubuntu 10.04 LST (actually Biolinux) on a 64bit Dell
Precision laptop with 4 core-i5 Intel processors. I have R-2-15-0
installed from source
2010 Jan 22
2
R CMD check error with the GNU Scientific Library
I have been working on an R package that calls C code using .C(). I recently
started including some functions from the GNU Scientific Library in my code.
The code runs fine on my machine when not wrapped in the package. But I get the
following error from "R CMD check"
* checking whether the package can be loaded ... ERROR
Loading required package: splancs
Loading required package: sp
2012 Apr 26
0
restorecon and sudo
Hello,
On CentOS-6.2, these two commands (on the same machine) give me
different results :
# restorecon -r /var/www/html/Centos/ # (as root)
$ sudo restorecon -r /var/www/html/Centos/ # (as an unprivileged user)
/var/www/html/Centos/ is a symlink to /mnt/packages/Centos/
In the first case, I get :
# ls -Z /var/www/html/Centos/
drwxr-xr-x. naudin biom system_u:object_r:httpd_sys_content_t
2009 Oct 29
1
changing default character size depending on settings for mfcol: How to scale font consistently?
Dear R-users,
I would like to create pdf files with varying paper sizes. The paper
size is determine by the number of plots that I squeeze on a page using
par(mfcol).
I also add text to each of these plots. I observed that depending on the
number of plots per page, the default character size is changing,
leading to differing font sizes in my plot annotations.
I would like to use cex to
2007 Jun 13
1
installing GRASS-R packages
Hi,
I tried to install R packages required for the GRASS-R interface by
using the following command (copied from
http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html):
/install.packages (c("sp", "spgrass6","rgdal","maptools"), dependencies
=TRUE)/
rgdal package was installed successfully;
There were problems to find 'sp' and
2011 Nov 03
1
CentOS-5.7 + megaraid + SELinux : update problem
Hello,
After updating to CentOS-5.7, I have a (small) problem :
The context of /dev/megadev0 is now defined
(in /etc/selinux/targeted/contexts/files/file_contexts) as
system_u:object_r:removable_device_t:s0.
This cause smartmontools to fail :
avc: denied { read write } for pid=2847 comm="smartd"
name="megadev0" dev=tmpfs ino=8284
2011 Aug 29
1
mounting an ext3 filesystem "-o ro"
Hi,
I want to do something *bad* : to mount an already mounted ext3
partition.
Mounting "-o bind" is not an option, this partition is mounted by
different virtual machines. NFS is the right way to go, so I want
another one :-)
I have no problem mounting this partition read-only, but it seems
that actually it is not really read-only. From /var/log/messages :
Aug 29 11:26:43 xen02
2012 May 25
2
support for Broadcom BCM4313
Hello,
The support for Broadcom Corporation BCM4313 802.11b/g/n Wireless is
native in the kernel since 2.6.37 (module brcm80211, renamed brcmsmac
since 2.6.39).
But is it backported to some kernel available for CentOS ?
Thanks,
--
Philippe Naudin
2011 May 31
2
the tag Obsoletes: in spec files
How exactly to use the tag "Obsoletes:" in a spec file ?
I need to offer texlive to users on Centos-5.6, so I packaged it (based
on a Mandriva src.rpm), and that works.
But I want rpm to *replace* tetex by texlive, instead of just adding
texlive, when users do a :
$ yum install texlive
(we have a local repo here).
So I added this line in texlive.spec :
Obsoletes: tetex
and of
2011 Sep 08
1
rsync -x does not do the same on EL 5.6 and 5.7
Hi,
We re doing backups of all filesystems to a dedicated server using "rsync
-x". Now, the latest CentOS versions (5.7/6.x) come with rsync-3.0.6
instead of rsync-2.x. That's nice but unfortunately it doesn't do the same
as 2.x in certain situations.
The problem is with the -x option, which does not delete content under a
mount point anymore. It was my impression that this is
2011 Oct 28
2
read failed after messages of non existing harddisks
Hi,
some time ago I removed some physical disks from a server and now I'm
still getting dmesg messages like:
sd 0:2:2:0: SCSI error: return code = 0x00040001
end_request: I/O error, dev sdc, sector 0
And all lvm tools still grumbel about that disks too:
/dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
/dev/sdb: read failed after 0 of 4096 at 1746969493504:
2012 Nov 23
2
centos 6.3, cron and mail script output
Hi all
I have a '/etc/cron.daily/push-to-backup' script which the content is:
#!/bin/bash
/usr/bin/rsync [... long options line ...]
echo "finished pushing to the backup"
Launched manually, it's OK.
Waiting for cron to execute it,
In the "/var/log/cron", I see the starting time and the finish time, and
I see it take about 10 minutes to make the job.
2009 Aug 25
1
Cannot make 3 different R installations for 3 different valgrind-instrumentation levels
"R Installation and Administration", section 2.5 "Sub-architectures" describes
calling specific builds of R using the call "R --arch=name". I am trying to
build and install three versions of R-2.9.1, each configured with a different
valgrind-instrumentation level ("Writing R Extensions", section 4.3.2 "Using
valgrind"). My goal is to be able to
2008 Oct 21
4
subscripting a one column matrix drops dimension
Hi all,
Why subscripting a one column matrix drops one dimension?
> x<- matrix(rnorm(100), ncol=1)
> str(x)
num [1:100, 1] -0.413 -0.845 -1.625 -1.393 0.507 ...
> str(x[20:30,])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
> str(x[20:30])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
This breaks:
> cov(x)
[,1]
[1,] 0.9600812
>
2024 Feb 05
1
Graceful shutdown doesn't stop all Gluster processes
Hello Everyone,
I am using GlusterFS 9.4, and whenever we use the systemctl command to stop the Gluster server, it leaves many Gluster processes running. So, I just want to check how to shut down the Gluster server in a graceful manner.
Is there any specific sequence or trick I need to follow? Currently, I am using the following command:
[root at master2 ~]# systemctl stop glusterd.service
2014 Apr 10
1
replication + attachment sis + zlib bug ? (HEAD version from xi.rename-it.nl)
Hi,
i have setup with mail_attachment single instance store + replication +
zlib and got this bug when i try to replicate one test mailbox:
On master1 in mail.log:
Apr 10 13:25:22 master1 dovecot:
dsync-local(zzz at blabla666.sk): Error:
read(/nfsmnt/mailnfs1/attachments1/6b/57/6b57ad34cf6c414662233d833a7801fde4e1cdcb-92b5052558774653a728000013e2b982[base64:18
b/l]) failed: Stream is larger than