[R] Updating Rcpp package when it is claimed by dplyr

Patrick Connolly p_connolly at slingshot.co.nz
Fri Feb 2 22:35:07 CET 2018


On Fri, 02-Feb-2018 at 10:25AM +0100, peter dalgaard wrote:

|> Or, to avoid accusing you of lying. what you think is "vanilla"
|> probably isn't. What exactly did you do? On Unix-likes, I would do
|> something like this

|> echo 'options(repos=list(CRAN="cran.r-project.org"));install.packages("Rcpp")' | R --vanilla
|> 
|> (or maybe https://cloud.r-project.org is better...)

Thanks for the suggestion.  

I simply did 
R -- vanilla

I tried it again this morning so that I could compare the output.
However, it *worked* fine -- just as I thought it would done
yesterday.  Why it didn't work yesterday is a mystery.

I've had a few other things behaving strangely on this machine so
there might be an OS issue, not an R issue.

Thanks for taking the time.

Patrick

|> 
|> -pd
|> 
|> 
|> 
|> > On 2 Feb 2018, at 08:15 , Jeff Newmiller <jdnewmil at dcn.davis.CA.us> wrote:
|> > 
|> > Your last statement is extremely unlikely to be true. The dplyr package should not be present in a vanilla environment, so there should be no such conflict. 
|> > -- 
|> > Sent from my phone. Please excuse my brevity.
|> > 
|> > On February 1, 2018 11:00:01 PM PST, Patrick Connolly <p_connolly at slingshot.co.nz> wrote:
|> >> When i  tried to install the hunspell package, I got this error
|> >> message:
|> >> 
|> >> Error: package ‘Rcpp’ 0.12.3 was found, but >= 0.12.12 is required by
|> >> ‘hunspell’
|> >> 
|> >> So I set about installing a new version of Rcpp but I get this message:
|> >> 
|> >> Error in unloadNamespace(pkg_name) : 
|> >> namespace ‘Rcpp’ is imported by ‘dplyr’ so cannot be unloaded
|> >> 
|> >> How does one get around that?  I tried installing Rcpp in a vanilla
|> >> session but the result was the same.
|> >> 
|> >> TIA
|> >> Patrick
|> >> 
|> >> 
|> >>> sessionInfo()
|> >> R version 3.4.3 (2017-11-30)
|> >> Platform: x86_64-pc-linux-gnu (64-bit)
|> >> Running under: Ubuntu 14.04.5 LTS
|> >> 
|> >> Matrix products: default
|> >> BLAS: /home/pat/local/R-3.4.3/lib/libRblas.so
|> >> LAPACK: /home/pat/local/R-3.4.3/lib/libRlapack.so
|> >> 
|> >> locale:
|> >> [1] LC_CTYPE=en_NZ.UTF-8       LC_NUMERIC=C              
|> >> [3] LC_TIME=en_NZ.UTF-8        LC_COLLATE=en_NZ.UTF-8    
|> >> [5] LC_MONETARY=en_NZ.UTF-8    LC_MESSAGES=en_NZ.UTF-8   
|> >> [7] LC_PAPER=en_NZ.UTF-8       LC_NAME=C                 
|> >> [9] LC_ADDRESS=C               LC_TELEPHONE=C            
|> >> [11] LC_MEASUREMENT=en_NZ.UTF-8 LC_IDENTIFICATION=C       
|> >> 
|> >> attached base packages:
|> >> [1] utils     stats     grDevices graphics  methods   base     
|> >> 
|> >> other attached packages:
|> >> [1] lattice_0.20-35
|> >> 
|> >> loaded via a namespace (and not attached):
|> >> [1] compiler_3.4.3 magrittr_1.5   R6_2.1.2       assertthat_0.1
|> >> parallel_3.4.3
|> >> [6] tools_3.4.3    DBI_0.3.1      dplyr_0.4.3    Rcpp_0.12.3   
|> >> grid_3.4.3    
|> >> 
|> >> 
|> >> -- 
|> >> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
|> >> 
|> >>  ___    Patrick Connolly   
|> >> {~._.~}                   Great minds discuss ideas    
|> >> _( Y )_  	         Average minds discuss events 
|> >> (:_~*~_:)                  Small minds discuss people  
|> >> (_)-(_)  	                      ..... Eleanor Roosevelt
|> >> 	  
|> >> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
|> >> 
|> >> ______________________________________________
|> >> R-help at 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 commented, minimal, self-contained, reproducible code.
|> > 
|> > ______________________________________________
|> > R-help at 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 commented, minimal, self-contained, reproducible code.
|> 
|> -- 
|> Peter Dalgaard, Professor,
|> Center for Statistics, Copenhagen Business School
|> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
|> Phone: (+45)38153501
|> Office: A 4.23
|> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
|> 
|> 
|> 
|> 
|> 
|> 
|> 
|> 
|> 

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list