search for: getcranmirrors

Displaying 13 results from an estimated 13 matches for "getcranmirrors".

2011 Mar 02
5
message: please select CRAN mirror
> chooseCRANmirror() Error in m[, 1L] : incorrect number of dimensions Can someone explain me why I can't choose the cran mirror, but get again and again this error message. Have searched for this on several engines but can't find explanation. Thanks a lot in advance! -- View this message in context:
2023 Nov 15
2
anyone having trouble accesing CRAN?
...message: >> The CRAN Admin Team will perform system upgrades during the period >> Wednesday November 15 until Thursday November 16, 2023. There will >> be intermittent outages in service during this time. Use chooseCRANmirror(local.only = TRUE) (or subset() the return value of getCRANmirrors(local.only = TRUE)) to access a mirror that works. -- Best regards, Ivan
2012 Nov 30
1
CreateThread failure since R 2.15.2 (32-bit)
Dear R users & developers, I coming across the following issue since R 2.15.2 32-bit (running on Windows XP 32.bit; some output left out for conciseness): > setInternet2(TRUE) > require(rJava) > .jinit() > getCRANmirrors() > system("ls" , intern = TRUE) Error in system("ls", intern = TRUE) : CreateThread failed My details are as follows: > sessionInfo() R version 2.15.2 (2012-10-26) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_S...
2010 Jan 06
1
chooseCRANmirror() (PR#14179)
...small issue but is it possible to produce a more informative error message. I can see a bodge of changing chooseCRANmirror to: function (graphics = getOption("menu.graphics")) { if (!interactive()) stop("cannot choose a CRAN mirror non-interactively") m <- getCRANmirrors(all = FALSE, local.only = FALSE) ### bodge added here if (ncol(m) != 8) stop("There was a problem with access to CRAN mirrors, please check your internet connection") ### end of bodge res <- menu(m[, 1L], graphics, "CRAN mirror") if (res > 0L) {...
2009 Jul 30
2
CRAN + geography = Cranography
In response to an earlier discussion about finding the fastest/best/nearest CRAN site, I geocoded (using my geonames package) the locations of the CRAN sites returned by getCRANmirrors. I've mapped them here: http://www.maths.lancs.ac.uk/~rowlings/R/Cranography/ The geocoding may have got it wrong, so if CRAN site maintainers want to send me a real lat-long (in WGS 84 aka EPSG:4326) I'll update my map. Maybe eventually lat-long can go in the CRAN csv file distributed wi...
2023 Apr 12
1
R-error
...(%s); using local file '%s'", conditionMessage(err), local.file), call. = FALSE, immediate. = TRUE) NULL}) 6: .getMirrors("https://cran.r-project.org/CRAN_mirrors.csv", file.path(R.home("doc"), "CRAN_mirrors.csv"), all = all, local.only = local.only) 7: getCRANmirrors(all = FALSE, local.only = local.only) 8: chooseCRANmirror() 9: contrib.url(repos, type) 10: startsWith(contriburl, "file:") 11: install.packages("sf") Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving w...
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
...any examples of its use. For a simple, but not trivial, illustration, this code, following chooseCRANmirror(), shows how to use gWidgets to make a dialog for selecting a CRAN mirror. << win = gwindow("Select a CRAN mirror") size(win) <- c(600,400) tbl = gtable(utils:::getCRANmirrors(), chosencol=4, filter.column=2, container=win, filter.column=2, handler = function(h,...) { URL = svalue(tbl) repos <- getOption("repos") repos["CRAN"] <- gsub("/$", "", URL[1]) options(repos = repos)...
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
...any examples of its use. For a simple, but not trivial, illustration, this code, following chooseCRANmirror(), shows how to use gWidgets to make a dialog for selecting a CRAN mirror. << win = gwindow("Select a CRAN mirror") size(win) <- c(600,400) tbl = gtable(utils:::getCRANmirrors(), chosencol=4, filter.column=2, container=win, filter.column=2, handler = function(h,...) { URL = svalue(tbl) repos <- getOption("repos") repos["CRAN"] <- gsub("/$", "", URL[1]) options(repos = repos)...
2010 Aug 20
3
loading a package within R, in a MS Windows environment?
I am using R 2.11.1 in a Microsoft Windows environment. Is there a way to load a package (e.g. the zoo package) using only "written code", not menus or mouse clicks? The "code" below code brings up the "Select One" [package] menu.  I just want to automatically load the "zoo package".  local({pkg <- select.list(sort(.packages(all.available =
2023 Nov 15
3
anyone having trouble accesing CRAN?
at https://cran.r-project.org/ I get this error message: ===================== Secure Connection Failed An error occurred during a connection to cran.r-project.org. PR_END_OF_FILE_ERROR Error code: PR_END_OF_FILE_ERROR The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. ======================= Three different browsers, two
2009 Oct 28
1
R 2.10 under Windows XP: glitches and successes
I just installed 2.10 on XP; ESS is my primary interface. I seem to be able to access all the help files; under 2.8.1 I was having seemingly random problems accessing some help topics (including one day I could and a few days later I couldn't, and vice-versa). That's good. I noticed a few glitches. First, the installer asks if you want text, CHM, or HTML help, but offers only text or
2007 Oct 03
1
R-2.6.0 is released
...a --encoding argument to set the default encoding for conversions. o The list of CRAN mirrors now has a new (manually maintained) column "OK" which flags mirrors that seem to be OK, only those are used by chooseCRANmirror(). The now exported function getCRANmirrors() can be used to get all known mirrors or only the ones that are OK. o R CMD SHLIB gains arguments --clean and --preclean to clean up intermediate files after and before building. o R CMD config now knows about FC and FCFLAGS (used for F9x compilation). o...
2007 Oct 03
1
R-2.6.0 is released
...a --encoding argument to set the default encoding for conversions. o The list of CRAN mirrors now has a new (manually maintained) column "OK" which flags mirrors that seem to be OK, only those are used by chooseCRANmirror(). The now exported function getCRANmirrors() can be used to get all known mirrors or only the ones that are OK. o R CMD SHLIB gains arguments --clean and --preclean to clean up intermediate files after and before building. o R CMD config now knows about FC and FCFLAGS (used for F9x compilation). o...