Displaying 20 results from an estimated 2000 matches similar to: "Lattice: how to reduce/shrink plot area"
2024 Feb 26
1
igraph_vertex
Dear Kimmo
First of all many thanks for the valuable advice to publish code and csv. Noted.
Yes, "edge.width= E(.)$weight" makes definitively sense.
In the following code, which loads the tiff file, I get the following error
tiff("figures/AES_network_bymembership.tiff", width=1000, height=700, res=120)
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
2024 Feb 26
1
igraph_vertex
Hi,
a quick additional note: try
"edge.width= E(.)$weight"
instead of the current "edge.width= network". Seems to work and makes a
visible difference...
HTH,
Kimmo
su, 2024-02-25 kello 19:11 +0000, Kimmo Elo kirjoitti:
>
> Hi again,
>
> your code is still not reproducible without modifications, but I
> succeed in getting the data straight. All
2001 Apr 11
1
Problems with NT logons, Samba as PDC
Hi!
We're using Samba as PDC, and recently had a strange crash on the
system (none of the NT-machines authenticated anymore). I re-created
the user database and passwords on the server (TurboLinux 2.2.14-5,
with Samba 2.0.6 & 2.1alpha for auth.) and also re-newed the profiles
making 'em local on the NT-workstations.
Sometimes when the NT-PC gets rebooted, I can't authenticate it
2001 Oct 31
3
Samba network recycle bin
>>>Is there a way we can recover deleted files in samba
>>>shared folders??
>> on ext2 part. u can undelete files with mc.
>Or use the "network recycle bin" patch, from
>http://www.amherst.edu/~bbstone/howto/samba.html
How come this is not implemented to the official
version of Samba? Would be quite useful. Anyone
tried this patch with 2.2.2 yet?
2024 Feb 25
1
igraph_vertex
Hi again,
your code is still not reproducible without modifications, but I
succeed in getting the data straight. All read.csv-command are missing
'sep="\t"', it is need to read you tsv-data.
And it could be more reproducible if you used e.g.
--- snip ---
aes<-read.csv(text=" A.A B.B C.C D.D E.E F.F
A.A 0 0 5 5 5 5
B.B 4 0 1 1 1 1
C.C 5 5 0 5 4 2
D.D 5 0 5 0 5 3
E.E
2012 Mar 08
1
Adding mean line to a lattice density plot
Hi!
I have used the following command:
densityplot(~PV1CIV, groups=SGENDER, data=ISGFINC2,
lwd=2, col=1, lty=c(1,2), pch=c("+","o"),
key=list(text=list(lab=levels(ISGFINC2$SGENDER), col=1),
space="bottom", columns=2, border=T, lines=T, lwd=2,
lty=c(1,2), col=1), ref=T, plot.points=F)
to produce a lattice density plot presenting the distribution of
2010 Apr 29
2
C5: correct place for routing scripts?
Hello
I have several Centos 4 and Centos 5 servers. Because of the nature of
the environment, there are some static arp entries made with arp
command and then source routing made with "ip rule/ip route"
-commands.
Those commands are now placed at /etc/rc.d/rc.local which is bad: if
server is rebooted, those commands will be done correctly but if
administrator restarts network with
2024 Feb 24
1
igraph_vertex
On 2/24/24 12:10, Kimmo Elo wrote:
> Hi,
>
> first of all, your example was not reproducible! But once I added
> "library(igraph)" and "library(scico)" plus generally replaced
> "aes_collapsed" by "edge_list", I started to work :-)
After copying your lead in that replacement the error I got was:
network <-
2008 Jan 16
3
Grouping data
Hi,
I am quite new to R (but like it very much!), so please apologize if
this is a too simple question.
I have a large data frame consisting of data from a survey. There is,
for example, information about age and education (a numeric value from
1-9). Now I would like to extract the total amount of each type of
education within different age groups (e.g. from 18 to 25, from 25 to
35 etc.).
2012 Dec 12
1
/usr/src/sys/conf/newvers.sh, SYSDIR set to wrong directory.
Hello,
My 9-STABLE buildworld broke in a very inexplicable way, I was
getting an error on /usr/src/include/osreldate.h that I couldn't
figure out until I started looking at the sys/conf/newvers.sh and what
it does. It turned out that the thing that broke my buildworld was
having .git directory at the root directory of the system because I
recently started using GIT to track the configuration
2009 Mar 17
1
How to get usb storage under /media in runlevel 3?
Hello
I have previously used Centos 4.x in runlevel 3, when I plug in my usb
storage device/cd in cd-rom, it is shown under /media, for example
/media/MyUsbStick.
Now in Centos 5.2, when I insert usb storage device, nothing is shown
under /media (runlevel 3). When I have runlevel 5 and X running, usb
stick / cdrom is automounted fine.
I can mount the stick using /dev/xxx device, but would
2004 Aug 03
1
Unmet dependency prevents r-gnome installation in Debian stable (PR#7151)
Full_Name: Kimmo Uusitalo
Version: 1.8.0-1
OS: Debian 3.0 "Woody"
Submission from: (NULL) (128.214.205.4)
r-gnome 1.8.0-1 requires gdk-imlib2 which is not available in Debian 3.0 stable.
I have the following in /etc/apt/sources.list :
deb http://cran.r-project.org/bin/linux/debian woody main
Btw, it would be very nice to have the newest version of R even for Debian
stable.
2024 Mar 22
1
geom_edge & color
Hi,
this seems to work (assuming that your problem was the setting of
colours...):
--- snip ---
network %>%
ggraph(., layout = "auto") +
# This produces an error...
# geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10),
color=c("darkblue", "red")[as.factor(edge_list$relationship)], alpha=0.5))
+
# ... this works :-)
2024 Oct 25
1
readLines() and unz() and non-empty final line
Hi,
you could use "scan" instead, it seems to work fine also when wrapped
around "unz".
Or, alternatively, you could use "unzip" instead of "unz". It works as
expected, i.e. reads the last incomplete line and throws a warning about
this.
So it seems to me that "unz" creates a non-blocking connection, whereas
"unzip" creates a
2013 Feb 07
2
CLANG and -fstack-protector
Hello,
Does the -fstack-protector option work on CLANG 3.1 and 3.2?
There is thread on FreeBSD forums about the stack protector and ports
and I'm wondering if it's possible to use the -fstack-protector option
with CLANG.
http://forums.freebsd.org/showthread.php?t=36927
-Kimmo
2008 May 06
2
Lattice problems / cannot load lattice
Hi,
My problem is simple: since having updated the lattice package, I cannot
load lattice anymore. If I type in the command 'library(lattice)' the
loading fails with the following message:
--- cut here ---
Error in library.dynam(lib, package, package.lib) :
shared library 'lattice' not found
In addition: Warning messages:
1: In loadNamespace(package, c(which.lib.loc,
2012 Aug 02
1
Cannot install the 'igraph' package
Hi!
I want to use R for network analysis and have tried to install the
'igraph' package. Unfortunately, the installation is aborted by an error:
--snip--
gcc -std=gnu99 -I/usr/lib64/R/include -DNDEBUG -I/usr/local/include
-DUSING_R -I. -Ics -Iglpk -Iglpk/amd -Iglpk/colamd -I/usr/local/include
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables
2024 Feb 05
1
Help
Hi,
the command line with 'text' should be:
text(-8,-8, expression(R^2 * " = 0.62, r = 0.79, N = 161"), cex = 2 )
Best,
Kimmo
su, 2024-02-04 kello 17:16 +0100, Jibrin Alhassan kirjoitti:
> Here is the script I used to plot the graph indicating the text I
> wanted to
> insert. The line in the script that I have issues with is: text(-8,-
> 8,
> "R^2=?
2024 Feb 25
1
igraph_vertex
Dear coummunity
Thanks a lot to David and Kimmo. Yes I see now that I need to provide the two raw tables. Find here the reproducible example.
Kind regards
Sibylle
# R-labraries
library(circlize)
library(ggplot2)
library(igraph)
library(tidyverse)
library(RColorBrewer)
library(stringi)
library(scico)
library(plotly)
library(ggraph)
# Tables
aes<-read.csv("Test_adjac.csv",
2024 Feb 24
1
igraph_vertex
Hi,
first of all, your example was not reproducible! But once I added
"library(igraph)" and "library(scico)" plus generally replaced
"aes_collapsed" by "edge_list", I started to work :-)
Anyway, the error is produced by this line:
+ edge.width= network,
It seems to me that you have forgotten to name a variable here (you now
use the whole network