version

using R package 'effects' in R version 3.4.4

别来无恙 提交于 2019-11-28 01:25:06
问题 Currently, I'm using R version 3.4.4. And I'm trying to use R package 'effects'. But I can't install & use this package on this version. code install.packages("effects") library(effects) plot(allEffects(lm_g_sc), type="response") results Warning in install.packages : package ‘effects’ is not available (for R version 3.4.4) What can I do? If I can't use this package, there are some alternative packages? 回答1: As a result of a related Stack Overflow question, I built a package specifically for

What Java versions are commonly installed on browsers, is it safe to assume 1.4?

拥有回忆 提交于 2019-11-28 01:16:13
问题 Is there any site/analysis about what Java version most people are using on WWW ? It seems this data is not available on webserver logs (vs. Flash versions) Can we safely set e.g. Java 1.4.2 as minimum requirement for our applet, or are there still many users using Java 1.1 (MS one) or Java 1.2-1.3 ? It's still a bit of a complicated process to update Java if it's too old, e.g. admin rights are needed on Windows machine and it's bit difficult in some Linux distros too. 回答1: This chart might

How to check in delphi the OS version? Windows 7 or Server 2008 R2?

有些话、适合烂在心里 提交于 2019-11-28 00:59:55
I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination. Confirm this by typing ver into a command prompt GetVersionEx. There is a chart of the version numbers and their associated editions here . Notice that the product type is different between 2008 R2 and Windows 7. This works, and correctly detects many Windows Product Editions, including Windows XP, Windows 7 (Home, Professional), Windows Server 2003, and Windows Server 2008, and contains code that should

Docker minimum kernel version 3.8.13 or 3.10

夙愿已清 提交于 2019-11-28 00:26:21
问题 On the Docker website I am seeing information that is close to being in conflict. The page: https://docs.docker.com/installation/oracle/ Says "Docker requires the use of the Unbreakable Enterprise Kernel Release 3 (3.8.13) or higher on Oracle Linux." The page: https://docs.docker.com/installation/binaries/ Says 3.10 is required. I'm guessing that stuff got added into a special build of 3.8.13 which would otherwise require version 3.10. If anybody could give some clarification that would be

Program different layouts for different versions in android

喜夏-厌秋 提交于 2019-11-28 00:24:56
问题 I have to program my Android app with the best compatibility to different screen sizes (tablets and smartphones) and to the versions 2.3, 3.2 and 4.0. I know about the possibliy to name the folders of the layout like res/layout-sw600dp/. to match the layout exactly to different screen sizes. So, cause I will use completely different layouts for Tablets / Smartphones , I would start with a "Load Screen", which tests which Android-version is used and if there is used a tablet-or smartphone

Breakdown of iOS versions being used [closed]

我们两清 提交于 2019-11-27 23:42:51
Is there any information on which iOS versions are mostly used at this stage? I am developing a new application, and am wondering with which version I should make the App compatible with (e.g. iOS 3.0, 3.2 or 4.0, the biggest problem being that I don't have an iOS device that still runs lower than 4.2 which makes testing difficult). Is there a breakdown somewhere which % of devices uses which version? Purely for what it's worth - just one opinion for you. As of 2011, many large successful high-selling developers would be going with 4.0. Updated for Summer 2012: As of 2012, pretty much all

Spring 3.2.x with Java 8

醉酒当歌 提交于 2019-11-27 22:34:16
We are currently using spring 3.2.9. We are thinking of upgrading that to a newer version. When I checked the documentation it says that Along with 4.0 M1, we’ve released Spring Framework 3.2.3, containing fixes for recently reported issues but also coming with OpenJDK 8 runtime support. Spring Framework 3.2.x will support deployment on JDK 8 runtimes for applications compiled against JDK 7 (with -target 1.7) or earlier. Does that imply that I can't compile on Java 8? Should I use spring version 4.0.x if I wanna compile with Java 8? There is a best effort support of JDK8 in the 3.2.x line, as

Getting Windows OS version programmatically

╄→尐↘猪︶ㄣ 提交于 2019-11-27 22:22:53
I am trying to fetch Windows version with C# on my Windows 10 machine. I always get those values (with C#\C++): Major: 6 Minor: 2 Which is Windows 8 OS, accordingly to MSDN C# code: var major = OperatingSystem.Version.Major var minor = OperatingSystem.Version.Minor C++ code void print_os_info() { //http://stackoverflow.com/questions/1963992/check-windows-version OSVERSIONINFOW info; ZeroMemory(&info, sizeof(OSVERSIONINFOW)); info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); LPOSVERSIONINFOW lp_info = &info; GetVersionEx(lp_info); printf("Windows version: %u.%u\n", info.dwMajorVersion, info

what is style.css?ver=1 tag?

ε祈祈猫儿з 提交于 2019-11-27 21:36:50
问题 I found out that some websites use css tag like style.css?ver=1 . What is this? What is purpose of ?ver=1 ? How do I do it in code? 回答1: To avoid caching of CSS. If the website updates their CSS they update the ver to a higher number, therefore browser is forced to get a new file and not use cached previous version. Otherwise a browser may get a new HTML code and old CSS and some elements of the website may look broken. 回答2: Adding '?ver=1' makes the HTTP request look like a GET query with

codeigniter 2.0 Fatal error: Class 'Controller' not found in

a 夏天 提交于 2019-11-27 20:53:37
问题 i have download the new codeigniter 2.0 and put my controller,model and view files in the new codeigniter 2.0 installation. but i got this error Fatal error: Class 'Controller' not found in /Applications/MAMP/htdocs/site/application/controllers/forside.php on line 3 What im doing wrong? it works with the old codeigniter version but the new one.. No :S Hope some one can help me out 回答1: In CodeIgniter 2 your controllers inherit from super class CI_Controller , rather than the super class