search for: defaultpackag

Displaying 20 results from an estimated 83 matches for "defaultpackag".

Did you mean: defaultpackages
2003 Jul 28
3
Recommended way to change defaultPackages under Windows
...which my introductory engineering statistics students will use and I would like to describe how the R environment can be changed so that this package is loaded by default. I understand from the R for Windows FAQ that one way would be to install a Rprofile or Rprofile.site file containing options(defaultPackages = c(options("defaultPackages"), "Devore6")) Would this be the recommended way?
2013 Jul 15
2
suppress startup messages from default packages
Hi all, several packages print messages during loading. How do I avoid to see them when the packages are in the defaultPackages? Here is an example. With this in ~/.Rprofile ,----[ ~/.Rprofile ] | old <- getOption("defaultPackages") | options(defaultPackages = c(old, "filehash")) | rm(old) `---- I get as last line when starting R: ,---- | filehash: Simple key-value database (2.2-1 2012-03-12) `--...
2011 May 02
1
Problems with Rterm 2.13.0 - but not RGui
...#39;citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Warning message: package "methods" in options("defaultPackages") was not found During startup - Warning messages: 1: package 'datasets' in options("defaultPackages") was not found 2: package 'utils' in options("defaultPackages") was not found 3: package 'grDevices' in options("defaultPackages") was n...
2019 Sep 08
6
Error: package or namespace load failed for ‘utils
...package or namespace load failed for ?utils? in if (.identC(class1, class2) || .identC(class2, "ANY")) TRUE else {: missing value where TRUE/FALSE needed ``` (more such errors for grDevices, graphics, and stats) And in the end: ``` Warning messages: 1: package ?utils? in options("defaultPackages") was not found 2: package ?grDevices? in options("defaultPackages") was not found 3: package ?graphics? in options("defaultPackages") was not found 4: package ?stats? in options("defaultPackages") was not found ``` While the embedded R appears functional, no p...
2019 Sep 08
1
Error: package or namespace load failed for ‘utils
...oftware wdunlap tibco.com On Sun, Sep 8, 2019 at 9:58 AM William Dunlap <wdunlap at tibco.com> wrote: > Look at section 6.1 of the R Installation and Admin manual. > > 6.1 Default packages > > The set of packages loaded on startup is by default > > > getOption("defaultPackages") > [1] "datasets" "utils" "grDevices" "graphics" "stats" "methods" > > (plus, of course, *base*) and this can be changed by setting the option > in startup code (e.g. in ~/.Rprofile). It is initially set to th...
2010 Mar 14
3
R and R commander
...th: Populations and Samples PUBH7630 Course Notes 1-23 2.10.1\etc . Right click on the file Rprofile.site and select 'Open With'. Open the file with the 'notepad' program. 4. Go to the bottom of the brief file and copy/paste the following at the end: local({old <- getOption("defaultPackages") options(defaultPackages = c(old, "Rcmdr"))}) (Don't include any # symbols like the already-existing text has.) 5. Save the file and then close it. 6. Next time you open R, R Commander will also pop open. How about checking now? 7. You can check if this has worked by first clo...
2008 Apr 13
1
.Rprofile, date tagging history, loading packages
.... Something like, =====History for Sun Apr 13 09:43:50 2008 Is this possible? I have it print the date at startup, but that doesn't appear as part of the history. Also, I'm loading two packages at startup, which is working fine with this code: local({ myOriginal <- getOption("defaultPackages") myAutoLoads <- c("Hmisc","ggplot2") myBoth <- c(myOriginal,myAutoLoads) options(defaultPackages = myBoth) }) But when reading AITR, I noticed it has a .Rprofile example that looks much simpler. It just loads the one additional package without checking t...
2007 Mar 28
1
Problem with adding packages to default start-up list
After reading the help files (?Startup) and using RSiteSearch("defaultPackages"), I have been trying to add several packages to my default startup list using the following code: local({ old<-getOption("defaultPackages") options(defaultPackages=c(old,"lattice","RODBC") }) Subsequently, when I query the default list using: getOption(&...
2007 Dec 14
0
options("defaultPackages") was not found [C1]
...scribe a similar problem but i haven't found any solution. please advise. the error in the build process is checking DESCRIPTION meta-information ... ERROR During startup - Warning messages: ' in: library(package, lib.loc = lib.loc, character.only = TRUE, logical = TRUE, in options("defaultPackages") was not found my r source (in the file dlog.r) dlog <- function(X,h=1) { list(res=(as.matrix(diff(log(X),lag = h, differences = 1))), res2=h) } 1. in RGui source("C:\\shaun\\projects\\rpackagecreation\\dlog.r") then package.skeleton(name="DLOGPackage", list=l...
2013 Mar 04
1
R broken after upgrade to 2.15.3 (Ubuntu 12.10, 64bit)
...rt()' for an HTML browser interface to help. Type 'q()' to quit R. Error : .onLoad failed in loadNamespace() for 'utils', details: call: options(op.utils[toset]) error: invalid value for 'editor' In addition: Warning message: package "methods" in options("defaultPackages") was not found Error : .onLoad failed in loadNamespace() for 'utils', details: call: options(op.utils[toset]) error: invalid value for 'editor' In addition: Warning message: package ?utils? in options("defaultPackages") was not found Error : .onLoad failed in loadN...
2005 Mar 09
1
delay of warning for things in .Rprofile
Hi all, I was playing with R-devel 2005-03-08 on winXP Pro (installed from Duncan's installer). My .Rprofile contains: options(defaultPackages=c(getOption("defaultPackages"), "mypkg"), chmhelp=TRUE) but "mypkg" has not yet been installed in the library/ directory of this installation. When Rgui starts, I do not get any error or warning, but upon running one command, I get: Warning messages: 1: th...
2009 May 10
2
Unintended loading of package:datasets
The dataset package is being loaded apparently by one of the packages that I am using. The loading of the datasets takes a long time and I would like to eliminate it. I thought the datasets were effectively examples so don't understand why they would be required at all. 1) How can I determine what is causing the datasets to be loaded? 2) How can I stop them from doing so? I am using the
2015 Dec 16
2
Building R in 64-bit mode
Hope I am not sounding too much like a broken record - as far as 64-bit build on AIX is concerned. ** Short - 32-bit builds complete normally, 64-bit builds stop at "installing 'sysdata.rda'" with message: Error: Line starting 'Package: tools ...' is malformed! Execution halted *** Longer... I could file a bug - Importance, showstopper - but I would prefer to better
2019 Sep 08
0
Error: package or namespace load failed for ‘utils
Look at section 6.1 of the R Installation and Admin manual. 6.1 Default packages The set of packages loaded on startup is by default > getOption("defaultPackages") [1] "datasets" "utils" "grDevices" "graphics" "stats" "methods" (plus, of course, *base*) and this can be changed by setting the option in startup code (e.g. in ~/.Rprofile). It is initially set to the value of the envi...
2011 Jul 22
1
Problem with creating default NAMESPACE on FreeBSD
After building and installing R-devel from 21/07/2011 on FreeBSD 9.0-CURRENT (amd64), starting R gives the following warning: [..snip..] Beim Start - Warnmeldung: package 'datasets' in options("defaultPackages") was not found This happens with all versions after 14/07/2011. I think it is related to NEWS Sat, 16 Jul 2011 CHANGES IN R-devel PACKAGE INSTALLATION Packages without explicit ?NAMESPACE? files will have a default one created at build or INSTALL time, so all packages will have namespace...
2005 Apr 13
1
compiling & installing R devel version on Debian
...red object file: No such file or directory Error in dyn.load(x,as.logical(local),as.logical(now)): impossible to load the shared library '/usr/lib/R/library/methods/libs/methods.so': libR.so:cannot open shared object file: No such file or directory and package stats in options("defaultPackages") was not found package methods in options("defaultPackages") was not found Looks like it's look into the wrong directory tree. But why? Where am I going wrong? TIA, Stefano
2005 Aug 04
4
Modifying the parameters for a function
...e works fine so I assume there is a configuration file in the base package of R that needs modification. Error in parse(file, n, text, prompt) : syntax error on line 11102 Error: unable to load R code in package 'stats' During startup - Warning message: package stats in options("defaultPackages") was not found Philip. [[alternative HTML version deleted]]
2009 Mar 30
1
Can I read a file into my workspace from Rprofile.site?
I am running R version 2.8.1 on Windows XP OS. When I launch R, I would like to automatically read a file containing my database connections, user ids, and passwords into my workspace. I tried including this in my Rprofile.site file: ... local({ old <- getOption("defaultPackages") options(defaultPackages = c(old, "Rcmdr","RODBC", "utils")) }) .First <- function() { library(utils) setwd("C:/Documents and Settings/Administrator/My Documents/R") connections <- read.csv("connections.csv", header=TRUE) cat("\n...
2006 Dec 29
1
installation problems
...2.4.0 (2006-10-03) Copyright (C) 2006 The R Foundation for Statistical Computing ISBN 3-900051-07-0 == etc. Type 'q()' to quit R. Error in `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct == twice In addition: Warning message: package utils in options("defaultPackages") was not found Error in `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct == same for graphics In addition: Warning message: package stats in options("defaultPackages") was not found == same for methods > help() Error : Could not find function &...
2015 Dec 16
0
Building R in 64-bit mode
...) to see them) > tools:::sysdata2LazyLoadDB("/data/prj/cran/R-3.2.3/src/library/tools/R/sysdata.rda","../../../library/tools/R") Error: Line starting 'Package: tools ...' is malformed! > warnings() Warning messages: 1: package "methods" in options("defaultPackages") was not found 2: package 'datasets' in options("defaultPackages") was not found 3: package 'utils' in options("defaultPackages") was not found 4: package 'grDevices' in options("defaultPackages") was not found 5: package 'graphics...