similar to: installing and loading packages

Displaying 20 results from an estimated 5000 matches similar to: "installing and loading packages"

2018 Mar 01
0
Script file bug
Please always reply-all so the mailing list can record the answer along with your question. I am cc'ing this time. Thanks for the unusual case. -- Sent from my phone. Please excuse my brevity. On March 1, 2018 12:46:53 AM PST, zn l <esetlzn at gmail.com> wrote: >It is my mistake. I find that I input # character in the Chinese. The >R.app won?t display any error messages. >
2017 Jun 30
0
Different date formats in one column
Left as an exercise for the student. -- Sent from my phone. Please excuse my brevity. On June 29, 2017 7:25:36 PM EDT, Farnoosh Sheikhi <farnoosh_81 at yahoo.com> wrote: >Thanks Jeff. This is a nice way of solving this problem. What about the >cases with 0015-02-21?Many thanks.?Best,Farnoosh > > > >On Wednesday, June 28, 2017 10:49 PM, Jeff Newmiller ><jdnewmil at
2018 Mar 30
0
getting all circular arrangements without accounting for order
New function below is a bit faster due to more efficent memory handling. for-loop FTW! directionless_circular_permutations2 <- function( n ) { n1 <- n - 1L v <- seq.int( n1 ) ix <- combinations( n1, 2L ) jx <- permutations( n-3L, n-3L ) jxrows <- nrow( jx ) jxoffsets <- seq.int( jxrows ) result <- matrix( n, nrow = factorial( n1 )/2L, ncol = n ) k
2018 Mar 27
1
unable to move temporary installation of package
I don't believe I've gotten a reply from a Kevin Thorpe. -------- Original message -------- From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Date: 3/27/18 5:57 PM (GMT-05:00) To: Paul Lantos <paul.lantos at duke.edu> Cc: r-help at r-project.org Subject: RE: [R] unable to move temporary installation of package Have you investigated the issue Kevin Thorpe suggested? -- Sent
2018 Jan 08
0
Replace NAs in split lists
Because you need to separate the instructions with a ; (semi-colon). Hope this helps Rui Barradas Enviado a partir do meu smartphone Samsung Galaxy.-------- Mensagem original --------De: Ek Esawi <esawiek at gmail.com> Data: 08/01/2018 16:03 (GMT+00:00) Para: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>, r-help at r-project.org Assunto: Re: [R] Replace NAs in split lists Thank you
2018 Mar 27
0
unable to move temporary installation of package
Have you investigated the issue Kevin Thorpe suggested? -- Sent from my phone. Please excuse my brevity. On March 27, 2018 2:31:31 PM PDT, Paul Lantos <paul.lantos at duke.edu> wrote: >I deleted my library, reinstalled R, and had the same issue -- couldn't >install anything into its newly created library. > >-----Original Message----- >From: Jeff Newmiller
2012 Jan 07
2
Help
--------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded
2011 Mar 11
1
Error in plot.lm
I am encountering an error with plot.lm: > tstdf <- data.frame( y=c(1.01,1.98,3.02,3.99),x=c(1,2,3,4)) > plot(lm(I(y) ~ x, data=tstdf)) Hit <Return> to see next plot: Hit <Return> to see next plot: Error in object$coefficients : $ operator is invalid for atomic vectors Obviously I don't need the I() in this example, but I have been working with regressions that involve
2006 Dec 29
0
BradleyTerry "subscript out of bounds"
I don't see the problem with the following... the citations and baseball data work fine, but my simulated data seems to give BTm a headache. What am I missing? --- library(BradleyTerry) library(doBy) ng <- 100 players <- factor( sort( c( "jeff", "mike", "paul", "rich" ) ) ) np <- length( players ) p1 <- factor( c( rep( "jeff", ng )
2017 Jun 29
1
Different date formats in one column
Thanks Jeff. This is a nice way of solving this problem. What about the cases with 0015-02-21?Many thanks.?Best,Farnoosh On Wednesday, June 28, 2017 10:49 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: I doubt your actual file looks like the mess that made it to my email software (below) because you posted HTML-format email. Read the Posting Guide, and in particular
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
So you are saying there are two problems... one that produces a corrupt file from a valid compressed file, and one that segfaults when presented with that corrupt file? Can you please confirm the file name and run md5sum on it and share the result so we can tell when the file problem has been reproduced? -- Sent from my phone. Please excuse my brevity. On July 16, 2017 3:21:21 AM PDT, Anthony
2017 Jul 17
1
readLines without skipNul=TRUE causes crash
hi, thanks again for taking the time. since corrupted compression prompted the segfault for me in the first place, i've just posted the text file as-is. it's a 2.4GB file so to be avoided on a metered internet connection. i've updated the bugzilla report at https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17311 with more relevant info. these lines of code crash both windows R
2017 Jun 07
0
Adding zeros in each dimension of an array
Please read https://www.lifewire.com/how-to-send-a-message-in-plain-text-from-gmail-1171963 Re your question: easy is in the eye of the beholder. a <- array( 1:12, dim = c( 2, 2, 3 ) ) b <- array( 0, dim = dim( a ) + 1 ) b[ 1:2, 1:2, 1:3 ] <- a If you want to do a lot of this, it could be wrapped for convenience though implementing that last expression without hardcoding the sequences
2017 Jul 16
0
readLines without skipNul=TRUE causes crash
I am stuck. The archive package won't compile for me on Ubuntu, and the CRANextra repo seems to be down so I cannot install packages on Windows right now. Perhaps you can zip the corrupt text file and put it online somewhere? Don't use the archive package to pack it since there seem to be issues with that tool on your machine. I would discourage you from harassing the Brazilian
2011 Nov 12
1
With an example - Re: rbind.data.frame drops attributes for factor variables
When I use rbind() or rbind.data.frame() to add a row to an existing dataframe, it appears that attributes for the column of type "factor" are dropped. See the sample example below to reproduce the problem. Please suggest How I can fix this. Thanks, Sammy a=c("Male", "Male", "Female", "Male") b=c(1,2,3,4) c=c("great", "bad",
2005 Jul 16
1
Confidence Intervals for Arbitrary Functions
I have a rather basic background in statistics, and am looking for assistance in solving what I expect is a common type of problem. I have measurements of physical processes, and mathematical models of those processes that I want to feed the measurements into. A simple case is using measurements of electric power entering and leaving a power conversion device, sampled at regular intervals, and
2017 Jul 17
0
readLines without skipNul=TRUE causes crash
The original file had a lot of trailing null bytes so I tried making a similar file with: tf <- tempfile(); file <- file(tf, "wb") for(i in 1:(2^15-1))writeBin(rep(as.raw(32:127), len=2^16), file) for(i in 1:(2^15-1))writeBin(rep(as.raw(0L), len=2^16), file) close(file) log2(file.size(tf)) #[1] 31.99996 Reading this with readLines() caused R-3.4.0 to segfault in Rf_con_pushback
2018 Mar 27
2
unable to move temporary installation of package
I deleted my library, reinstalled R, and had the same issue -- couldn't install anything into its newly created library. -----Original Message----- From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.ca.us] Sent: Tuesday, March 27, 2018 2:26 PM To: Paul Lantos <paul.lantos at duke.edu> Cc: r-help at r-project.org Subject: RE: [R] unable to move temporary installation of package Do you
2018 Mar 27
0
unable to move temporary installation of package
Do you have other instances of R open at the time you are doing this? Did you already have mgcv installed in your personal library when you tried installing it again? There is clearly something preventing you from writing to your library, or at least to specific packages in your library. On Tue, 27 Mar 2018, Paul Lantos wrote: > Thanks, > > Here's the error, for example: >
2018 Jan 08
1
Replace NAs in split lists
OPS! Sorry i did indeed posted the code in HTML; should have known better. ifelse(is.na(z$Value),z$Value[!is.na(z$Value)][1],z$Value)z}) error. unexpected symbol in sdf2 On Mon, Jan 8, 2018 at 11:44 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > I don't know. You seem to be posting in HTML so your code is mangled. Can you post plain text and use the reprex package to