Re: [R] code for drawing the R logo

2025-06-29 Thread Hasan Diwan
Rajan, https://hasan.d8u.us/Rlogo.svg Best I could do in a pinch. -- H > On 6/27/2025 12:16 PM, Ranjan Maitra via R-help wrote: > >> Hi, > >> > >> Is there code for drawing the R logo? https://www.r-project.org/logo/ > has the logo in svg and png formats, and also > >> the terms of the license, bu

Re: [R] code for drawing the R logo

2025-06-29 Thread J C Nash
https://dahtah.github.io/imager/ascii_art.html Shows the R logo as an ASCII art print. Moreover, I have a UseR! t-shirt from the 2011 conference with this printed on the back. Vaguely recall having the code, but I can't find it now. JN On 2025-06-29 07:49, Robert Baer via R-help wrote: Not an

Re: [R] code for drawing the R logo

2025-06-29 Thread Robert Baer via R-help
Not an expert, but from my read of the explanation you linked, the .svg IS the source.  You could think of it as the source for .svg render engines, On 6/27/2025 12:16 PM, Ranjan Maitra via R-help wrote: Hi, Is there code for drawing the R logo? https://www.r-project.org/logo/ has the logo in

[R] code for drawing the R logo

2025-06-28 Thread Ranjan Maitra via R-help
Hi, Is there code for drawing the R logo? https://www.r-project.org/logo/ has the logo in svg and png formats, and also the terms of the license, but I can not find code to draw this. Many thanks and best wishes, Ranjan __ R-help@r-project.org maili

Re: [R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-21 Thread Paul Sherliker via R-help
Ivan Krylov wrote: >> text(1, 11, "baseline\255defined") >> text(1, 9, "done") >> graphics.off() >> >> They like that dash - but I never knew what it was called. >> >> Recently work updated my PC to the latest version of Windows, and, >> perforce, I updated to the latest version of R (4.4.

Re: [R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-20 Thread Duncan Murdoch
On 2025-02-19 6:36 a.m., Paul Sherliker via R-help wrote: I make graphs, in large quantities, for perfectionists. My bosses do not like the results of text like 'baseline-defined' in graphs; they feel that the resulting dash is too long. For many years, I have been in the habit of producing gr

Re: [R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-20 Thread Ivan Krylov via R-help
В Wed, 19 Feb 2025 11:36:15 + Paul Sherliker via R-help пишет: > text(1, 11, "baseline\255defined") > text(1, 9, "done") > graphics.off() > > They like that dash - but I never knew what it was called. > > Recently work updated my PC to the latest version of Windows, and, > perforce, I updat

[R] Code \255 no longer working to produce a short dash in base R PDF graphs

2025-02-20 Thread Paul Sherliker via R-help
I make graphs, in large quantities, for perfectionists. My bosses do not like the results of text like 'baseline-defined' in graphs; they feel that the resulting dash is too long. For many years, I have been in the habit of producing graphs with shorter dashes as follows: pdf("myfile.pdf") plo

Re: [R] code for year month day hr format

2024-06-17 Thread Jibrin Alhassan
9 343. 14912 129.2 > >>>>> 2012 15 7 3.5 333. 149 7 129.2 > >>>>> 2012 15 8 3.6 341. 149 4 129.2 > >>>>> 2012 15 9 3.7 345. 149 1 129.2 > >>>>> 2012 15 10 3.6 343. 149 2 129.2 > >>>&

Re: [R] code for year month day hr format

2024-06-17 Thread Rui Barradas
215 3 4.9 372. 143-6 138.6 2012 215 4 5.1 371. 143-4 138.6 I want to process it to be of the format as shown below y m d hr imf sws ssnDst f10.7 2012-08-01 10 3.4 403. 132-9 154.6 2012-08-01 12 3.7 388. 132 -10 154.6 2012-08-01 15 3.7 383. 132 -10 154.6

Re: [R] code for year month day hr format

2024-06-17 Thread Jibrin Alhassan
> 2012 18 8 4.7 405. 126-3 143.4 > >>> 2012 18 9 4.8 409. 126-4 143.4 > >>> 2012 18 10 4.9 409. 126-3 143.4 > >>> 2012 18 11 5.0 411. 126-5 143.4 > >>> 2012 18 12 5.1 405. 126-5 143.4 > >>>

Re: [R] code for year month day hr format

2024-06-17 Thread Rui Barradas
2012 215 2 4.9 390. 143-4 138.6 2012 215 3 4.9 372. 143-6 138.6 2012 215 4 5.1 371. 143-4 138.6 I want to process it to be of the format as shown below y m d hr imf sws ssnDst f10.7 2012-08-01 10 3.4 403. 132-9 154.6 2012-08-01 12 3.7 388. 132 -10 1

Re: [R] code for year month day hr format

2024-06-17 Thread Jibrin Alhassan
gt; >> > >> > >> On Sun, Jun 16, 2024 at 8:33 AM Rui Barradas > wrote: > >> > >>> Às 21:42 de 15/06/2024, Jibrin Alhassan escreveu: > >>>> Thank you Rui. I ran the following script > >>>> df1 <- read.table("solar_

Re: [R] code for year month day hr format

2024-06-17 Thread Rui Barradas
2012 215 1 4.9 384. 143-2 138.6 2012 215 2 4.9 390. 143-4 138.6 2012 215 3 4.9 372. 143-6 138.6 2012 215 4 5.1 371. 143-4 138.6 I want to process it to be of the format as shown below y m d hr imf sws ssnDst f10.7 2012-08-01 10 3.4 403. 132-9 154.6 2

Re: [R] code for year month day hr format

2024-06-17 Thread Jibrin Alhassan
214 17 3.9 397. 132 0 154.6 >> >>> 2012 214 18 3.8 390. 132 1 154.6 >> >>> 2012 214 19 4.2 400. 132 2 154.6 >> >>> 2012 214 20 4.6 408. 132 1 154.6 >> >>> 2012 214 21 4.8 401. 132-3 154.6 >>

Re: [R] code for year month day hr format

2024-06-16 Thread Jibrin Alhassan
54.6 > >>> 2012 214 17 3.9 397. 132 0 154.6 > >>> 2012 214 18 3.8 390. 132 1 154.6 > >>> 2012 214 19 4.2 400. 132 2 154.6 > >>> 2012 214 20 4.6 408. 132 1 154.6 > >>> 2012 214 21 4.8 401. 132 -3 154

Re: [R] code for year month day hr format

2024-06-16 Thread Rolf Turner
On Sun, 16 Jun 2024 08:33:03 +0100 Rui Barradas wrote: > Hello, > > There is an error in your new code: > > > paste YEAR with DOY, not with HR. > > > As for the rest, is your real data like the one you posted before? > If it is then I don't see anything wrong with my (tested) solution. >

Re: [R] code for year month day hr format

2024-06-16 Thread Rui Barradas
12-08-01 10 3.4 403. 132-9 154.6 2012-08-01 12 3.7 388. 132 -10 154.6 2012-08-01 15 3.7 383. 132 -10 154.6 2012-08-01 17 3.7 391. 132-9 154.6 I want to request an R code to accomplish this task. Thanks for your time. *Jibrin Adejoh Alha

Re: [R] code for year month day hr format

2024-06-15 Thread Jeff Newmiller via R-help
t; 2012 214 23 5.0 386. 132-1 154.6 >> > 2012 215 0 5.0 377. 143-1 138.6 >> > 2012 215 1 4.9 384. 143-2 138.6 >> > 2012 215 2 4.9 390. 143-4 138.6 >> > 2012 215 3 4.9 372. 143-6 138.6 >> > 2

Re: [R] code for year month day hr format

2024-06-15 Thread Jibrin Alhassan
384. 143-2 138.6 > > 2012 215 2 4.9 390. 143-4 138.6 > > 2012 215 3 4.9 372. 143-6 138.6 > > 2012 215 4 5.1 371. 143 -4 138.6 > > I want to process it to be of the format as shown below > > y m d hr imf sws ssnDst f10.7 > > 2012-0

Re: [R] code for year month day hr format

2024-06-15 Thread Ebert,Timothy Aaron
- df_date2[ , -c(2, 9, 10)] # Reorganize columns to desired locations df_date2 <- df_date2[, c("YEAR", "M", "D", "IMF", "SW", "SSN", "Dst", "f10.7")] # Rename "Year" to "Y" names(df_date2)[names(

Re: [R] code for year month day hr format

2024-06-15 Thread Rui Barradas
. 132 -10 154.6 2012-08-01 17 3.7 391. 132-9 154.6 I want to request an R code to accomplish this task. Thanks for your time. *Jibrin Adejoh Alhassan (Ph.D)* Department of Physics and Astronomy, University of Nigeria, Nsukka [[alternative HTML version deleted

[R] code for year month day hr format

2024-06-15 Thread Jibrin Alhassan
154.6 I want to request an R code to accomplish this task. Thanks for your time. *Jibrin Adejoh Alhassan (Ph.D)* Department of Physics and Astronomy, University of Nigeria, Nsukka [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Rui Barradas
o see where the error occurred. Ding From: Rui Barradas Sent: Wednesday, June 12, 2024 11:29 AM To: Yuan Chun Ding ; CALUM POLWART Cc: r-help@r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code Hello, Inline. Às 19: 03 de 12/06/2024, Yuan Chun Ding

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Yuan Chun Ding via R-help
: Rui Barradas Sent: Wednesday, June 12, 2024 11:29 AM To: Yuan Chun Ding ; CALUM POLWART Cc: r-help@r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code Hello, Inline. Às 19: 03 de 12/06/2024, Yuan Chun Ding via R-help escreveu: > I am sorry that I know

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Rui Barradas
first line my code, it will work again and then I will track down. Thank you, Ding From: CALUM POLWART Sent: Wednesday, June 12, 2024 10:52 AM To: Yuan Chun Ding Cc: r-help@r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code I sometimes think

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Yuan Chun Ding via R-help
down. Thank you, Ding From: CALUM POLWART Sent: Wednesday, June 12, 2024 10:52 AM To: Yuan Chun Ding Cc: r-help@r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code I sometimes think people on this list are quite rude to posters. I'm afrai

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread CALUM POLWART
I sometimes think people on this list are quite rude to posters. I'm afraid I'm likely to join in with some rudeness? 1. "Here is some code that works but also doesn't" is probably not going to get you an answer 2. I provide no information about the data it works on or doesn't 3. I tell you I'm u

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Ebert,Timothy Aaron
your code uses the function in a way that is only supported in the masked package. Tim -Original Message- From: R-help On Behalf Of Yuan Chun Ding via R-help Sent: Wednesday, June 12, 2024 12:28 PM To: r-help@R-project.org (r-help@r-project.org) Subject: [R] my R code worked well when

Re: [R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Bert Gunter
I am assuming from your message that *exactly* the same code you show was rerun and yielded different results. If that be so, I doubt that this can be answered without knowing what that other R code did -- and perhaps not even then -- and/or whether any of that code changed your data frame

[R] my R code worked well when running the first 1000 lines of R code

2024-06-12 Thread Yuan Chun Ding via R-help
Hi R users, The following code worked well to summarize four data groups in a dataframe for three variables (t_depth, t_alt_count, t_alt_ratio), 12 columns of summary, see attached. However, after running another 2000 lines of R codes using functions from more than 10 other R libraries, then i

Re: [R] R code for overlapping variables -- count

2024-06-03 Thread Ebert,Timothy Aaron
dalgaard Sent: Monday, June 3, 2024 5:02 AM To: Shadee Ashtari Cc: r-help@r-project.org Subject: Re: [R] R code for overlapping variables -- count [External Email] If they are binary (0/1 dummies), can't you just "&" them as in table(Female & USA & MidIncome) (or sum()

Re: [R] R code for overlapping variables -- count

2024-06-03 Thread peter dalgaard
If they are binary (0/1 dummies), can't you just "&" them as in table(Female & USA & MidIncome) (or sum() if you don't care about the number of 0s) -pd > On 2 Jun 2024, at 00:31 , Shadee Ashtari wrote: > > Hi! > > I am trying to find the code for how to get counts for intersectional > varia

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Rui Barradas
Às 18:40 de 02/06/2024, Rui Barradas escreveu: Às 18:34 de 02/06/2024, Leo Mada via R-help escreveu: Dear Shadee, If you have a data.frame with the following columns: n = 100; # population size x = data.frame(   Sex = sample(c("M","F"), n, T),   Country = sample(c("AA", "BB", "US"), n,

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Leo Mada via R-help
Correcting a small glitch - see new code. From: Leo Mada Sent: Sunday, June 2, 2024 8:34 PM To: Shadee Ashtari Cc: r-help@r-project.org Subject: [R] R code for overlapping variables -- count Dear Shadee, If you have a data.frame with the following columns: n

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Rui Barradas
Às 18:34 de 02/06/2024, Leo Mada via R-help escreveu: Dear Shadee, If you have a data.frame with the following columns: n = 100; # population size x = data.frame(   Sex = sample(c("M","F"), n, T),   Country = sample(c("AA", "BB", "US"), n, T),   Income = as.factor(sample(1:3, n, T)

[R] R code for overlapping variables -- count

2024-06-02 Thread Leo Mada via R-help
Dear Shadee, If you have a data.frame with the following columns: n = 100; # population size x = data.frame(   Sex = sample(c("M","F"), n, T),   Country = sample(c("AA", "BB", "US"), n, T),   Income = as.factor(sample(1:3, n, T)) ) # Dummy variable ONE = rep(1, nrow(x)) r = aggrega

Re: [R] R code for overlapping variables -- count

2024-06-02 Thread Duncan Murdoch
On 2024-06-01 6:31 p.m., Shadee Ashtari wrote: Hi! I am trying to find the code for how to get counts for intersectional variables. For example, I have three unique categorical variables -- "Female," "USA," and "MidIncome" -- and I'm trying to see how many people I have at the intersection of th

[R] R code for overlapping variables -- count

2024-06-02 Thread Shadee Ashtari
Hi! I am trying to find the code for how to get counts for intersectional variables. For example, I have three unique categorical variables -- "Female," "USA," and "MidIncome" -- and I'm trying to see how many people I have at the intersection of the three. Thank you so much, Shadee [[al

Re: [R] Code editor for writing R code

2023-11-30 Thread Dr Eberhard W Lisse
Sublime Text. On all platforms. On 29/11/2023 17:57, Christofer Bogaso wrote: > Hi, > > Currently I use VS-Code to write codes in R. While it is very good, it > does not allow me to write Latex expressions in comments, which I am > willing to have to write corresponding mathematical expressions a

Re: [R] Code editor for writing R code

2023-11-30 Thread Ivan Krylov
В Wed, 29 Nov 2023 21:27:37 +0530 Christofer Bogaso пишет: > Does there exist any Code editor for R, that allows me to write Latex > in comments? While I cannot guarantee that you'll like it, may I suggest GNU Emacs? Its R support is provided by the ESS package , and

Re: [R] Code editor for writing R code

2023-11-29 Thread Duncan Murdoch
ergei Ko wrote: TeX Comments extension in VS Code Sent from my phone Original message From: Christofer Bogaso Date: Wed, 29 Nov 2023, 15:57 To: r-help Subject: [R] Code editor for writing R code Hi, Currently I use VS-Code to write codes in R. While it is very good, it

Re: [R] Code editor for writing R code

2023-11-29 Thread Jeff Newmiller via R-help
phone >> > >> > >> > Original message >> > From: Christofer Bogaso >> > Date: Wed, 29 Nov 2023, 15:57 >> > To: r-help >> > Subject: [R] Code editor for writing R code >> > >> > Hi, >> > >>

Re: [R] Code editor for writing R code

2023-11-29 Thread Eric Berger
Wed, Nov 29, 2023 at 9:34 PM Sergei Ko wrote: > > > > TeX Comments extension in VS Code > > > > > > > > > > Sent from my phone > > > > > > Original message > > From: Christofer Bogaso > > Date: Wed, 29

Re: [R] Code editor for writing R code

2023-11-29 Thread Christofer Bogaso
Wed, 29 Nov 2023, 15:57 > To: r-help > Subject: [R] Code editor for writing R code > > Hi, > > Currently I use VS-Code to write codes in R. While it is very good, it > does not allow me to write Latex expressions in comments, which I am > willing to have to write correspon

Re: [R] Code editor for writing R code

2023-11-29 Thread Bert Gunter
This might be of use to you: https://everyday.codes/tutorials/how-to-use-latex-in-rmarkdown/ -- Bert On Wed, Nov 29, 2023 at 8:21 AM Bert Gunter wrote: > > I believe RMarkdown can use and render latex comments. RStudio/Posix > provides ide extensions (e.g. R Notebooks) that seem to do what you

Re: [R] Code editor for writing R code

2023-11-29 Thread Bert Gunter
I believe RMarkdown can use and render latex comments. RStudio/Posix provides ide extensions (e.g. R Notebooks) that seem to do what you want, but I have no experience with them. As Ben suggested, there are likely others, depending on exactly what you want to do. -- Bert On Wed, Nov 29, 2023 at 7

Re: [R] Code editor for writing R code

2023-11-29 Thread Eric Berger
Another direction would be to replace your R script (.R file) with a Quarto document (.qmd file). VS-code has good support for Quarto and you could intersperse your Latex with R chunks. On Wed, Nov 29, 2023 at 6:15 PM Ben Bolker wrote: > > > >Presumably there's nothing stopping you *writing*

Re: [R] Code editor for writing R code

2023-11-29 Thread Ben Bolker
Presumably there's nothing stopping you *writing* LaTeX in comments -- do you want a code editor that will render and display the LaTeX as you write? (Or am I misunderstanding something?) Does anyone do classic literate programming *sensu* Knuth any more? https://rpubs.com/bbolker/3153

[R] Code editor for writing R code

2023-11-29 Thread Christofer Bogaso
Hi, Currently I use VS-Code to write codes in R. While it is very good, it does not allow me to write Latex expressions in comments, which I am willing to have to write corresponding mathematical expressions as comments in my code files. Does there exist any Code editor for R, that allows me to w

Re: [R] Problem in R code

2023-11-09 Thread Ivan Krylov
В Wed, 8 Nov 2023 16:03:15 +0530 Crown Flame пишет: > for(i in 1:8) > { > LST_city <- extract(LST, c(lon[i],lat[i]), fun = mean, buffer = > 1, na.rm = TRUE) #error > } Three things you might need to change: 1. You are trying to assign the output of extract() to the same variable LST_cit

[R] Problem in R code

2023-11-09 Thread Crown Flame
Good afternoon, I have been working on my thesis project on the topic "Urban Heat Island Pattern in India". To achieve the results I am applying a* two-dimensional Gaussian fit* on an LST raster of 1 km spatial resolution but I am facing two errors in the following code. library(raster) LST <- ras

Re: [R] R Code Execution taking forever

2022-04-24 Thread Paul Bernal
n with run time and trial size should let you > estimate run time for 1 million. > > > Tim > > -Original Message- > From: R-help On Behalf Of Rui Barradas > Sent: Sunday, April 24, 2022 5:44 AM > To: Paul Bernal ; R > Subject: Re: [R] R Code Execution taking

Re: [R] R Code Execution taking forever

2022-04-24 Thread Ebert,Timothy Aaron
ial size should let you estimate run time for 1 million. Tim -Original Message- From: R-help On Behalf Of Rui Barradas Sent: Sunday, April 24, 2022 5:44 AM To: Paul Bernal ; R Subject: Re: [R] R Code Execution taking forever [External Email] Hello, I'm having trouble running

Re: [R] R Code Execution taking forever

2022-04-24 Thread Rui Barradas
Hello, Thanks for the link, the package is TeachingDemos, it's the function that's named dice. And the source code shows that it calls sample() in a way similar to mine, so the code I posted should give approximately the same results. To run just once, change to K <- 1L, right before the mai

Re: [R] R Code Execution taking forever

2022-04-24 Thread Rui Barradas
Hello, I'm having trouble running the code, where does function dice come from? CRAN package dice only has two functions, getEventProb getSumProbs not a function dice. Can you post a link to where the package/function can be found? Rui Barradas Às 02:00 de 24/04/2022, Paul Bernal escreveu:

Re: [R] R Code Execution taking forever

2022-04-23 Thread Jim Lemon
HI Paul, I had a problem a bit like this when trying to implement the Lim-Wolfe imputation for ranks. The size of the output matrix increases exponentially with the size of the initial matrix and it goes into disk-swapping slow motion. It works for small matrices, but rapidly runs out of memory. I

Re: [R] Naming files within R code

2022-03-20 Thread Rui Barradas
Hello, You can read in the files in a `lapply` loop, assign the result to a list, say df_list, and names(df_list) <- c("tay","forth","don") list2env(df_list, envir = globalenv()) This creates 3 data.frames with those names in the global environment. Hope this helps, Rui Barradas Às 22:02

[R] Naming files within R code

2022-03-20 Thread Nick Wray
HelloI have data from various Scottish river catchments in the form of csv files. I want to be able to download the files in turn and refer to each one by an assigned name from a vector of names, but within R. So, for example, if my vector of names is c("tay","forth","don") I want to tell R t

Re: [R] Repeating a R code and counting how many repetitions working

2021-12-11 Thread varin sacha via R-help
Dear Rui, Many thanks, I got it now, thanks. In my R code, I have moved the replication term N <-1000 out <- replicate(N, { This time I get what I am looking for. library(boot) s<- sample(178:798, 1, replace=TRUE) mean(s) N <

Re: [R] Repeating a R code and counting how many repetitions working

2021-12-11 Thread Rui Barradas
ter mean(.) is a mean of an indicator function given by a logical conjunction. And there are only TRUE's. Hope this helps, Rui Barradas Às 15:37 de 11/12/21, varin sacha escreveu: Dear Rui, I really thank you a lot for your response. Even if I don't fully understand your

Re: [R] Repeating a R code and counting how many repetitions working

2021-12-11 Thread varin sacha via R-help
Dear Rui, I really thank you a lot for your response. Even if I don't fully understand your R code, there is something strange happening while running the code. Indeed, I have run this R code here below 20 times and I always got the same answer :

Re: [R] Repeating a R code and counting how many repetitions working

2021-12-11 Thread Rui Barradas
mean(s) & mean(s) < out[2,]) Hope this helps, Rui Barradas Às 10:47 de 11/12/21, varin sacha via R-help escreveu: Dear R-experts, Here below my R code. I am trying to do 2 things : 1) I would like to repeat this R code 1 times 2) Out of the 1 repetitions I would have liked

[R] Repeating a R code and counting how many repetitions working

2021-12-11 Thread varin sacha via R-help
Dear R-experts, Here below my R code. I am trying to do 2 things : 1) I would like to repeat this R code 1 times 2) Out of the 1 repetitions I would have liked R to tell me how many times the "true" mean value of the population called "s" in my R example here below

Re: [R] Code problem with R/Microeconomics

2021-11-01 Thread Eric Berger
Hi Olga, There are many people reading this list who are happy to try to help. Please provide some additional information about what you are trying to do and where you are stuck. Good luck, Eric On Mon, Nov 1, 2021 at 9:49 PM Olga Pervushina wrote: > > > Dear Sir/Madam, > > I am working on a sta

[R] Code problem with R/Microeconomics

2021-11-01 Thread Olga Pervushina
Dear Sir/Madam, I am working on a statistical evaluation with R at the Erasmus University and have a problem with one coding sentense. Who can help me with that? Thank you. Kind regards, Olga Pervushina [[alternative HTML version deleted]] _

Re: [R] R code in RData

2021-10-28 Thread Martin Maechler
> Bert Gunter > on Wed, 27 Oct 2021 10:47:14 -0700 writes: > See ?load, but you may be confused. Strictly speaking, there is no code in > an .Rdata file, only a (typically binary, but possibly ascii) > representation of objects, usually as produced by ?save. Of course,

Re: [R] R code in RData

2021-10-28 Thread Martin Maechler
unty" comic strip ) >> >> >> On Wed, Oct 27, 2021 at 10:18 AM Bogdan Tanasa wrote: >> >>> Dear all, would you please advice : >>> >>> I have an Rdata file, what is the way to print the R code that has bee

Re: [R] R code in RData

2021-10-27 Thread Jeff Newmiller
ert Gunter > >"The trouble with having an open mind is that people keep coming along and >sticking things into it." >-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > >On Wed, Oct 27, 2021 at 10:18 AM Bogdan Tanasa wrote: > >>

Re: [R] R code in RData

2021-10-27 Thread Bert Gunter
would you please advice : > > I have an Rdata file, what is the way to print the R code that has been > used inside the Rdata file ? > > thank you, > > Bogdan > > [[alternative HTML version deleted]] > > __ > R

[R] R code in RData

2021-10-27 Thread Bogdan Tanasa
Dear all, would you please advice : I have an Rdata file, what is the way to print the R code that has been used inside the Rdata file ? thank you, Bogdan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

Re: [R] [R Code] Split long names in format.ftable

2021-09-17 Thread Leonard Mada via R-help
Dear List members, I have uploaded an improved version on Github. The function is now fully functional: - justify: left, right, cent...: TODO centre vs center; - sep: separator when printing; - pos: Top, Bottom; TODO: Middle; see: https://github.com/discoleo/R/blob/master/Stat/Tools.Data. I

Re: [R] [R Code] Split long names in format.ftable

2021-09-15 Thread Leonard Mada via R-help
Dear List members, I have uploaded an improved version on Github: - new option: align top vs bottom; Functions: split.names: splits and aligns the names; merge.align: aligns 2 string matrices; ftable2: enhanced version of format.ftable (proof of concept); see: https://github.com/discoleo/R/blob

[R] [R Code] Split long names in format.ftable

2021-09-14 Thread Leonard Mada via R-help
Dear List members, I wrote some code to split long names in format.ftable. I hope it will be useful to others as well. Ideally, this code should be implemented natively in R. I will provide in the 2nd part of the mail a concept how to actually implement the code in R. This may be interesti

Re: [R] showing the complexity of r code.....

2021-08-27 Thread Jiefei Wang
Hi, It all depends on the R skill level of your audience. If they are also programmers, show them your Github page and a list of the packages you made would be great. If they do not have any R experience, do some work on R shiny, tell them you can do all kinds of magic things with the data, and vi

Re: [R] showing the complexity of r code.....

2021-08-27 Thread Eric Berger
One approach would be to put some (non-confidential) projects on a site such as GitHub so that people can examine your work. Sent from my iPhone > On 27 Aug 2021, at 9:18, akshay kulkarni wrote: > > dear members, >I am a stock trader and a data science freelancer.

[R] showing the complexity of r code.....

2021-08-26 Thread akshay kulkarni
dear members, I am a stock trader and a data science freelancer. I am weighing the advantages of taking a R course in coursera to show my proficiency in R in some freelancing sites. But I have already done extensive research on Stock trading and data science, using R

Re: [R] securing R code....

2020-10-27 Thread PIKAL Petr
kulkarni > Sent: Monday, October 26, 2020 3:18 PM > To: R help Mailing list > Subject: [R] securing R code > > dear members, > I am a stock trader. I am using R for my research. > > I want to service my laptop, wherein resides all my R co

Re: [R] securing R code....

2020-10-26 Thread Eric Berger
stock trader. I am using R for my > research. > > > > I want to service my laptop, wherein resides all my R code, which, for > obvious reasons, has to be secured. I am using Windows 7 Ultimate. > > > > I cannot encrypt the R data by Bitdefender, as it encrypts the entire &g

Re: [R] securing R code....

2020-10-26 Thread David Winsemius
On 10/26/20 7:17 AM, akshay kulkarni wrote: dear members, I am a stock trader. I am using R for my research. I want to service my laptop, wherein resides all my R code, which, for obvious reasons, has to be secured. I am using Windows 7 Ultimate. I cannot

Re: [R] securing R code....

2020-10-26 Thread Bert Gunter
ot;Bloom County" comic strip ) On Mon, Oct 26, 2020 at 7:18 AM akshay kulkarni wrote: > dear members, > I am a stock trader. I am using R for my > research. > > I want to service my laptop, wherein resides all my R code, which, for > obvious

[R] securing R code....

2020-10-26 Thread akshay kulkarni
dear members, I am a stock trader. I am using R for my research. I want to service my laptop, wherein resides all my R code, which, for obvious reasons, has to be secured. I am using Windows 7 Ultimate. I cannot encrypt the R data by Bitdefender, as it encrypts the

Re: [R] Help in R code

2020-10-18 Thread Martin Møller Skarbiniks Pedersen
I think you first should read and understand this: https://stackoverflow.com/help/minimal-reproducible-example and https://stackoverflow.com/help/how-to-ask On Sun, Oct 18, 2020, 11:57 Faheem Jan via R-help wrote: > Good morning, Please help me to code this code in R. > I working in the multiva

[R] Help in R code

2020-10-18 Thread Faheem Jan via R-help
Good morning,  Please help me to code this code in R. I working in the multivariate time series data, know my objective is that to one year forecast of the hourly time series data, using first five as a training set and the remaining one year as validation. For this  I transform the the data int

Re: [R] Need help in R code of the functional data .

2020-10-17 Thread Richard O'Keefe
I do not understand your question. Are you talking about "functional data analysis", the statistical analysis of data where some of the covariates are (samples from) continuous functions? There are books and tutorials about doing that in R. Are you talking about "functional data structures", as

Re: [R] Need help in R code of the functional data .

2020-10-16 Thread Rui Barradas
Hello, You have asked several times about functional data, I really do not understand what you mean but if you want to learn about writing R functions, take a look at doc/manual/R-intro.pdf, that comes with any installation of R, chap. 10 Writing your own functions. And at any of Hadley Wi

[R] Need help in R code of the functional data .

2020-10-16 Thread Ablaye Ngalaba
Hello, Please, I want to know how the functional data are defined in programming code R. If possible an illustrative example of code can help me to understand better. Yours sincerely. [[alternative HTML version deleted]]

Re: [R] help for R code

2020-10-13 Thread Eric Berger
Hi Ablaye, The CRAN repository has thousands of available R packages. To help people find relevant packages amid such a huge collection, there are some 'task view' pages that group packages according to a particular task. I am guessing that you are interested in kernels because of their use in mach

[R] help for R code

2020-10-13 Thread Ablaye Ngalaba
Good morning dear administrators, Please help me to code this code in R. I use in this file the redescription function Φ which by making a scalar product gives a . You can also choose instead of the redescription function Φ a kernel k(x,x). Sincerely [[alternative HTM

Re: [R] Help in R code

2020-10-04 Thread Rui Barradas
Hello, This is cross-posted, you have posted the same question in SO[1]. Cross-posting is not well seen, post the question in one place and please wait a few days for an answer before posting here. [1] https://stackoverflow.com/questions/64197235/forecasting-of-multivariate-data-through-vecto

[R] Help in R code

2020-10-04 Thread Faheem Jan via R-help
Hello , i am working in the functional time series using themultivariate time series data(hourly time series data). Sir  i am usingFAR model more than one order for which no statistical package is available inR, so for this i convert my data into functional form and obtained thefunctional princi

Re: [R] help in R code

2020-10-02 Thread Jim Lemon
Hi Faheem, This is a complete guess, but the hours of the day may range from 0 to 23 not 1 to 24. So you may be asking for an out of range hour. Jim On Fri, Oct 2, 2020 at 10:00 PM Faheem Jan via R-help wrote: > > > Hello , i am working in the functional time series using the multivariate > tim

[R] help in R code

2020-10-02 Thread Faheem Jan via R-help
Hello , i am working in the functional time series using the multivariate time series data(hourly time series data). Sir  i am using FAR model more than one order for which no statistical package is available in R, so for this i convert my data into functional form and obtained the functional

Re: [R] Some R code works on Linux, but not Linux via Windows Subsystem Linux

2020-09-08 Thread Tomas Kalibera
On 9/8/20 5:51 AM, Robert Knight wrote: RE: Some R code works on Linux, but not Linux via Windows Subsystem Linux This is taking data from a CSV and placing it into a data frame. This is R 3.6.3 inside Windows Subsystem for Linux v2, Ubuntu 18.04. The exact same code, unchanged and on the

Re: [R] Some R code works on Linux, but not Linux via Windows Subsystem Linux

2020-09-08 Thread Eric Berger
M Robert Knight wrote: > RE: Some R code works on Linux, but not Linux via Windows Subsystem Linux > > This is taking data from a CSV and placing it into a data frame. This is R > 3.6.3 inside Windows Subsystem for Linux v2, Ubuntu 18.04. The exact same > code, unchanged and on the

[R] Some R code works on Linux, but not Linux via Windows Subsystem Linux

2020-09-08 Thread Robert Knight
RE: Some R code works on Linux, but not Linux via Windows Subsystem Linux This is taking data from a CSV and placing it into a data frame. This is R 3.6.3 inside Windows Subsystem for Linux v2, Ubuntu 18.04. The exact same code, unchanged and on the same computer, works correctly in Ubuntu

Re: [R] Code seems OK (no warnings, no error messages) but no results

2020-03-18 Thread varin sacha via R-help
Dear R Experts, So I managed to get the first part of my R code to work with one error message but R still gives me the result I am looking for. Now I'm trying to calculate the bootstrap confidence interval around the "MSE_fastMM" value. The end of my code after mean(my.data

Re: [R] Code seems OK (no warnings, no error messages) but no results

2020-03-18 Thread peter dalgaard
The double curlies in > my.experiment <- function() {{ look suspicious. -pd > On 16 Mar 2020, at 22:08 , varin sacha via R-help > wrote: > > Good afternoon, > > Here below my reproducible R code. I don't get any results. I am looking for > MSE_fastMM va

[R] Code seems OK (no warnings, no error messages) but no results

2020-03-16 Thread varin sacha via R-help
Good afternoon, Here below my reproducible R code. I don't get any results. I am looking for MSE_fastMM value and the bootstrap CIs around MSE_fastMM value. How can I finish/correct my R code to get the results ? Many thanks for your help. install.packages( "

Re: [R] R code required

2019-12-23 Thread Jeff Newmiller
t to help me about to send the R Code of paper which title >Inference of Generalized endpoint inflated binomial regression . In . > 2017 >Best Regards >Salwa. A.Mousa > >Sent from my Samsung device > > [[alternative HTML version deleted]] > >__

  1   2   3   4   5   6   7   8   9   10   >