similar to: .Rprofile under Windoze.

Displaying 20 results from an estimated 10000 matches similar to: ".Rprofile under Windoze."

2006 Aug 31
0
Summary and thanks: .Rprofile under Windoze.
Many thanks to all who responded to my cri de coeur: Charles Annis, John Bollinger, Petr Pikal, Brian Ripley, Duncan Murdoch, Dan Nordlund, and Richard Heiberger. (I don't think --- I hope --- I haven't missed anyone.) The essential solution to my problem was indeed to eliminate that @#@$#@$^#@ ``.txt'' extension from the filename. I.e. the file must be called
2006 Sep 01
1
Summary --- Local library under Windoze.
Prof. Brian Ripley solved the problem. He wrote: > I was not aware that this works with relative paths for any version > of R. Try using a full path, which always works for me. I tried it using a full path, and bingo! It worked like a charm. Under Unix the relative path also works, but. Prof. Ripley also remarked: > If indeed your filesystem is readonly, you will have problems
2006 Sep 01
2
Local library under Windoze.
Continuing to try to customize my environment for using R under Windoze, I experimented with installing a package from CRAN in a local library ``Lib''. I created the directory ``Lib'' in the folder in which R starts, and then executed > install.packages("abind",lib="Lib") Everything went according to form (I got prompted to choose a mirror, etc.) until
2023 Mar 21
2
Rprofile.site and automatic installation of missing packages
?Startup says: "Note that when the site and user profile files are sourced only the base package is loaded, so objects in other packages need to be referred to by e.g. utils::dump.frames or after explicitly loading the package concerned." So you need utils::installed.packages and utils::install.packages . Duncan Murdoch On 21/03/2023 8:04 a.m., PIKAL Petr wrote: > Dear all.
2004 Aug 05
1
Local library on Windoze.
I'm mystified by a Windoze ``phenomenon'' which has just bitten me. I have a laptop which boots either Windoze or Linux; I (sad to say) need the Windoze OS for teaching purposes. I have R 1.9.1 installed on the laptop in the Windoze OS. Just now I decided to install, under the Windoze version of R, a library (``Misc'') of some local functions that I have collected over the
2023 Mar 21
1
Rprofile.site and automatic installation of missing packages
On 21/03/2023 9:58 a.m., PIKAL Petr wrote: > Hallo Duncan > > Tested but does not work so something other must be wrong. > > R version 4.2.2. >> installed.packages()[,"Package"] > base boot class cluster codetools compiler datasets foreign graphics grDevices grid KernSmooth
2004 Apr 13
1
par() in .Rprofile
Dear all I installed new version (from binaries) and I noticed that par(bg="white") which I have in my .Rprofile causes error message on startup But if I issued this command immediately after startup everything worked as expected. I did not see any note in changes file or elsewhere. Should I specify white background in .Rprofile differently? Or is there some other recommended way
2008 Aug 20
2
Reading in a value of .Random.seed in .Rprofile
For reasons that are best known to myself [ ;-) ] I have a value of .Random.seed saved (via dput()) in a file ``.Random.seed.save''. In my .Rprofile I have the lines: .Random.seed <- dget(".Random.seed.save") Junk <- dget(".Random.seed.save") print(all.equal(.Random.seed,dget(".Random.seed.save")))
2004 Jul 16
3
rd2dvi bug on windoze?
hi, can anyone confirm the following problem? when i do dos> rcmd rd2dvi --pdf my-package-name i get dos> Can't open perl script "c:\PROGRA~1\r\rw1091/bin/rd2dvi": No such file or directory might the problem be in (double back slashes rather than forward slashes) R-1.9.1\src\gnuwin32\front-ends\rcmdfn.c(251): strcat(cmd, RHome); strcat(cmd, "/bin/Rd2dvi.sh");
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 05
1
Problem with installing home-made package under Windoze.
I am using/trying to use R 2.2.0. I have created a package of ``supplementary'' time series functions for use by my students in a time series course. The package involves only raw R code; no dynamic loading to complicate matters. I need to install this package in a location on a local area network where the students can access it under Windoze. In the past I learned that I could do
2006 Dec 27
3
stacked plots
Dear helpeRs, Is there a better method of producing stacked charts than par(mfrow(3,1)), plot(x), plot(y), plot(z)? What I would like to do is produce a chart of several panes stacked vertically with no space between them so they appeared to be a single figure. I've attached a small example, though it is not clear that it will make it, as the posting guide doesn't say which sort of images
2007 Jan 16
3
plot portion of a line
Dear HelpeRs, Given: x <- rnorm(50) y <- rnorm(50) plot(x,y) abline(lm(x ~ y)) Is there a way to plot just a portion of the line? Say for values of x > 2.0 or x > -2.0 and x < 4.0. (Still fitting all the points.) Thank you, jab -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning.
2008 Jul 14
2
.First and .Rprofile won't run on startup
I'm trying to source a file automatically every time I start R. I tried adding the following .First function in a file Rprofile.site in my $R_HOME/etc/ directory (verified $R_HOME by Sys.getenv()) as well as in a file .Rprofile in my $HOME directory and .Rprofile in the working directory: .First <- function(){ source(file.path(Sys.getenv("HOME"), "R",
2023 Mar 21
1
Rprofile.site and automatic installation of missing packages
Dear all. I am trying to install missing (not installed) packages during startup of R through code in Rprofile.site but I miserably failed and I am not sure what I am doing wrong. R is installed to C:Program files but it is not writable for the users, therefore I cannot change Rprofile.site located in root etc directory. I however can put Rprofile.site in users home directory (Documents)
2006 Dec 27
1
how to suppress a "loading required package: ..." message
Hi, how to suppress a "loading required package:... " message? Kind regards Jaci --
2006 Aug 29
1
passing namees
R 2.3.1 I wrote a little script to do some cross correlations. The symbols are in a text file like so: symbols.txt ibm dd csco """ require(tseries) symbols <- scan("symbols.txt", what = 'character') for(line in 1:(length(symbols)-1)) { assign(symbols[line], get.hist.quote(instrument = symbols[line], start = "2005-09-01", quote =
2013 Feb 21
7
(no subject)
how to sum columns in R?
2004 Jan 07
2
locale problem in W98
Dear all I am using two computers, one with Windows2000 and the other one with W98 both have the same version (precompiled binary) R 1.8.1 and I have experienced a slight problem with text used in plotting on W98 machine. When I try to write some local characters into R console ????? (not sure if it is OK on your computers) in W2000 **everything** is OK but in W98 some of the characters
2004 May 21
2
.First() in R 1.9.0
Dear R experts, I just upgraded R from 1.8.1 to 1.9.0 version. My .First() function in ~/.Rprofile contains x11() and par() functions. .First <- function() { x11(display = "", 8.0, 5.0) par(las = 1, ...) ## ... } And, R claims now, on startup: [hello messages skiped ...] Error in .First() : couldn't find function "x11" > I commented