similar to: Trouble installing packages when history mechanism is modified by user profile

Displaying 20 results from an estimated 100 matches similar to: "Trouble installing packages when history mechanism is modified by user profile"

2004 Aug 21
4
loadhistory() in .Rprofile ?
dear wizards: my .Rprofile has just one command for testing, loadhistory("~/.Rhistory") but this gives me an error on R startup: Error: couldn't find function "loadhistory" Invoking loadhistory() as the first interactive command works fine; incidentally, I believe loadhistory() in the .Rprofile worked in earlier or other platform R releases, too. Is the .Rprofile
2017 Feb 07
2
buggy ANSI escape sequences in R prompt
When R is run interactively in a terminal which supports colors, it is possible to use ANSI escape sequences in order to put colors in the prompt, such as options(prompt = "\033[0;31mThis is red\033[0m> ") Unfortunately, something goes wrong because for long command lines, the line continuation override the prompt instead of being written in the next line. The problem gets worse
2004 Nov 02
4
Loadhistory problems
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the problem is. I've tried using loadhistory and savehistory with the same problems. The syntax guide
2008 Apr 13
1
.Rprofile, date tagging history, loading packages
Dear R-Helpers, I'm fiddling with my .Rprofile in Windows XP & R 2.7.0 Beta. I prefer to manually save my workspace but automatically save my command history via the .Rprofile. That is working fine once I found that "utils::" was required before the loadhistory & savehistory functions. What I would like to do is add a separator line with a date between the histories of each
2007 Feb 05
1
Build error with last R-devel tarball
Hi, On Windows, with last R-devel tarball (r40647) from ftp://ftp.stat.math.ethz.ch/Software/R/R-devel_2007-02-04.tar.gz I get the following build error: E:\biocbld\bbs-2.0-bioc\R\src\gnuwin32> make ... ... ---------- Making package utils ------------ adding build stamp to DESCRIPTION installing NAMESPACE file and metadata installing R files Error in namespaceExport(ns, exports) :
2013 Apr 15
1
View saved workspace commands
R version : 2.15.2 Windows: 7 32-bit Hello, I was trying to load a saved workspace image from the working directory. I issued the command load('image_name') in R console. It did not throw any error, but then it returned the prompt. I want to view the commands (or history) I typed there, how do I do that? Pressing up arrow does not bring any of this workspace command, it rather brings
2006 Feb 03
2
(newbie) Saving the workspace in .txt format
(newbie question) How do I save the workspace in Windows text format (with the file extension .txt)? Also, having saved it and edited it, how do I load it back into the workspace? The setup is: Windows XP Home Edition Service Pack 2 R 2.2.0 English language Administrator privileges are enabled Tom Jones, a veteran computer professional who is a newbie to R
2004 Nov 08
1
can one evaluate an expression in a comment? (or insert resultsinto history?)
But that doesn't put the result into the history buffer, to be written to a file only later when I savehistory(filename). Bert Gunter also suggested ?capture.output and ?textConnection, but I cannot see how to get text into the history buffer as comments, but with evaluated expressions (values). I know how to use paste, sink, write, etc. but nothing that I can see inserts into the history
2006 Mar 16
1
autoloading .RData files / .Rhistory file
NOTE: WinXP, R2.2.0 All, a while back I posted a question about using relative filereferencing. The responses have allowed me to successfully set up the following directory structure: ...\data\raw ...\data\derived ...\prog ...\lst ...\log In the \prog directory I have put an RGui.exe shortcut and "pointed it" at \prog as the "Start In" location. In the same
2010 Sep 16
3
funciones en R potencialmente peligrosas via web?
Hola: Para el desarrollo del nuevo PluginR de Tiki (para poder ejecutar scripts de R desde Tiki: en páginas Wiki, hojas de cálculo web, etc, http://dev.tiki.org/PluginR ), por ahora estamos usando la lista de funciones que se usaban en el proyecto r-php, y que fueran heredadas por la extensión R de MediaWiki. Como r-php se hizo hace algunos años (2006), me pregunto si alguien sabe si hay
2005 Sep 06
2
help.search problem
Dear Fellow R Users, I have recently come across a weird problem with help.search: > help.search("tps") Error in rbind(...) : number of columns of matrices must match (see arg 8) > This happens no matter what I search for... Any thoughts ? Thanks, Tolga Please follow the attached hyperlink to an important disclaimer
2014 Jul 07
2
a question about optim.R and optim.c in R
Hi, I am learning R by reading R source code. Here is one question I have about the optim function in R. The context : In the optim.R, after all the prep steps, the main function call call is made via : .External2(C_optim, par, fn1, gr1, method, con, lower, upper). So, it seems to me, to follow what is going on from here, that I should read the optim function in \src\library\stats\src\optim.c
2017 Feb 07
0
buggy ANSI escape sequences in R prompt
I guess that R does not know about ANSI sequences, and it calculates the width of the prompt including the characters in the sequences. You cannot do much about this, except maybe use a prompt that has two lines. You can put the colored text and whatever you like in the first line, and the second line can be non-ANSI. Note that this works in the terminal, but does not work in RStudio. RStudio
2001 Feb 05
1
packages, help
Hi, Using help under help.start() is working fine (html) Q1: using > ?solve results in the message "sh: ~/R/tmp/R4f32S1cfb: cannot open" displayed in the XEmacs buffer "help[R](solve)". BUT there exists a file R.R4f32S167e in that directory. (not quite the same name). Does the "sh: " prefix suggest that the shell "sh" is run, although my
2006 Apr 17
1
interaction terms in formula of lm or glm
I would like to include pairwise interaction terms for lm(). For example, I want to include the quadratic term of variable "V3". > my.formula y ~ 1 + V1 + V3 + V3:V3 > my.data y V1 V2 V3 1 31 1 42 140 2 32 0 43 120 3 33 0 57 150 4 34 0 55 132 > foo <- lm(my.formula, data = my.data) > foo$coefficients (Intercept) V1 V3 29.47368421 -2.15789474
2018 Feb 01
2
Error while working with png output on linux server
I'm working on linux server: Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux I get error while creating png files. I'm sharing my commands and error while I run those commands: >png("abc", type="cairo") Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, : unable to start device PNG In addition: Warning
2018 Feb 01
0
Error while working with png output on linux server
FAQ 7.19? Also, read the Posting Guide, in particular about posting using plain text. -- Sent from my phone. Please excuse my brevity. On February 1, 2018 6:50:42 AM PST, "Sariya, Sanjeev" <ss5505 at cumc.columbia.edu> wrote: >I'm working on linux server: >Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 >GNU/Linux > >I get error while creating
2018 Feb 01
2
Error while working with png output on linux server
Thanks for pointing to FAQ: I tried with cairo (shared in commands), unfortunately didn't work. -- Sanjeev Sariya -----Original Message----- From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.ca.us] Sent: Thursday, February 01, 2018 10:12 AM To: r-help at r-project.org; Sariya, Sanjeev <ss5505 at cumc.columbia.edu>; r-help at r-project.org Subject: Re: [R] Error while working with
2023 Feb 20
1
uniroot violates bounds?
Le 18/02/2023 ? 21:44, J C Nash a ?crit?: > I wrote first cut at unirootR for Martin M and he revised and put in > Rmpfr. > > The following extends Ben's example, but adds the unirootR with trace > output. > > c1 <- 4469.822 > c2 <- 572.3413 > f <- function(x) { c1/x - c2/(1-x) }; uniroot(f, c(1e-6, 1)) > uniroot(f, c(1e-6, 1)) > library(Rmpfr) >
2018 Feb 01
3
Error while working with png output on linux server
Thanks for your reply. I searched for the error on Google before resorting to the R forum (help group). I tried Sys.env(...) too, but didn't resolve the error I get. Hence I am looking for solution. -- -----Original Message----- From: Thierry Onkelinx [mailto:thierry.onkelinx at inbo.be] Sent: Thursday, February 01, 2018 10:57 AM To: Sariya, Sanjeev <ss5505 at cumc.columbia.edu>