package

How to uninstall R and RStudio with all packages, settings and everything else?

谁说我不能喝 提交于 2020-01-14 02:59:08
问题 I messed up something and there is a problem with tidyverse. Tried to find a solution but spend lots of time without result. How to uninstall R and RStudio with all packages, settings and everything else on Windows. I tried to uninstall through Windows uninstall menu and after I installed R and RStudio again same packages appeared as they were installed before. How can I erase everything related to R and RStudio so I be able to make a fresh install? 回答1: Uninstall R and RStudio from Windows

'car' dependency error: Installing caret in R 3.1.2

社会主义新天地 提交于 2020-01-13 19:06:56
问题 Cannot install caret package !! install.packages("caret") Installing package into ‘/home/timekeeper/R/x86_64-unknown-linux-gnu-library/3.1’ (as ‘lib’ is unspecified) Warning: dependency ‘car’ is not available trying URL 'http://mirrors.softliste.de/cran/src/contrib/caret_6.0-52.tar.gz' Content type 'application/x-gzip' length 3665293 bytes (3.5 Mb) opened URL ================================================== downloaded 3.5 Mb ERROR: dependency ‘car’ is not available for package ‘caret’ *

MATLAB : import package for base class

梦想与她 提交于 2020-01-13 11:03:48
问题 i have a base class A and a derived class B which are stored in the following folder structures. +myPackage (package Path) @A ( folder of class A ) A.m ( filename of class ) @B B.m Now i want to use class B which has the following head classdef B < A unfortunately this does not work because they are in different folders and i cannot import like this: import myPackage.* classdef B < A Is it possible to solve this without loosing the folder organisation? 回答1: I think if you write classdef B <

MATLAB : import package for base class

喜你入骨 提交于 2020-01-13 11:03:37
问题 i have a base class A and a derived class B which are stored in the following folder structures. +myPackage (package Path) @A ( folder of class A ) A.m ( filename of class ) @B B.m Now i want to use class B which has the following head classdef B < A unfortunately this does not work because they are in different folders and i cannot import like this: import myPackage.* classdef B < A Is it possible to solve this without loosing the folder organisation? 回答1: I think if you write classdef B <

Exclude data sets from R package build

ε祈祈猫儿з 提交于 2020-01-13 08:10:13
问题 I'm implementing an R package, where I have several big .rda data files in the 'data' folder. When I build the package (with R CMD build to create the .tar.gz packed file), also the data files are included in the package, and since they are really big, this makes the build (as well the check) process very slow, and the final package size uselessly big. These data are downloaded from some DB through a function of the package, so the intent is not to include the data in the package, but to let

What happens when import modules in python?

点点圈 提交于 2020-01-13 03:07:34
问题 I want to know really what happens when we import a module file in python.I mean it's process, in other words what things by python will be run or check?! like __init__.py or sys.modules and etc. for example i know __init__.py are necessary files in every package,i want to know python what does with these files on import time? please light this for me. 回答1: Read the tutorial section about modules, the documentation of the import statement, the imp module (particularly the examples) and maybe

create a JAVA Standalone executable application to run on different platforms without any Installation

人盡茶涼 提交于 2020-01-12 07:59:25
问题 I have created a run time image for my Java application using jlink and I would like to be able to ship my app as an executable to different platforms. Ideally, it would be a single file that a user can double click and start the application without the need for installing anything. Is there currently a good way to do this? 回答1: You can make an installer that installs the JDK and the application. Make the application an exe by using something like Launch4j and for a Mac executable follow this

Sharing Java packages between modules in IntelliJ?

点点圈 提交于 2020-01-12 07:19:24
问题 I'm trying to figure out how can I share packages between two modules in a single IntelliJ project, and I can't seem to find the right way to do it. I know it can be done in Eclipse, but I'm not very well-versed with it. In a nutshell, I'm trying to reproduce the same kind of project environment created by AppEngine-connected Android projects. Here's the "problem" as best I can lay it out Project A. Module 1; AppEngine + GWT + whatever else Module 2; Android Each module has its own source

Sharing Java packages between modules in IntelliJ?

寵の児 提交于 2020-01-12 07:19:06
问题 I'm trying to figure out how can I share packages between two modules in a single IntelliJ project, and I can't seem to find the right way to do it. I know it can be done in Eclipse, but I'm not very well-versed with it. In a nutshell, I'm trying to reproduce the same kind of project environment created by AppEngine-connected Android projects. Here's the "problem" as best I can lay it out Project A. Module 1; AppEngine + GWT + whatever else Module 2; Android Each module has its own source

Skip tests on CRAN, but run locally

百般思念 提交于 2020-01-12 05:35:07
问题 It there an easy way to skip the execution of some tests in a package if the package is tested by CRAN? The background is, I like to have a lot of tests and in sum they are time consuming (not good for CRAN). I know there is testthat::skip_on_cran() but I do not want to use package testthat to avoid another dependency. I am looking for an el-cheapo way to mimic testthat::skip_on_cran . Ideally, I would like to have a testfile in directory pkg/tests that calls the tests (testfiles) and