similar to: Rprofile.site

Displaying 20 results from an estimated 7000 matches similar to: "Rprofile.site"

2006 Nov 08
5
query in R
how to realize the following SQL command in R? select distinct A, B, count(C) from TABLE group by A, B ; quit; Best Regards --------------------------------- Sponsored Link Get a free Motorola Razr! Today Only! Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. [[alternative HTML version deleted]]
2005 Oct 21
2
curve fit
How to obtain the FUNCTION for the following smooth curve? x 0 100 250 500 1000 4000 y 1.8 1.2 1.02 0.99 0.97 0.85 Thanks, SJ --------------------------------- [[alternative HTML version deleted]]
2006 Aug 15
4
nls
Is there anyway to change any y[i] value (i=2,...6) to make following NLS workable? x <- c(0,5,10,15,20,25,30) y <- c(1.00000,0.82000,0.68000,0.64000,0.66667,0.68667,0.64000) lm(1/y ~~ x) nls(1/y ~~ a+b*x^c, start=list(a=1.16122,b=0.01565,c=1), trace=TRUE) #0.0920573 : 1.16122 0.01565 1.00000 #Error in numericDeriv(form[[3]], names(ind), env) : # Missing value or
2006 Jul 05
2
auto load package splines
May I ask how to include following procedures into R script (such as first.r) such that it will do an automatical call next time after I open R? Packages -> Load Packages -> splines Thanks, Shelton --------------------------------- [[alternative HTML version deleted]]
2013 Oct 03
1
When to use RProfile.site or .Rprofile
I would appreciate some advice on what the preferred contents of RProfile.site vs. .Rprofile should be. A .First() function can reside in either one, but is it preferred to place it in .Rprofile? I currently use .First() in .Rprofile files placed in separate directories used for different RStudio projects. Thank you [[alternative HTML version deleted]]
2014 Aug 11
1
Renviron.site and Rprofile.site in Fedora
On Debian/Ubuntu, system wide environment variables and options are set in respectively /etc/R/Renviron.site and /etc/R/Rprofile.site. These files are automatically created when r-base is installed, and do not get overwritten during an upgrade. On Fedora, there is no /etc/R directory. What is the recommended place to define system wide environment variables and options on a Fedora system?
2005 Nov 21
1
arima prediction
x<-c(-1.873....,-0.121) # 23 numerics; x.arma12 <- armaFit(x ~ arma(1,2)) #estimates y[t]= -0.11465 - 0.23767 y[t-1] - 0.14230 e[t-1] -0.85770 e[t-2] + e[t]; # ? how to predict 46 steps ahead based on 23 data points? # the following doesn't work since n is in armaSim rather than armaFit; predict(x.arima12, n.ahead=46) # Thanks ---------------------------------
2012 Mar 01
1
Execution of Rprofile.site
Hi everyone. I have recently installed R 2.14.1 on my 64-bit Windows 7 laptop. I am attempting to include some favourite functions in the Rprofile.site file to run at R start-up as I did with my previous 32-bit XP machine. I have edited the Rprofile.site file in "C:\Program Files\R\R-2.14.1\etc\" but the added code doesn't seem to be executed when I run R, whether through Tinn-R
2006 Apr 18
1
Browsing Issues
Hi - I'm having some problems with network browsing using a Samba PDC (3.0.22) and I'd appreciate any hints that might push me in the right direction. One of the problems is that I am on a very crowded subnet that is being used by several different groups. There are a two separate WinNT/2000-style domains active on this network as well as an AD domain controller. Here are the
2003 Jan 13
1
Rprofile.site assignments occur in base package (PR#2448)
Not sure whether this is a feature or bug -- but it does not appear to be documented. R1.6.1 on Windows NT 4.00.1381 Objects assigned in the Rprofile.site file (e.g. foo<-'something') are put into package:base not .GlobalEnv on startup. Objects assigned in the .Rprofile file are put into .GlobalEnv. This doesn't seem consistent to me. The objects exist in base only for the
2012 Apr 13
1
Rprofile.site?
Hello: I've been using "Rprofile.site" for several years to set the repos environment variable as follows: options(repos=c(CRAN='http://cran.cnr.berkeley.edu', CRANextra='http://www.stats.ox.ac.uk/pub/RWin') ) However, R 2.15.0 is not recognizing this. Instead, I get the following: options('repos') $repos
2011 Jan 07
1
rprofile.site
Hi all, i just installed R 2.12.1 and Tinn-R 2.3.7.1. My OS is Windows 7 32bit. Here is my question: Do I have to execute the rprofile.site manually every time I start a R/Tinn-R session? Because it seems that way. Here is the error code I receive after sending "selection(echo=TRUE): source(.trPaths[5], echo=TRUE, max.deparse.length=150) It doesn't do that after I configure
2008 Jun 17
0
echo Rprofile.site on startup
Hello, I have not been able to find how to have R echo the Rprofile.site contents to the console on start-up. Changing the windoze shortcut to include the '--verbose' option does not show what I am looking for. I would like to see the options and commands listed, in addition to the library() loadings, as they are processed. Examples of the type of options I like and shortcut-commands
2003 Apr 29
1
Rprofile.site and check/build (PR#2872)
Hi, Apparently R-1.7.0 (and possibly earlier versions too) do not care much about what is in $R_HOME/etc/Rprofile.site when calling 'R CMD check' or 'R CMD build'. This is annoying when having libraries (packages) in alternative locations. Cheers, Laurent
2009 Oct 04
1
Modify base R functions in Rprofile.site
Hi everyone, I want to modify two base R functions 'parse' and 'deparse' immediately after R has started, so I added some code in the file 'Rprofile.site' under the 'etc' directory. Here is a simple example: parse=function(...){ base::parse(...) } I'll get an error when I start R as follows: Error: cannot change value of locked binding for
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
2006 Sep 14
1
Problem setting options(error=recover) in my Rprofile.site
I'd like to be able to set options(error=recover) in my Rprofile.site file. When I do this I get the message "Error in options(error = recover) : object "recover" not found I assume this is because the utils package (where recover and dump.frames are defined) has not been loaded at the time I make this call. I suppose I could explicitly do library("utils") before
2008 Feb 09
1
Rprofile.site in Windows version
I think Rprofile.site as installed with R-2.6.2 contains some misleading information. It contains the following lines # set a CRAN mirror # local({r <- getOption("repos") # r["CRAN"] <- "http://my.local.cran" # options(repos=r)})'. Uncommenting these lines and changing the URL will not work. '. at the end of the last line will break the
2012 May 03
0
Rprofile.site in R 2.15.0 on Windows?
Hello: I have so far failed to get Rprofile.site to be processed in R 2.15.0 under Windows 7 as I remember having done it in previous version of R. For example, I've included "options(max.print=222)" in "R_HOME/etc/Rprofile.site" (with and without the environmental variable R_HOME set to the install directory of R 2.15.0 in advanced system settings): When I
2012 Jun 20
1
Websocket example out of the box failing if running at startup from Rprofile.site
Hello, I run websockets 1.1.1 from R 2.15 without any problems. I would like to deploy R script running automatically for all users when R is starting from Rprofile.site like follow: .First <- function() { source("C:\\R\\orig-websockets.R") } This script is from websockets package distribution. The error is follow: Error in .parse_header(x) :