Hello Ivan, thanks for this.
> Part of the problem is that it's not obvious what should be a
> zero-column but non-zero-row data.frame mean.
>
> On the one hand, your database relation use case is entirely valid. On
> the other hand, if data.frames are considered to be tables of data with
>
Hello Mark,
В Fri, 5 Apr 2024 03:58:36 + (UTC)
Mark Webster via R-help пишет:
> I found what looks to me like an odd edge case for duplicated(),
> unique() etc. on data frames with zero columns, due to duplicated()
> returning a zero-length vector for them, regardless of the number of
>
Hello,
I found what looks to me like an odd edge case for duplicated(), unique() etc.
on data frames with zero columns, due to duplicated() returning a zero-length
vector for them, regardless of the number of rows:
df <- data.frame(a = 1:5)df$a <- NULLnrow(df) # 5 (row count preserved by
Note:
> levels(factor(c(0,0,1))) ## just gives you the levels attribute
[1] "0" "1"
> as.character(factor(c(0,0,1))) ## gives you the level of each value in
the vector
[1] "0" "0" "1"
Does that answer your question or have I misunderstood.
Cheers,
Bert
On Tue, Apr 2, 2024 at 12:00 AM Kimmo
Using levels rather than length might cause problems. 2024 1, 1, 0, 0 will have
a different number of levels than 2024, 3, 8, 0, 0 and I cannot assume that the
two tailing zeros are zero for all records. The code can be simplified if you
can assume more. It might require more work if I have
Already did...
On Tue, Apr 2, 2024 at 10:45 AM Eric Berger wrote:
>
> According to https://cran.r-project.org/web/packages/genoPlotR/index.html
> the maintainer of genoPlotR is
>
> Lionel Guy
>
> Send your question also to him.
>
> On Tue, Apr 2, 2024 at 11:27 AM Luigi Marongiu
> wrote:
> >
>
According to https://cran.r-project.org/web/packages/genoPlotR/index.html
the maintainer of genoPlotR is
Lionel Guy
Send your question also to him.
On Tue, Apr 2, 2024 at 11:27 AM Luigi Marongiu wrote:
>
> I would like to use your genoPlotR package
> (doi:10.1093/bioinformatics/btq413) to
I would like to use your genoPlotR package
(doi:10.1093/bioinformatics/btq413) to compare the genomes of two
isolates of E. coli K-12 that I have. One is a K-12 that was in my
lab's fridge; the other is a derivative of K-12 bought some time ago,
HB101.
I tried to use genoPlotR, but I could not
Hi,
why would this simple procedure not work?
--- snip ---
mydf <- data.frame(id_station = 1234, string_data = c(2024, 12, 1, 0, 0),
rainfall_value= 55)
mydf$string_data <- as.factor(mydf$string_data)
values<-as.integer(levels(mydf$string_data))
for (i in 1:length(values)) {
My rbook project may be of interest to other ESS users.
It is a project I wrote in Go (golang) that mirrors
the R session (text commands, text outputs, and plots)
to a web browser.
This makes it easy for me to work on a remote linux
box but see all the graphics (without
having to run a local X
That did it. Thanks,
Kevin
On Sun, Mar 31, 2024, 7:17 AM Stephen J. Eglen wrote:
>
>
> hi Kevin, Rodney,
>
> I think the variable and setting you are looking for is:
>
> (setq ess-startup-directory 'default-directory)
>
> Best wishes,
>
> Stephen
>
>
>
>
>
>
>
> On Sun, Mar 31 2024, Kevin
hi Kevin, Rodney,
I think the variable and setting you are looking for is:
(setq ess-startup-directory 'default-directory)
Best wishes,
Stephen
On Sun, Mar 31 2024, Kevin Coombes via ESS-help wrote:
I don't know where this "feature" lives in the code. But it
might help find
it to
I don't know where this "feature" lives in the code. But it might help find
it to know that it does the same thing in any git project or subversion
project, even if it isn't an R package.
Hopefully, someone can track it down, since I view it as a bug I want to
remove, and not a feature.
Best,
Oops…
More details…
(ess-version)
"ess-version: 24.01.1 [] (loaded from
/usr/local/emacs/29.2/share/emacs/site-lisp/ess/lisp/)"
emacs-version
"29.2"
When I have (setq ess-ask-for-ess-directory t)
then it prompts me: but the prompted default
is for the root of the R package rather than
Hi ESS-help:
When I am working on an R script that is not part of an R package,
then ess-set-working-directory does what would be expected, i.e.,
on a launch of R it does setwd() to the buffer�s default-directory.
However, when I am in, say, the demo directory of an R package,
then it doesn�t.
Hello,
I am interested in running generalized estimating equation models in R.
Currently there are two main packages for doing so in R, geepack and gee. I
understand that even though one can obtain similar to almost identical
results using either of the two, that there are differences between the
This is great!
Many thanks to all for helping to further resolve the problem.
Best wishes
Ogbos
On Fri, Mar 29, 2024 at 6:39 AM Rui Barradas wrote:
> Às 01:43 de 29/03/2024, Ogbos Okike escreveu:
> > Dear Rui,
> > Thanks again for resolving this. I have already started using the version
> >
Às 01:43 de 29/03/2024, Ogbos Okike escreveu:
Dear Rui,
Thanks again for resolving this. I have already started using the version
that works for me.
But to clarify the second part, please let me paste the what I did and the
error message:
set.seed(2024)
data <- data.frame(
+Date =
I would guess your version of R is earlier than 4.1, when the built-in pipe was
introduced to the language
On March 28, 2024 6:43:05 PM PDT, Ogbos Okike wrote:
>Dear Rui,
>Thanks again for resolving this. I have already started using the version
>that works for me.
>
>But to clarify the second
Dear Deepayan,
Thanks for your kind response.
Regards
Ogbos
On Thu, Mar 28, 2024 at 3:40 AM Deepayan Sarkar
wrote:
> For more complicated examples, the (relatively new) array2DF()
> function is also useful:
>
> > with(data, tapply(count, Date, mean)) |> array2DF()
> Var1Value
> 1
Dear Rui,
Thanks again for resolving this. I have already started using the version
that works for me.
But to clarify the second part, please let me paste the what I did and the
error message:
> set.seed(2024)
> data <- data.frame(
+Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1
Here are some pieces of working code. I assume you want the second one or the
third one that is functionally the same but all in one statement. I do not
understand why it is a factor, but I will assume that there is a current and
future reason for that. This means I cannot alter the string_data
On 28/03/2024 7:48 a.m., Stefano Sofia wrote:
as.factor(2024, 12, 1, 0, 0)
That doesn't work. You need to put the numbers in a single vector as
Fabio did, or you'll see this:
Error in as.factor(2024, 12, 1, 0, 0) : unused arguments (12, 1, 0, 0)
Duncan Murdoch
Sorry for my hurry.
The correct reproducible code is different from the initial one. The correct
example is
mydf <- data.frame(id_station = 1234, string_data = as.factor(2024, 12, 1, 0,
0), rainfall_value= 55)
In this case mydf$string_data is a factor, but of length 1 (and not 5 like in
Thank you Fabio.
So easy and straighforward!
Stefano
(oo)
--oOO--( )--OOo--
Stefano Sofia PhD
Civil Protection - Marche Region - Italy
Meteo Section
Snow Section
Via del Colle Ameno 5
60126 Torrette di Ancona, Ancona (AN)
Uff: +39 071 806 7743
Hi Stefano,
maybe something like this can help you?
myfactor <- as.factor(c(2024, 2, 1, 0, 0))
# Convert factor values to integers
first_element <- as.integer(as.character(myfactor)[1])
second_element <- as.integer(as.character(myfactor)[2])
third_element <- as.integer(as.character(myfactor)[3])
Dear R-list users,
forgive me for this silly question, I did my best to find a solution with no
success.
Suppose I have a factor type like
myfactor <- as.factor(2024, 2, 1, 0, 0)
There are no characters (and therefore strsplit for eample does not work).
I need to store separately the 1st,
For more complicated examples, the (relatively new) array2DF()
function is also useful:
> with(data, tapply(count, Date, mean)) |> array2DF()
Var1Value
1 2024-03-23 5.416667
2 2024-03-24 5.50
3 2024-03-25 6.00
4 2024-03-26 4.476190
5 2024-03-27 6.538462
6 2024-03-28 5.20
Às 08:58 de 27/03/2024, Ogbos Okike escreveu:
Dear Rui,
Nice to hear from you!
I am sorry for the omission and I have taken note.
Many thanks for responding. The second solution looks elegant as it quickly
resolved the problem.
Please, take a second look at the first solution. It refused to
I've got it now working locally so that the aspect ratio is the
same size
as the window that you use to view the svg. This I think is
more flexible.
Looking forward to that functionality :-)
Version 2 is now live for testing:
code: https://github.com/sje30/ess-unigd/tree/main/v2
Dear Rui,
Nice to hear from you!
I am sorry for the omission and I have taken note.
Many thanks for responding. The second solution looks elegant as it quickly
resolved the problem.
Please, take a second look at the first solution. It refused to run. Looks
as if the pipe is not properly
Às 04:30 de 27/03/2024, Ogbos Okike escreveu:
Warm greetings to you all.
Using the tapply function below:
data<-read.table("FD1month",col.names = c("Dates","count"))
x=data$count
f<-factor(data$Dates)
AB<- tapply(x,f,mean)
I made a simple calculation. The result, stored in AB, is of the
Warm greetings to you all.
Using the tapply function below:
data<-read.table("FD1month",col.names = c("Dates","count"))
x=data$count
f<-factor(data$Dates)
AB<- tapply(x,f,mean)
I made a simple calculation. The result, stored in AB, is of the form
below. But an effort to write AB to a file as a
Fragile and probably a bad idea, but:
"%.%" <- function(x,y) { assign(deparse(substitute(x)), y,
parent.frame()); print(y) }
> a %.% "hello"
[1] "hello"
> a
[1] "hello"
Not sure how much value this has over other idioms such as wrapping
the assignment in parentheses, which makes
Just FYI, the R interpreter typically saves the last value returned briefly
in a variable called .Last.value that can be accessed before you do anything
else.
> sin(.5)
[1] 0.4794255
> temp <- .Last.value
> print(temp)
[1] 0.4794255
> sin(.666)
[1] 0.6178457
> .Last.value
[1] 0.6178457
> temp
[1]
Your desire is not unusual among novices... but it is really not a good idea
for your function to be making those decisions. Look at how R does things:
The lm function prints nothing... it returns an object containing the result of
a linear regression. If you happen to call it directly from the
I just like the subroutine to spit out results (Mean, Std.dev, etc.) and
also be able to access the results for further processing, i.e.,
v$Mean
v$Std.dev
On 3/26/2024 11:24 AM, Richard O'Keefe wrote:
Not clear what you mean by "saved".
If you call a function and the result is printed, the
dstat4 <- function(data) {
Mean<- apply(data, 2, mean, na.rm=TRUE)
Std.dev <- apply(data, 2, sd, na.rm=TRUE)
Min <- apply(data, 2, min, na.rm=TRUE)
Max <- apply(data, 2, max, na.rm=TRUE)
Obs <- dim(data)[1]
data.frame(Mean, Std.dev, Min, Max, Obs)
}
## don't round inside a
Not clear what you mean by "saved".
If you call a function and the result is printed, the result is
remembered for a wee while in
the variable .Last.value, so you can do
> function.with.interesting.result(...)
> retained.interesting.result <- .Last.value
or even
> .Last.value ->
How can I have both printout and saved results at the same time.
The subroutine first return "out" and the printout gets printed, but not
saved.
I then run the "invisible" line. Results got saved and accessible but no
printout.
How can I have both printout and also have the results saved?
What is your actual problem that you are trying to solve by comparing
imaginary numbers?
The reals are an ordered field.
The complex numbers are a field but cannot support an ordering that is
consistent with
the field (or even ring) axioms.
The imaginary numbers are not a field or even a ring.
To
Hi
I would not describe myself as a heavy user of this stuff (either
Windows or animation) - are you able to share your examples ?
Paul
On 26/03/24 04:23, Michael L Friendly wrote:
Hi Paul
Is there a concrete working example somewhere that shows how to use
these to do an animation on
On Mon, 25-March-2024, at 11:21:26, Stephen J Eglen
wrote:
>> - I works perfectly for me in two different machines (both running
>> Debian and Emacs 29.2.50)
>
> Thanks for confirming.
>
>> - Maybe I am not understanding
>>
That's hard to define unambiguously at a mathematical level. What
definition did you have in mind? Can you provide more context? (Maybe
you want to compare Mod(x) to Mod(y) ?)
On 2024-03-25 3:23 a.m., Thomas K wrote:
Needing a < , > comparison for imaginary numbers
Hi Paul
Is there a concrete working example somewhere that shows how to use these to do
an animation on Windows (R Gui &/or RStudio) using base R plot() and friends?
I have several old examples somewhere that used to work (R < ~ 3), but now no
longer work as before.
Date: Mon, 25 Mar 2024
?complex
On March 25, 2024 12:23:43 AM PDT, Thomas K wrote:
>Needing a < , > comparison for imaginary numbers
>
>__
>R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the
Hi Thomas,
If you want to compare the imaginary portions, you could do:
Im(z1) < Im(z2)
If you want to compare the magnitudes, you could do:
Mod(z1) < Mod(z2)
If you want to compare complex numbers, i.e. z1 < z2, well that just
doesn't make sense.
On Mon, Mar 25, 2024, 10:17 Thomas K
Needing a < , > comparison for imaginary numbers
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
- I works perfectly for me in two different machines (both running
Debian and Emacs 29.2.50)
Thanks for confirming.
- Maybe I am not understanding
https://github.com/sje30/ess-unigd#adjust-to-size-of-buffer--dynamically-update
, but resize of image (on changing frame and window sizes)
For questions like this, go to the manual.
Visit cran.r-project.org
The nav-bar on the left includes
"Documentation/Manuals/FAQ/Contributed". Click on Manuals.
Look at "An Introduction to R" and click on the HTML link for the
current release
(this is the first link on the page)
Scroll down to
Hi
Take a look at dev.hold() and dev.flush()
Paul
On 23/03/24 06:43, Bickis, Mikelis wrote:
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))
As with a lot of things in R, the behaviour is counterintuitive but
(arguably) logical. The key (maybe) is that `a[-x]` does not mean "take
all of the elements of a except those indicated by `x`, but rather,
"negate x, then take all but the negative elements". In other words,
-integer(0)
To the R-Help list,
I would like to have a clarification about an issue that I observe when
subsetting a vector. This is R version 4.3.3 on Windows 10.
-- Example with a vector:
> a <- 1:5
> a
[1] 1 2 3 4 5
So we have, with a negative index:
> a[-3]
[1] 1 2 4 5
But when the index is
Wow! This is really nice! Thanks, Stephen and Rodney!!
A few comments:
- I works perfectly for me in two different machines (both running Debian and
Emacs 29.2.50)
- Maybe I am not understanding
https://github.com/sje30/ess-unigd#adjust-to-size-of-buffer--dynamically-update
, but resize of
Dear Kommo
Many thanks for the valuable solution.
Sibylle
-Original Message-
From: R-help On Behalf Of Kimmo Elo
Sent: Friday, March 22, 2024 12:10 PM
To: r-help@r-project.org
Subject: Re: [R] geom_edge & color
Hi,
this seems to work (assuming that your problem was the setting of
A search on "make animated plots in R" brought up many hits and the
gganimate package (and maybe others, as I didn't scroll through).
Bert
On Fri, Mar 22, 2024, 18:45 Bickis, Mikelis wrote:
> Hello:
>
> I want to present a sequence of plots as an animation. As a toy example
> consider the
В 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
>
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
В 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
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
В 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
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", :
> >
В 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
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
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
Oh, yeah, sorry that was stupid. So now I have execute permission.
But, this is what latest.svg shows now…
Status: 404
Reason: Not Found
--
Rodney Sparapani, Associate Professor of Biostatistics, He/Him/His
Vice President, Wisconsin Chapter of the American Statistical Association
Institute for
Hi Stephen:
With emacs v29.2, I keep getting this error and I can.t figure
out why.
apply: Searching for program: Permission denied,
./check_outputs.pl
I have perl and curl installed. So this what I see.
hi Rodney,
did you do:
chmod +x ./check_outputs.pl
and that the perl script is in
Hi Stephen:
With emacs v29.2, I keep getting this error and I can�t figure out why�
apply: Searching for program: Permission denied, ./check_outputs.pl
I have perl and curl installed. So this what I see�
> options(width=80, length=9)
> setwd('/home/rsparapa')
> require(httpgd)
Loading
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",
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
That looks cool!
I don't understand the code, but seeing it only took 20 lines, maybe it's
something I could figure out.
Great start!
- tyler
--
plantarum.ca
On Thu, Mar 21, 2024, at 5:30 PM, Stephen J. Eglen via ESS-help wrote:
> This is an itch I've had for ESS for probably at least 10
>
This is an itch I've had for ESS for probably at least 10
years... how
to get R plots displayed dynamically in an Emacs buffer?
See code [1] and demo [2] for a proof of concept. Feedback (and
any
expertise with websockets) welcome!
Best wishes,
Stephen
[1]
В Thu, 21 Mar 2024 18:45:35 +
Jorgen Harmse via R-help пишет:
> The problem may have been that this package is so important to me
> that I put it in .Rprofile. The package was not installed for the new
> version of R, so every R session started with an annoying error
> message. Presumably a
> Turns out that RStudio replaces the install.packages object in the utils
> package.
> Duncan Murdoch
So RStudio unlocks the bindings and alters the exported environment? That seems
like another reason to stick to the terminal interface.
>> Thank you. tools:::.install_packages works.
> I'm
Thank you Duncan, you explained quite a bit.
I am unclear how this change causes the problem the OP mentioned.
It is an example of people using a clever trick to get what they think they
want that could be avoided if the original program provided a hook. Of
course the hook could be used more
I think this might be a good conversation for someone to have with
the Posit folks
* is there a more transparent way to do what they want?
* either, long-term, by having utils::install_packages() add a
'hook' feature as mentioned by someone
* using a similar method to
I posted a description of their changes this morning.
Duncan Murdoch
On 21/03/2024 11:37 a.m., avi.e.gr...@gmail.com wrote:
With all this discussion, I shudder to ask this. I may have missed the
answers but the discussion seems to have been about identifying and solving
the problem rapidly
With all this discussion, I shudder to ask this. I may have missed the
answers but the discussion seems to have been about identifying and solving
the problem rapidly rather than what maybe is best going forward if all
parties agree.
What was the motivation for what RSTUDIO did for their version
Is your Fedora machine using the bspm package with bspm::enable() in
the .Rprofile (to install binary packages from the r2u repository)?
bspm adds a hook by using trace() on install.packages, which makes it
look like this.
My guess is that if you start with --vanilla *or* run
If you are wondering why RStudio did this, you can see their substitute
function using
(parent.env(environment(install.packages)))$hook
They appear to do these things:
- Allow package installation to be disabled.
- Check if a package to be installed is already loaded, so that
RStudio
[forgot to copy to R-help so re-sending]
-- Forwarded message --
Date: Thu, 21 Mar 2024 11:41:52 +
From: luke-tier...@uiowa.edu
To: Duncan Murdoch
Subject: Re: [External] Re: [R] Building Packages.
At least on my installed version (which tells me it is out of date)
they
Yes, you're right. The version found in the search list entry for
"package:utils" is the RStudio one; the ones found with two or three
colons are the original.
Duncan Murdoch
On 21/03/2024 5:48 a.m., peter dalgaard wrote:
Um, what's with the triple colon? At least on my install, double
Dear Sibylle,
your example is not working! E.g. no data for "aes_collapsed".
Best,
Kimmo
ke, 2024-03-20 kello 19:28 +0100, SIBYLLE STÖCKLI via R-help kirjoitti:
> Dear community
>
> I am using ggraph to plot a network analysis. See part 2 in the working
> example.
> Besides different colors
Um, what's with the triple colon? At least on my install, double seems to
suffice:
> identical(utils:::install.packages, utils::install.packages)
[1] TRUE
> install.packages
function (...)
.rs.callAs(name, hook, original, ...)
-pd
> On 21 Mar 2024, at 09:58 , Duncan Murdoch wrote:
>
> The
The good news for Jorgen (who may not be reading this thread any more)
is that one can still be sure of getting the original install.packages()
by using
utils:::install.packages( ... )
with *three* colons, to get the internal (namespace) version of the
function.
Duncan Murdoch
On
> Ben Bolker
> on Wed, 20 Mar 2024 13:25:33 -0400 writes:
>Hmm, looks platform-specific. Under Linux both RStudio
> and external R console return
> a0b52513622c41c11e3ef57c7a485767
> for digest::digest(install.packages)
Well, platform-specific maybe, notably
> "Duncan Murdoch on Wed, 20 Mar 2024 13:20:12 -0400 writes:
> On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
>> On 20/03/2024 12:37 p.m., Ben Bolker wrote:
>>> Ivan, can you give more detail on this? I've heard this
>>> issue mentioned, but when I open RStudio and run
В Wed, 20 Mar 2024 19:26:53 +
Jorgen Harmse пишет:
> Thank you. tools:::.install_packages works.
I'm glad it works, but it shouldn't be necessary to use (and is not
part of the API: not documented to keep working this way).
Since you're already using devtools, perhaps devtools::install
Thank you. tools:::.install_packages works.
It happens that one of the functions in my package is a utility to build
packages. I guess I should change the install step.
Regards,
Jorgen.
#' Build package from source
#'
#' \code{roxygen2} & \code{devtools} have several steps to build a
В Wed, 20 Mar 2024 17:00:34 +
Jorgen Harmse пишет:
> Thank you, but I think I was already using utils.
>
> Regards,
> Jorgen.
>
>
> > environment(install.packages)
>
>
>
> >
I was thinking of making it Open Source, but I haven’t yet. It’s mostly a
collection of small utility functions (more oxygen comments than actual code).
I built the package on my Windows machine a few months ago, but my Mac first
wouldn’t install roygen2 & devtools and now (with the latest
Dear community
I am using ggraph to plot a network analysis. See part 2 in the working
example.
Besides different colors for different groups of nodes:
--> geom_node_point(aes(size = V(network)$hub_score*200, color=
as.factor(V(network)$community)))
I additionally want to consider different
Hmm, looks platform-specific. Under Linux both RStudio and external
R console return
a0b52513622c41c11e3ef57c7a485767
for digest::digest(install.packages)
On 2024-03-20 1:20 p.m., Duncan Murdoch wrote:
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker
В Wed, 20 Mar 2024 12:37:39 -0400
Ben Bolker пишет:
> Ivan, can you give more detail on this? I've heard this issue
> mentioned, but when I open RStudio and run find("install.packages")
> it returns "utils::install.packages", and running dump() from within
> RStudio console and from an
On 20/03/2024 1:07 p.m., Duncan Murdoch wrote:
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
Is the source for your package online somewhere?
Duncan Murdoch
On 20/03/2024 1:00 p.m., Jorgen Harmse via R-help wrote:
Thank you, but I think I was already using utils.
Regards,
Jorgen.
environment(install.packages)
On 20/03/2024 12:37 p.m., Ben Bolker wrote:
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R
Thank you, but I think I was already using utils.
Regards,
Jorgen.
> environment(install.packages)
> utils::install.packages('/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz',type='source',repos=NULL)
Error in library(jhBase) : there is no package called �jhBase�
Ivan, can you give more detail on this? I've heard this issue
mentioned, but when I open RStudio and run find("install.packages") it
returns "utils::install.packages", and running dump() from within
RStudio console and from an external "R --vanilla" gives identical results.
I thought at
В Wed, 20 Mar 2024 16:02:27 +
Jorgen Harmse via R-help пишет:
> > install.packages(tar,type='source',repos=NULL)
>
> Error in library(jhBase) : there is no package called ‘jhBase’
>
> Execution halted
>
> Warning in install.packages(tar, type = "source", repos = NULL) :
>
>
501 - 600 of 269142 matches
Mail list logo