similar to: as.numeric with tclvalue redux

Displaying 20 results from an estimated 7000 matches similar to: "as.numeric with tclvalue redux"

2008 Mar 24
1
Question about as.numeric with tclvalue
Dear R People: I have an interactive menu via an Rcmdr extension package which asks for lower and upper limit to evaluate. Typically, I use: assign("a",as.numeric(tclvalue(lowlim)),envir=.GlobalEnv) and that's fine. However, if I try to use pi or Inf or -Inf, I get either coerced NAs or NaN. Does anyone have any suggestions, please? Thanks, Erin PS Happy Easter if you
2012 Aug 29
1
Problem Installing a Package
I have just installed the latest version of R on a openSUSE 12.1 system running on an ORacle VM VirtualBox and have encountered a problem with installing ChemometricsWithR. Here is the output: > library("compiler") > install.packages("ChemometricsWithR") Installing package(s) into ?/home/computation/R/x86_64-unknown-linux-gnu- library/2.15? (as ?lib? is unspecified)
2012 Aug 24
1
Error while installing gsubfn_0.6-4.tar.gz for R 2.15.1
Hi, I am getting the follwoing error while installing gsubfn_0.6-4.tar.gz library for R. R version is 2.15.1 and i am installing on Redhat linux version 2.6.18-238.9.1.el5 (mockbuild at x86-002.build.bos.redhat.com<mailto:mockbuild at x86-002.build.bos.redhat.com>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) * installing to library ?/home/mapred/installables/R/library? * installing
2004 Jun 30
1
help with tclVar
Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the exmple above explain me ,Thanks Ruben a<-tclVar(init="") > f<-function(){ + a<<-"pipo" + } > f() > a [1] "pipo" > tclvalue(a) Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") : [tcl] can't
2010 Apr 25
1
problem with Rcmdr Plugins
Dear R Development People: I have written a couple of plugins for Rcmdr and they do not seem to work with R-2.11.0. Here is the output: > library(RcmdrPlugin.epack) Loading required package: Rcmdr Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car --- Please select a CRAN mirror for use in this session --- Rcmdr Version 1.5-4 Attaching package:
2012 Sep 24
1
eval and tcltk : target of assignment expands to non-language object
Hi everyone, I have a problem to assign a value with tcl/tk ths is the code ( it should be simple to understand) : library(tcltk) valA<-tclVar("0") valB<-tclVar("0") valC<-tclVar("0") id<-"A" out<-"1" out2<-"2" print(paste("tclvalue(val",id,")",sep="")) # ok
2006 Jul 29
1
fancier plotting
Hi thank you for talking the time to help me with this. I have a sequence of numbers in a file and an equal sequence of various character, say(a b c d) each occurs more than once. I need to plot the numbers so that numbers corresponding to a in the other sequence would have green dots, those corresponding to b a red dot, nothing on c and blue square for d. i.e 2 a show a green dot 4 b show a
2009 Nov 21
1
MASS loading error
Dear R People: I just installed R-2.10.0 on Karmic Koala Ubuntu, via the sudo apt-get install r-base, etc. However, when I try to install an Rcmdr Plugin package, I get the following: > install.packages("RcmdrPlugin.qual",depen=TRUE) Warning in install.packages("RcmdrPlugin.qual", depen = TRUE) : argument 'lib' is missing: using
2010 Aug 12
2
accessing tcl variables within R and tcl
Dear R users, I have some troubles with dealing with tclObj objects. I try to explain it with a toy example: Say I define the following tcl procedure which just prints out each list element library(tcltk) .Tcl('proc test {myList} { foreach i $myList { puts stdout $i } }') and I call it with: > tcl('test',letters[1:5]) # Works as expected Now say I define
2009 Aug 10
1
building a package
Dear R People: I'm trying to build a package and am stuck on the last part; I keep getting "there is no library". Here are my statements: erin at erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual * checking for working pdflatex ... OK * using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck' * using R version 2.8.1 (2008-12-22) * using
2008 Aug 11
3
tkentry that exits after RETURN?
I can set up an entry widget (thanks to an old post by Barry Rowlingson) that gets a password and exits when the user clicks on the "OK" button. Anyone have any clever ideas for returning/ destroying the window when the user types a carriage return/ENTER in the text window? I've messed around a little with validate, validatecommand, but don't see any obvious way to do it ...
2011 Oct 19
3
converting string fractions to numerics
Dear R People: Suppose I have the following: "pi/2" and I would like it to be 1.57..... Using as.numeric, here is my result: > as.numeric("pi/2") [1] NA Warning message: NAs introduced by coercion > Is there a way to produce the numeric result, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of
2013 Jan 09
1
R2html and Blackboard LMS : solved
Everything is ok on Firefox, IE, and iPad. Thanks, Erin On Tue, Jan 8, 2013 at 7:58 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote: > Dear R People: > > Has anyone used R2HTML in web files that were on the Blackboard LMS, please? > > I'm starting to do these but wanted to know if there were any > potential pitfalls. > > Thanks, > Erin > > > --
2006 May 22
1
rerender tcltk toplevel
Hi everybody, I am trying to write a simple progress display based on a tcltk toplevel. My first approach was to use the progressBar widget from the BWidget library but since this is not available on every system (missing on at least almost all windows systems, I guess...) I wanted to have a backup there. So my second strategy was to use a simple toplevel with a label and update the tclvariable
2017 Aug 17
1
really dumb question with building/creating a new package.
Thank you! On Thu, Aug 17, 2017 at 4:55 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > r-package-devel is probably a better place to post this, especially if > you do not get a satisfactory reply here. This list is about R > programming, as you presumably know; your query is not. > > Cheers, > Bert > > > Bert Gunter > > "The trouble with having
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello, On Mac OS X, certain Aqua/Quartz UI functionality requires an application to be launched from within an app bundle, or (alternatively) requires a Carbon application with a resource fork. Playing with the wxWidgets distribution, I discovered that it is quite easy and transparent to make such a Carbon app from (I guess) any command line application. When applied to the R executable called
2003 Oct 22
1
Core dump when calling tclvalue (PR#4724)
Full_Name: Neil McKay Version: 1.8.0 OS: Linux (RedHat 7.1) Submission from: (NULL) (129.124.42.210) I get a core dump when executing the following code: > library("tcltk") > zzz<-tclArray() > tclvalue(zzz) Running under gdb gives this output: Program received signal SIGSEGV, Segmentation fault. makeRTclObject (tclobj=0x0) at tcltk.c:48 48
2008 Oct 27
1
ttkcombobox
Hi, all, (sessionInfo at the end) I've been struggling with the tcltk package and can't seem to get the ttkcombobox to work. Here's an example: library(tcltk) p <- tktoplevel() l <- tclVar() ## I don't know if I'm even calling it correctly cb <- ttkcombobox(p, values = letters[1:4], textvariable = l) tkpack(cb) 1. How do I know when the value of the combobox has
2019 Mar 04
1
Problem with compiling OpenBLAS to work with R
>>>>> Erin Hodgess >>>>> on Fri, 1 Mar 2019 12:30:35 -0700 writes: > Yay! I re-installed everything and got through "Make > distribution"! I have one more question, please: I am > running the make check-all. I have an error at reg-1d. > It stops the process. However, the mean difference (as > per the file) is