Dear community
Find enclosed the full working example.
Many thanks
Sibylle
Test_cat.csv
Names
Subcategory_type
sources.cyto
source
Factor
A.A
material
"A"
A
1
B.B
material
"B"
B
1
C.C
regulation
"C"
C
1
D.D
regulation
"D"
D
1
E.E
habitat
"E"
E
1
F.
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$relatio
Hello:
I want to present a sequence of plots as an animation. As a toy example
consider the code
function(n){for (i in 1:n){
plot(1:100,sin(i*(1:100)),type="l")
title(paste("n=",i))
segments(0,0,100,0,col=2)
}}
This sort-of works on a MacOS platform, but the rendering of the plots is a bit
c
Hi all,
I am creating an X1.RData file using the R 4.2.2 library.
x1.R
save(datafilename, file="X1.RData")
When I am trying to load this file using another script
X2.R
load("X1.RData")
I am getting this error message:
Error in load("X1.RData", :
bad restore file magic number (file may
В Fri, 22 Mar 2024 14:02:09 -0500
Val пишет:
> X2.R
> load("X1.RData")
>
> I am getting this error message:
> Error in load("X1.RData", :
> bad restore file magic number (file may be corrupted) .. no data
> loaded.
This error happens very early when R tries to load the file, right
at the fir
Yes, X1.RData is large(more than 40M rows) .
How do I get the first few bytes?
On Fri, Mar 22, 2024 at 2:20 PM Ivan Krylov wrote:
>
> В Fri, 22 Mar 2024 14:02:09 -0500
> Val пишет:
>
> > X2.R
> > load("X1.RData")
> >
> > I am getting this error message:
> > Error in load("X1.RData", :
> > ba
В Fri, 22 Mar 2024 14:31:17 -0500
Val пишет:
> How do I get the first few bytes?
What does file.info('X1.RData') say?
Do you get any output if you run print(readBin('X1.RData', raw(), 128))?
If this is happening on a Linux or macOS machine, the operating system
command xxd -l 128 X1.RData wi
Here is the first few bytes,
xxd -l 128 X1.RData
: 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5..N.\W/..
0010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?.
0020: 66ce 0ebb 2057 ec36 55b4 0ece a036 695a f... W.6U6iZ
0030: 258b 3493 b661 f620 f7fe ada7 158a 1
В Fri, 22 Mar 2024 14:52:05 -0500
Val пишет:
> : 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5..N.\W/..
> 0010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?.
Thank you!
This doesn't look like any structured data to me. In particular, it
doesn't look like something wri
Dear ladies and gentlemen,
I have recently installed the latest version of R (4.3.3) for windows. Now I
have the following problems with mutated vowels like �, �, etc. Here is an
example:
If I type the command:
Dir <- "C/Users/macho/Documents/_LVn/Experimentelle �bungen"
in the R console there i
В Fri, 22 Mar 2024 16:11:14 +
MACHO Siegfried via R-help пишет:
> If I type the command:
> Dir <- "C/Users/macho/Documents/_LVn/Experimentelle _bungen"
> in the R console there is no problem. However, if I put the same
> command into a source file (e.g. Test.r) and call this file from R
> (vi
11 matches
Mail list logo