install.packages

Error in loading package SASxport: object ‘label<-.data.frame’ is not exported by 'namespace:Hmisc'

依然范特西╮ 提交于 2019-12-24 05:25:11
问题 I'm trying to read data in the XPT format into R (the format can be found for example in the NHANES data). I found two functions doing this: library("Hmisc") sasxport.get("C:/path/file.XPT") and library("SASxport") read.xport("C:/path/file.XPT") The sasxport.get works, so I'm basically fine, but still inquisitive enough to understand (and solve) the following error: after the installation of the SASxport package, I cannot load it. When I run library("SASxport") , I get the error message:

Install_package does not find Rtools after rtools35 has been updated in latest R update

我与影子孤独终老i 提交于 2019-12-23 05:43:14
问题 devtools::install_github(repo) keeps installing rtools35.exe I try installing a new author account repository from 'author/newrepo'and keep getting R wants to install new buildtoools message. Then the installation exits. Rtools35.exe installation has already been completed. I am using older version of R (3.5.0) currentlyy because RTools is not available for the 3.5.1 update `devtools::install_github(repo)` Downloading bitbucket repo author/repo@master trying URL 'https://cran.rstudio.com/bin

Error in loadNamespace, object 'vI' not found with package plm

徘徊边缘 提交于 2019-12-23 03:28:15
问题 I never had problems with installing packages before. When I first tried to install the plm package, it gave me an error saying that package pbkrtest was not installed. So I tried installing pbkrtest , but install.packages("pbkrtest") did not work, it gave me this error message: install.packages("pbkrtest") Installing package into ‘C:/Users/Flo/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘pbkrtest’ is not available (for R version 3.2.2) I

How to backup Anaconda added packages?

会有一股神秘感。 提交于 2019-12-21 03:02:42
问题 I have Anaconda for Python 2, It came packed with a lot of useful packages. During my work, I have added several packages to it using conda install command. Now I have to format my system, and I want to backup/pack all the added libraries, either as full packages or even by knowing the installation command of each one. I searched StackOverflow, I found one unanswered question with a similar problem, the question suggested conda list -e >file_list.txt to create a file contains all the

Trouble Installing geoR package

我是研究僧i 提交于 2019-12-20 07:29:14
问题 I have just installed R and R studio (version 3.0.1) on my Xubuntu 13.10. I want to use the geoR package. However, when I tried to install it, I got an error: install.packages("geoR") Installing package into ‘/home/.../R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) ... ERROR: dependency ‘RandomFields’ is not available for package ‘geoR’ * removing ‘/home/.../R/x86_64-pc-linux-gnu-library/3.0/geoR’ so I tried to install RandomFields install.packages("RandomFields") ... Installing

Is the bigvis package for R not available for R version 3.0.1?

浪尽此生 提交于 2019-12-19 10:19:30
问题 I'm developing an app designed to handle big data and was having problems graphing the data in a useful way because of the sheer amount of plot points. My initial idea was to create a little algorithm that, based on the size of the data, divides the data points into about 30 subsets and takes the average of all the points in these subsets (what are the faults of this implementation by the way)? Then I learned about bigVis, which does a lot of the big data representation for you, and I really

Error installing 'topicmodels' package, non zero exit status; Ubuntu

我是研究僧i 提交于 2019-12-19 05:34:32
问题 On Ubuntu 14.04, trusty: install.packages('topicmodels') Error message: compilation terminated. make: *** [ctm.o] Error 1 ERROR: compilation failed for package ‘topicmodels’ * removing ‘/home/.../R/x86_64-pc-linux-gnu-library/3.1/topicmodels’ The downloaded source packages are in ‘/tmp/Rtmp1L79dj/downloaded_packages’ Warning message: In install.packages("topicmodels") : installation of package ‘topicmodels’ had **non-zero exit status** 回答1: I found out that on two of my Ubuntu installations,

Can't access User Library in R - “Non-Zero Exit Status” warning

為{幸葍}努か 提交于 2019-12-18 12:41:09
问题 When I tried to install packages on my work laptop, I got an error. I've been told that I have full privileges with the laptop, so there should be no blocks. I think it might be something to do with the file path to the library where installed packages go? I'm using both the latest version of R and R Studio, 64-bit, and using Canada's U of T CRAN mirror site. Here is what comes up when I try to install plyr with install.packages("plyr") also installing the dependency ‘Rcpp’ Packages which are

R - when trying to install package: InternetOpenUrl failed

浪子不回头ぞ 提交于 2019-12-17 18:33:14
问题 Since I've updated both R (to 3.2.2) and RStudio (to 0.99.486) in Win 7, I'm experiencing problems downloading packages. I'm aware of the questions asked here but neither setInternet2(TRUE) nor changing the CRAN mirror helped. The "Tools -> Global Options -> Packages -> "Use Internet Explorer library/proxy for HTTP" was also already unchecked and I made sure that my Firefox uses no proxy. I tried setRepositories() as well as manually installing the package with install.packages('dplyr', repos

install.packages R on Ubuntu 12.04 downloads but does not install packages

耗尽温柔 提交于 2019-12-17 16:58:07
问题 I'm perplexed. I've done this process a dozen times and never had this issue. I installed the latest version of R for Ubuntu I enter R, no issues at all, gives me the latest version, and I can load native packages. But When I try to install new packages, they download, but I get nothing. For example, if I install ggplot2: > install.packages("ggplot2") Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) also installing the dependencies ‘colorspace’, ‘stringr’,