packages

Installing blotter and quantstrat on GitHub

走远了吗. 提交于 2019-12-04 20:27:01
I am experiencing a hard time in installing the blotter and quantstrat packages from Github. Most helps I can find online are quite outdated issued back then when they are hosted on sourceforge. I try to use the install_github() function and it returns error below. (In fact there is similar error when I try R-Forge) Can anyone provide a clue on what is happening here? install_github("braverock/blotter") Downloading GitHub repo braverock/blotter@master from URL https://api.github.com/repos/braverock/blotter/zipball/master Installing blotter "C:/PROGRA~1/R/R-33~1.3/bin/x64/R" --no-site-file --no

Package bigmemory not installing on R 64 3.0.2 [duplicate]

江枫思渺然 提交于 2019-12-04 20:23:35
This question already has answers here : How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning? (15 answers) Closed 5 years ago . I am trying to install the bigmemory package in R 64 version 3.0.2 on Windows. I get the following error: install.packages('bigmemory') Installing package into ‘C:/Users/Audrey/Documents/R/win-library/3.0’(as ‘lib’ is unspecified) Warning message: package ‘bigmemory’ is not available (for R version 3.0.2) > library(bigmemory) Error in library(bigmemory) : there is no package called ‘bigmemory’ Any help or insight will be much

meteor 0.9 “list” shows “new versions of these packages are available” but “update” doesn't

无人久伴 提交于 2019-12-04 19:23:15
$ meteor list ... * New versions of these packages are available! Run 'meteor update' to update. $ meteor update Figuring out the best package versions to use. This may take a moment. This project is at the latest release which is compatible with your current package constraints. See the simplified version below: It seems like there's a "conflict" between the list command which is saying there are updates available, and the update command which can not find any... how can this happen? The problem seemed to be the mrt migrate-app script, which was a convenient way to upgrade... but apparently

R - where should I place RDA file - /R, /data, /inst/extdata?

浪子不回头ぞ 提交于 2019-12-04 18:38:16
问题 According to the "Writing R Extensions" manual, there are three directories where RDA files can be placed: /R , /data , /inst/extdata Its really hard to decipher the best-practice from the manual. Could someone comment on when/why to place RDA files in each of these three directories. Here's the specific cases I'm solving for: I have 1 RDA file that will be used in function examples as well as in my test_that tests (which all live in inst/tests) 回答1: Starting with the manual for package

How to compile golang program with .a file (without source)

六眼飞鱼酱① 提交于 2019-12-04 18:03:55
I need to compile my program - main.go with package bigPak without source. Exist only bigPak.a tnto GOPATH/pkg. Can you give me example of compile main.go with bigPak.a ? That's dead simple: Just produce a fake bigPak package in the right $GOPATH/src location (an empty package bigPak will do) and ( important !!) make sure this synthetic source has a modification time before the modification time of bigPak.a. The go tool should just work like this. Go is designed to be able to compile from the .a files without transitively reading their includes. The Go tool uses the source (only) to check if

How do I set R_LIBS_SITE on Ubuntu so that .libPaths() is set properly for all users at startup?

痞子三分冷 提交于 2019-12-04 16:53:41
I am setting up a cluster where all nodes have access to /nfs/software , so a good place to install.packages() would be under /nfs/software/R . How do I set R_LIBS_SITE so that this is automatically part of all users' R environment? I tried prepending to the path given for R_LIBS_SITE in /etc/R/Renviron but help(Startup) says "do not change ‘R_HOME/etc/Renviron’ itself", which I'm not sure is the same file since R_HOME expands to /usr/lib/R , but has no effect in any case. Making entries in the various Renviron.site and Rprofile.site files does not seem to have the desired effect. What am I

Reinstall python 2.7.12 and python 3.5.2

会有一股神秘感。 提交于 2019-12-04 16:31:05
Good evening, today i messed up my laptop trying to install some packages for python 3.5.2. I tried to install the correct pip version but i missed something and now i can't install any package in both versions and i can't solve the problem. Is it possible to unistall the 2 versions (including all packages) and reinstall everything? I don't use Python 2.7.12 (but i'l like to have a clean version of it), i need python 3.5.2 with the correct pip version to install, for example, the packages NumPy, SciPy, matplotlib etc. Thanks in advance, J I'd highly recommend using virtualenv, and never

How do I prevent Android Studio from automatically collapsing my packages in project navigation?

心已入冬 提交于 2019-12-04 15:20:25
问题 I have run into this annoyance over and over again and have been unable to find a solution or an answer here for it: When I create a package in my application and then add a package within it, if I do not have a file in the directory already it will auto collapse my package in the left-side navigation of Android Studio. This prevents me from adding other sub-packages to the parent package, without manually resolving the issue within the file system. For Example: What I want is: -presentation

R - error installing caret package

核能气质少年 提交于 2019-12-04 14:42:12
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), > versionCheck = vI[[j]]) : namespace ‘pbkrtest’ 0.4-2 is being > loaded, but >= 0.4.4 is required > Error: package or namespace load > failed for ‘caret’ Caret was working fine until I tried to load Rcpp and it messed everything up. I searched the answers for a similar problem with caret but the solutions posted did not seem to work on mine. I followed: install.packages("caret", dependencies = TRUE) But it did not work. I would suggest you to check the R version. I updated the version to 3.5.1 and it works perfectly :) Mac only –

配置本地yum源

北城余情 提交于 2019-12-04 13:26:25
配置本地系统镜像yum源 挂载系统镜像 # mount -o loop /opt/CentOS-6.6-x86_64-bin-DVD1.iso /mnt # cd /mnt # ls CentOS_BuildTag EULA images Packages repodata RPM-GPG-KEY-CentOS-Debug-6 RPM-GPG-KEY-CentOS-Testing-6 EFI GPL isolinux RELEASE-NOTES-en-US.html RPM-GPG-KEY-CentOS-6 RPM-GPG-KEY-CentOS-Security-6 TRANS.TBL 查看yum源配置文件 ---若机器未联网,可以将默认的其它配置文件移动到其它目录 # vi /etc/yum.repos.d/local-yum.repo [local-yum] name=local-yum baseurl=file:///mnt/Packages/ enabled=1 gpgcheck=0 需要执行命令生成repomd.xml # createrepo /mnt/Packages/ -bash: createrepo: command not found 说明未安装createrepo 进入软件包目录,直接手动先安装createrepo # cd /mnt/Packages/ #