similar to: how i can get input from "user input"

Displaying 20 results from an estimated 10000 matches similar to: "how i can get input from "user input""

2005 Jan 25
4
more question
Hello, thank you very much for your help in last email. it is very helpful. right now, i have more questions about my project, 1. solve can i remove the NA from a vectors: for exmample, if my vector is: v <- (NA, 1, 2, 3, 4, 5) how can I remove the NA from vector v 2. how I can get input from the user? 3. can I read more than one data files in one program? and how i can write something
2005 Feb 15
2
Could anyone answer for the following question
Hello , could anyone answer for the following question for me: I am using R 2.0.1 under Windows XP. I want to write a function that makes four graphs and stores each of them in graphics history. When the function finishes, in other words, I want its graphical output to be stored in a way that I can look at it using PgUp and PgDn. I think I need commands I can put in a function that
2005 Apr 13
1
how to separate a string
hello, i wonder how is string represent in R. if i have a string s= "hello", how can i refer to first character in the string s? also if i have s1 = "hello.1", s2 = "ok.1", how can i separate the s1 into "hello" "1" and s2 into "ok" and "1"? I have tried to use the substring function, but i don't where i can get the index
2005 Jan 26
2
modular in R
hello, i wonder what command should i used in R to do the modular. right now i have a vector v <- c(3, 4, 5, 6), but i have tried v%2 or v mod 2 or mod(v, 2) or modular(v, 2), and none of these works. Also, how can i find more function command online, i have to search in the mailing list questions, but it is not enough, is that a better website i can search more about R online. Thank you
2005 Feb 11
2
table in R
Hello, I want to build some tables in my project using R, does R have some tables form that I can use? if i use the internal R table, how can initial a table before I use it? I want to my tables to have some columns, for example: (trial, x, y, goal) I want to put these columns into my tables, for i want to put data into each entry one by one. I have no idea about how big the table would be, so
2005 Apr 15
1
how can get rid of the level in the table
hello, 1. when i get a column data from a table, it always follows with the level. for exmaple if i have a table = (v1, v2), and table$v1 = (1, 2, 3); and col1 <- table$v1; then there is level assign to the table, with 1 is level1 and 2 is level2 3 is level3 ect. however, when are want to get col1[3], which is 3, by when i add the col1[3] to a list, the is actually appears as 33 instead of
2005 Jan 26
3
plot function
Hello, how can use change the plot function to change the range of axises. I want my graph from a certain range [a, b], instead of from the min to max of of datas? if i want draw a line instead of dots, should i use both plot and lines function. for example: plot(x, y); lines(x, y); things seem not working if i only use lines(x, y). Thank you so much. Cuichang Zhao Jan 25, 2005
2005 Feb 14
1
how can i make my program faster
Hello, right now, i have a program to collect data into a table. right now, my table is table1 <- data.frame(trial = NA, x = NA, y = NA) for each time when i want to add data into my data, i have to copy data of table into an array for each column, and then i add new data into my array, then i copy my array into the table one column by one column. For example temptrial <- table1$trial;
2006 Jun 22
1
High breakdown/efficiency statistics -- was RE: Rosner's test [Broadcast]
What would be nice is to have something like a "robust" task view... Andy From: Berton Gunter > > Many thanks for this Martin. There now are several packages > with what appear to be overlapping functions (or at least > algorithms). Besides those you mentioned, "robust" and > "roblm" are at least two others. Any recommendations about > how or
2005 Apr 16
2
String in data frame
hello, how can take the string in the data frame. right now i have a table that create as a data frame and stored in the file called "data.xls" and now i want to read data frame as a table in my another r program, i used the following command: the first column of the data frame is just one number called "num", but the second one a list of string, called "name". d
2005 Oct 12
1
Nonclinical Biostatistics Job Opening at Genentech in South San Francisco, CA
I hope that this job posting does not offend anyone. My sincere apologies if it is inappropriate -- blame me, not my company. -- Bert Gunter Genentech Nonclinical Statistics South San Francisco, CA Genentech has an opening for a fulltime position in its nonclinical biostatistics department, located in South San Francisco, CA. The nonclinical group currently consists of seven MS and PhD
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
2004 Apr 16
2
Windows startup menu display problem in 1.9.0 (PR#6783)
Full_Name: Brian J. Smith Version: 1.9.0 OS: WinXp Submission from: (NULL) (129.255.217.48) WinXP; R 1.9.0 running under Rgui.exe. winMenuAdd calls via my .Rprofile file do not seem to work and, instead, result in the following error message after the R GUI starts: Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd" Any subsequent calls to winMenuAdd from
2011 Sep 12
4
trouble building an rpm
i'm a newbie at building rpms. I made a few rpms years ago, but can't now make one on Centos 5. In /usr/local/rpmbuild, there are 5 subdirs: BUILD RPMS SOURCES SPECS SRPMS tmp When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp: error: File not found:
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
I had this problem too. The documentation for the winMenus says that these functions are part of the utils package. R must be loading this library after it sources in Rprofile. If you add library(utils) to the beginning of your .First function, it should take care of the problem. Brian Gregor, P.E. Transportation Planning Analysis Unit Oregon Department of Transportation Brian.J.GREGOR at
2003 Jun 03
2
winMenuAdd misbehaving?
Microsoft Windows R users, I am operating Windows 2000 (build2195) with R1.7. It may be pertinent that I am using a dual head screen with the initial RGui filing the entire area of both screens. When starting R I use the .First() function to add menu items to the RGui interface using winMenuAdd() and winMenuAddItem(). The menus do not display until the RGui window is physically manipulated in
2004 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error : Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd" I hadn't this problem with others R versions. What Can I do now to avoid that? I'm using R1.9.0 under Win98. [[alternative HTML version deleted]]
2004 May 01
1
RWinEdt, R.profile and version 1.9.0
Hi, I have just upgraded from the 1.8.1 to the 1.9.0 version of R, and have some trouble to run RWinEdt from the .Rprofile file (in the user folder). The script is: library(MASS) library(lattice) cat("Load editor?(y/n default = y): ") nf <- as.character(readLines(n = 1)) if ((nf=="y")|(nf=="Y")|(nf=="")) {library(RWinEdt)} rm(nf) When run at start,
2008 Jul 06
1
Windows Only: winMenuAdd() problem
Folks: I don't know whether the following is a Windows or R problem, nor whether it is particular to my particular Windows version/setup. So any help would be appreciated. First the problem, then the info. The following code can be cut and pasted into your R session ############################# ### start R ### create a plot on device 2 (which can be determined by dev.cur()) plot(1:10)
2006 Mar 20
1
Platform independent dialogs & menus?
Dear list mates, Are {utils} dialog box functions, and winMenuAdd... functions used to change (e.g. Console) menus, platform dependent? I'm writing a script loaded with .First that provides first time users in a lab course with the ability to select, load, and change between what I called a 'session' (more specific save that focuses on the session object I defined rather than the